niksos/hosts/default.nix

35 lines
750 B
Nix

{
lib,
inputs,
...
}: let
self = inputs.self;
home-manager = inputs.home-manager.nixosModules.home-manager;
home-configs = import ../homes;
in {
niks = lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {inherit lib inputs self;};
modules = [
{networking.hostName = "niks";}
./niks
]
++ [
home-manager
home-configs
];
};
chmura = lib.nixosSystem {
system = "x86_86-linux";
specialArgs = {inherit lib inputs self;};
modules = [
{networking.hostName = "chmura";}
./chmura
]
++ [
home-manager
home-configs
];
};
}