reflopactor (#1)
This commit is contained in:
parent
4b0c887369
commit
243a9339f0
16 changed files with 140 additions and 283 deletions
23
hosts/default.nix
Normal file
23
hosts/default.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
nixpkgs,
|
||||
self,
|
||||
outputs,
|
||||
...
|
||||
}: let
|
||||
inputs = self.inputs;
|
||||
|
||||
home-manager = inputs.home-manager.nixosModules.home-manager;
|
||||
homes = ../homes;
|
||||
in {
|
||||
nixbox = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs outputs;};
|
||||
modules = [
|
||||
# this list defines which files will be imported to be used as "modules" in the system config
|
||||
./nixbox/configuration.nix
|
||||
|
||||
# use the nixos-module for home-manager
|
||||
home-manager
|
||||
homes
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in a new issue