niksos/hosts/default.nix
2023-10-13 21:04:24 +02:00

55 lines
1.3 KiB
Nix

{
lib,
inputs,
...
}: let
inherit (inputs) self;
in {
niks = lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit lib inputs self;
config' = {
hostname = "niks";
username = "jacek";
};
};
modules = [
./niks
../modules
inputs.home-manager.nixosModules.home-manager
inputs.agenix.nixosModules.default
];
};
hape = lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit lib inputs self;
config' = {
hostname = "hape";
username = "jacek";
};
};
modules = [
./hape
../modules
inputs.home-manager.nixosModules.home-manager
];
};
chmura = lib.nixosSystem {
system = "x86_86-linux";
specialArgs = {
inherit lib inputs self;
config' = {
hostname = "chmura";
username = "chmura";
};
};
modules = [
./chmura
../modules
inputs.home-manager.nixosModules.home-manager
inputs.agenix.nixosModules.default
];
};
}