niksos/hosts/default.nix

56 lines
1.3 KiB
Nix
Raw Normal View History

{
2023-07-13 12:49:20 +02:00
lib,
inputs,
...
}: let
2023-09-08 16:10:15 +02:00
inherit (inputs) self;
in {
2023-09-09 00:05:59 +02:00
niks = lib.nixosSystem {
2023-07-13 12:49:20 +02:00
system = "x86_64-linux";
2023-09-08 16:10:15 +02:00
specialArgs = {
2023-09-14 20:51:12 +02:00
inherit lib inputs self;
2023-09-09 00:05:59 +02:00
config' = {
hostname = "niks";
username = "jacek";
};
2023-09-08 16:10:15 +02:00
};
2023-07-13 12:49:20 +02:00
modules = [
2023-09-09 00:05:59 +02:00
./niks
2023-10-13 21:04:24 +02:00
../modules
2023-09-09 00:05:59 +02:00
inputs.home-manager.nixosModules.home-manager
2023-09-13 16:56:44 +02:00
inputs.agenix.nixosModules.default
2023-07-13 12:49:20 +02:00
];
};
2023-10-03 19:22:24 +02:00
hape = lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit lib inputs self;
config' = {
hostname = "hape";
username = "jacek";
};
};
modules = [
./hape
2023-10-13 21:04:24 +02:00
../modules
2023-10-03 19:22:24 +02:00
inputs.home-manager.nixosModules.home-manager
];
};
2023-09-09 00:05:59 +02:00
chmura = lib.nixosSystem {
2023-07-13 15:11:17 +02:00
system = "x86_86-linux";
2023-09-08 16:10:15 +02:00
specialArgs = {
inherit lib inputs self;
2023-09-09 00:05:59 +02:00
config' = {
hostname = "chmura";
username = "chmura";
};
2023-09-08 16:10:15 +02:00
};
2023-07-13 15:11:17 +02:00
modules = [
2023-09-09 00:05:59 +02:00
./chmura
2023-10-13 21:04:24 +02:00
../modules
2023-09-09 00:05:59 +02:00
inputs.home-manager.nixosModules.home-manager
2023-09-13 16:56:44 +02:00
inputs.agenix.nixosModules.default
2023-07-13 15:11:17 +02:00
];
};
}