fix(flake): pass swayfx
This commit is contained in:
parent
6d127cf8fd
commit
c2ed931498
1 changed files with 17 additions and 4 deletions
21
flake.nix
21
flake.nix
|
@ -53,7 +53,10 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
commonHMConfig = {username}: ({
|
||||
commonHMConfig = {
|
||||
username,
|
||||
machine,
|
||||
}: ({
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
|
@ -70,6 +73,7 @@
|
|||
if pkgs.stdenv.isDarwin
|
||||
then "/Users/${username}/.config/nixpkgs"
|
||||
else "/home/${username}/.config/nixpkgs";
|
||||
inherit machine swayfx;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -83,7 +87,10 @@
|
|||
home-manager.nixosModules.home-manager
|
||||
./machines/common
|
||||
./machines/futomaki
|
||||
(commonHMConfig {username = "winston";})
|
||||
(commonHMConfig {
|
||||
username = "winston";
|
||||
machine.personal = true;
|
||||
})
|
||||
];
|
||||
};
|
||||
"bento" = nixpkgs.lib.nixosSystem rec {
|
||||
|
@ -92,7 +99,10 @@
|
|||
home-manager.nixosModules.home-manager
|
||||
./machines/common
|
||||
./machines/bento
|
||||
(commonHMConfig {username = "w";})
|
||||
(commonHMConfig {
|
||||
username = "w";
|
||||
machine.personal = false;
|
||||
})
|
||||
];
|
||||
};
|
||||
};
|
||||
|
@ -103,7 +113,10 @@
|
|||
home-manager.darwinModules.home-manager
|
||||
./machines/common
|
||||
./machines/sashimi
|
||||
(commonHMConfig {username = "winston";})
|
||||
(commonHMConfig {
|
||||
username = "winston";
|
||||
machine.personal = true;
|
||||
})
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue