doom-emacs-config.enable

Whether to enable Doom Emacs.

type

boolean

example

{
  doom-emacs-config.enable = true;
}

default

{
  doom-emacs-config.enable = false;
}

doom-emacs-config.doomd

location of the doom.d directory

type

path

example

{
  doom-emacs-config.doomd = "${builtins.getEnv "HOME"}/doom.d";
}

default

{
  doom-emacs-config.doomd = "/nix/store/87bwrcgh3w79vbwzk6lc391p4z8qiwwd-nix-doom-emacs-src/test/doom.d";
}

environment.persistence

Persistent storage locations and the files and directories to link to them. Each attribute name should be the full path to a persistent storage location.

For detailed usage, check the documentation.

type

attribute set of submodule

default

{
  environment.persistence = {};
}

environment.persistence.<name>.directories

Directories to bind mount to persistent storage.

type

list of string

example

{
  environment.persistence.<name>.directories = [
    "/var/log"
    "/var/lib/bluetooth"
    "/var/lib/systemd/coredump"
    "/etc/NetworkManager/system-connections"
  ];
}

default

{
  environment.persistence.<name>.directories = [];
}

environment.persistence.<name>.files

Files in /etc that should be stored in persistent storage.

type

list of string

example

{
  environment.persistence.<name>.files = [
    "/etc/machine-id"
    "/etc/nix/id_rsa"
  ];
}

default

{
  environment.persistence.<name>.files = [];
}

fetchBackground.enable

whether to enable fetching a background from the fetch

type

boolean

default

{
  fetchBackground.enable = false;
}

fetchBackground.url

url to fetch background from

type

string

default

{
  fetchBackground.url = "https://source.unsplash.com/random";
}

home-manager.backupFileExtension

On activation move existing files by appending the given file extension rather than exiting with an error.

type

null or string

example

{
  home-manager.backupFileExtension = "backup";
}

default

{
  home-manager.backupFileExtension = null;
}

home-manager.extraSpecialArgs

Extra specialArgs passed to Home Manager. This option can be used to pass additional arguments to all modules.

type

attribute set

example

{
  home-manager.extraSpecialArgs = {
    _type = "literalExpression";
    text = "{ inherit emacs-overlay; }";
  };
}

default

{
  home-manager.extraSpecialArgs = {};
}

home-manager.sharedModules

Extra modules added to all users.

type

list of Home Manager modules

example

{
  home-manager.sharedModules = {
    _type = "literalExpression";
    text = "[ { home.packages = [ nixpkgs-fmt ]; } ]";
  };
}

default

{
  home-manager.sharedModules = [];
}

home-manager.useGlobalPkgs

Whether to enable using the system configuration's pkgs argument in Home Manager. This disables the Home Manager options .

type

boolean

example

{
  home-manager.useGlobalPkgs = true;
}

default

{
  home-manager.useGlobalPkgs = false;
}

home-manager.useUserPackages

Whether to enable installation of user packages through the

option. .

type

boolean

example

{
  home-manager.useUserPackages = true;
}

default

{
  home-manager.useUserPackages = false;
}

home-manager.verbose

Whether to enable verbose output on activation.

type

boolean

example

{
  home-manager.verbose = true;
}

default

{
  home-manager.verbose = false;
}

homeBinds

Bind mounts in your home folder

type

list of string

default

{
  homeBinds = [];
}

mainUser

Name for the default user of the system

type

string

default

{
  mainUser = "erik";
}

nixExperimental.enable

Whether to enable whether to set up the experimental version of nix.

type

boolean

example

{
  nixExperimental.enable = true;
}

default

{
  nixExperimental.enable = false;
}

persistRoot

type

string

default

{
  persistRoot = "/nix/persist";
}

privateConfig.enable

Whether to enable Enable the private home-manager configuration.

type

boolean

example

{
  privateConfig.enable = true;
}

default

{
  privateConfig.enable = false;
}

tmpfs-setup.enable

this option will enable an impermanence implementation if enabled. don't touch otherwise

type

boolean

default

{
  tmpfs-setup.enable = false;
}