niksos/hosts/default.nix
jacekpoz c0e295f97f fix: add chmura home
prep for making all hosts use home manager (if I can manage it)
2023-08-15 18:51:14 +02:00

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
];
};
}