split up flake
This commit is contained in:
parent
61b5314f2a
commit
c9902751ca
8 changed files with 89 additions and 60 deletions
18
flake.nix
18
flake.nix
|
|
@ -27,23 +27,9 @@
|
|||
wrappers.flakeModules.wrappers
|
||||
./modules/theme.nix
|
||||
./modules/programs/emacs/emacs.nix
|
||||
./hosts.nix
|
||||
];
|
||||
flake.nixosConfigurations.nerv = inputs.nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
base16.nixosModule
|
||||
{ scheme = "${inputs.tt-schemes}/base16/oxocarbon-dark.yaml"; }
|
||||
./modules/hosts/nerv/configuration.nix
|
||||
config.flake.wrappers.emacs.install
|
||||
{ wrappers.emacs.enable = true; }
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||
home-manager.users.lucy = ./modules/home.nix;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue