niksos/hosts/default.nix

72 lines
1.7 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
];
};
2024-02-19 17:06:47 +01:00
del = lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit lib inputs self;
config' = {
hostname = "del";
username = "jacek";
};
};
modules = [
./del
../modules
inputs.home-manager.nixosModules.home-manager
inputs.agenix.nixosModules.default
];
};
2023-11-25 17:12:09 +01:00
#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
# ];
#};
2023-09-09 00:05:59 +02:00
chmura = lib.nixosSystem {
system = "x86_64-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
];
};
}