forked from poz/niksos
27 lines
588 B
Nix
27 lines
588 B
Nix
|
{
|
||
|
lib,
|
||
|
inputs,
|
||
|
...
|
||
|
}: let
|
||
|
self = inputs.self;
|
||
|
|
||
|
home-manager = inputs.home-manager.nixosModules.home-manager;
|
||
|
home-configs = import ../homes;
|
||
|
in {
|
||
|
niksos = lib.nixosSystem {
|
||
|
system = "x86_64-linux";
|
||
|
specialArgs = {inherit lib inputs self;};
|
||
|
modules =
|
||
|
[
|
||
|
{networking.hostName = "niksos";}
|
||
|
./niksos
|
||
|
]
|
||
|
++ [
|
||
|
# this concatenates to lists
|
||
|
# this list includes an alias for the home-manager module, and another for the global home-manager configuration directory
|
||
|
home-manager
|
||
|
home-configs
|
||
|
];
|
||
|
};
|
||
|
}
|