niksos/hosts/default.nix

36 lines
754 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
2023-08-02 15:54:19 +02:00
#]
#++ [
# home-manager
# home-configs
2023-07-13 15:11:17 +02:00
];
};
}