fix(flake): pass swayfx

This commit is contained in:
winston 2023-04-08 13:03:00 +02:00
parent 6d127cf8fd
commit c2ed931498
Signed by: winston
GPG key ID: 3786770EDBC2B481

View file

@ -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;
})
]; ];
}; };
}; };