feat: migrate to Stylix (WIP)
This commit is contained in:
@ -2,6 +2,8 @@
|
||||
|
||||
let
|
||||
inherit (self) inputs;
|
||||
|
||||
lib = inputs.nixpkgs.lib;
|
||||
homeDir = self + /profiles;
|
||||
|
||||
mkSystem =
|
||||
@ -10,24 +12,16 @@ let
|
||||
hostname,
|
||||
useHomeManager ? true,
|
||||
modules ? [ ],
|
||||
}:
|
||||
inputs.nixpkgs.lib.nixosSystem {
|
||||
}: lib.nixosSystem {
|
||||
specialArgs = { inherit inputs; };
|
||||
modules =
|
||||
[
|
||||
./base-configuration.nix
|
||||
./${hostname}
|
||||
homeDir
|
||||
]
|
||||
++ (
|
||||
if useHomeManager then
|
||||
[
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
]
|
||||
else
|
||||
[ ]
|
||||
)
|
||||
++ modules;
|
||||
]
|
||||
++ lib.lists.optionals useHomeManager [ inputs.home-manager.nixosModules.default ]
|
||||
++ modules;
|
||||
};
|
||||
in
|
||||
{
|
||||
|
Reference in New Issue
Block a user