niksos/hosts/default.nix

32 lines
677 B
Nix
Raw Normal View History

{
2023-07-13 12:49:20 +02:00
lib,
inputs,
...
}: let
2023-07-13 12:49:20 +02:00
self = inputs.self;
2023-07-13 12:49:20 +02:00
home-manager = inputs.home-manager.nixosModules.home-manager;
home-configs = import ../homes;
in {
2023-07-13 16:44:07 +02:00
niks = lib.nixosSystem {
2023-07-13 12:49:20 +02:00
system = "x86_64-linux";
specialArgs = {inherit lib inputs self;};
modules = [
2023-07-13 16:44:07 +02:00
{networking.hostName = "niks";}
./niks
2023-07-13 12:49:20 +02:00
]
++ [
home-manager
home-configs
];
};
2023-07-13 15:11:17 +02:00
chmura = lib.nixosSystem {
system = "x86_86-linux";
specialArgs = {inherit lib inputs self;};
modules = [
2023-07-13 16:44:07 +02:00
{networking.hostName = "chmura";}
2023-07-13 15:11:17 +02:00
./chmura
];
};
}