File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change 12
12
systems . url = "github:nix-systems/default" ;
13
13
} ;
14
14
15
- outputs =
16
- inputs @ { self
17
- , nixpkgs
18
- , home-manager
19
- , flake-parts
20
- , nixos-flake
21
- , systems
22
- , ...
23
- } :
15
+ outputs = inputs :
24
16
inputs . flake-parts . lib . mkFlake { inherit inputs ; } {
25
17
# systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
26
- systems = import systems ;
18
+ systems = import inputs . systems ;
27
19
imports = [
28
20
inputs . nixos-flake . flakeModule
29
21
# Edit the contenst of the ./home directory to install packages and modify dotfile configuration in your
50
42
in
51
43
{
52
44
legacyPackages . homeConfigurations . ${ myUserName } =
53
- self . nixos-flake . lib . mkHomeConfiguration
45
+ inputs . self . nixos-flake . lib . mkHomeConfiguration
54
46
pkgs
55
47
( { pkgs , ... } : {
56
- imports = [ self . homeModules . default ] ;
48
+ imports = [ inputs . self . homeModules . default ] ;
57
49
home . username = myUserName ;
58
50
home . homeDirectory = "/${ if pkgs . stdenv . isDarwin then "Users" else "home" } /${ myUserName } " ;
59
51
home . stateVersion = "22.11" ;
You can’t perform that action at this time.
0 commit comments