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,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
|
@ -70,6 +73,7 @@
|
||||||
if pkgs.stdenv.isDarwin
|
if pkgs.stdenv.isDarwin
|
||||||
then "/Users/${username}/.config/nixpkgs"
|
then "/Users/${username}/.config/nixpkgs"
|
||||||
else "/home/${username}/.config/nixpkgs";
|
else "/home/${username}/.config/nixpkgs";
|
||||||
|
inherit machine swayfx;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -83,7 +87,10 @@
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
./machines/common
|
./machines/common
|
||||||
./machines/futomaki
|
./machines/futomaki
|
||||||
(commonHMConfig {username = "winston";})
|
(commonHMConfig {
|
||||||
|
username = "winston";
|
||||||
|
machine.personal = true;
|
||||||
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
"bento" = nixpkgs.lib.nixosSystem rec {
|
"bento" = nixpkgs.lib.nixosSystem rec {
|
||||||
|
@ -92,7 +99,10 @@
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
./machines/common
|
./machines/common
|
||||||
./machines/bento
|
./machines/bento
|
||||||
(commonHMConfig {username = "w";})
|
(commonHMConfig {
|
||||||
|
username = "w";
|
||||||
|
machine.personal = false;
|
||||||
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -103,7 +113,10 @@
|
||||||
home-manager.darwinModules.home-manager
|
home-manager.darwinModules.home-manager
|
||||||
./machines/common
|
./machines/common
|
||||||
./machines/sashimi
|
./machines/sashimi
|
||||||
(commonHMConfig {username = "winston";})
|
(commonHMConfig {
|
||||||
|
username = "winston";
|
||||||
|
machine.personal = true;
|
||||||
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue