tangled
alpha
login
or
join now
nel.pet
/
cyclamen
4
fork
atom
NixOS and Home Manager config
4
fork
atom
overview
issues
pulls
pipelines
refactor: move home config entrypoint into seperate directory
nel.pet
7 months ago
7e7e072e
e0f03ce3
verified
This commit was signed with the committer's
known signature
.
nel.pet
SSH Key Fingerprint:
SHA256:Zd+mWw4EweOfjYKNMYyVtMSN7oj+SBabmubG4RThVEI=
+15
-8
3 changed files
expand all
collapse all
unified
split
flake.nix
homes
nel
default.nix
modules
home
default.nix
+1
-1
flake.nix
···
20
20
homeConfigurations."nel" = home-manager.lib.homeManagerConfiguration {
21
21
inherit pkgs;
22
22
extraSpecialArgs = { inherit inputs; };
23
23
-
modules = [(import ./modules/home)];
23
23
+
modules = [(import ./homes/nel/default.nix)];
24
24
};
25
25
26
26
nixosConfigurations."nel-desktop" = nixpkgs.lib.nixosSystem {
+14
homes/nel/default.nix
···
1
1
+
{...}: let
2
2
+
modulesDir = ../../modules/home;
3
3
+
in {
4
4
+
imports = [
5
5
+
modulesDir
6
6
+
];
7
7
+
8
8
+
home.username = "nel";
9
9
+
home.homeDirectory = "/home/nel";
10
10
+
home.stateVersion = "24.11";
11
11
+
programs.home-manager.enable = true;
12
12
+
home.preferXdgDirectories = true;
13
13
+
nixpkgs.config.allowUnfree = true;
14
14
+
}
-7
modules/home/default.nix
···
12
12
./envvars.nix
13
13
./misc.nix
14
14
];
15
15
-
16
16
-
home.username = "nel";
17
17
-
home.homeDirectory = "/home/nel";
18
18
-
home.stateVersion = "24.11";
19
19
-
programs.home-manager.enable = true;
20
20
-
home.preferXdgDirectories = true;
21
21
-
nixpkgs.config.allowUnfree = true;
22
15
}