mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-12-30 11:04:19 +00:00
Add configs for other cluster hosts
This commit is contained in:
56
flake.nix
56
flake.nix
@@ -27,6 +27,62 @@
|
||||
inputs.home-manager.nixosModules.default
|
||||
];
|
||||
};
|
||||
nixosConfigurations.cap-clust-02 = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./hosts/cap-clust-02/configuration.nix
|
||||
inputs.home-manager.nixosModules.default
|
||||
];
|
||||
};
|
||||
nixosConfigurations.cap-clust-03 = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./hosts/cap-clust-03/configuration.nix
|
||||
inputs.home-manager.nixosModules.default
|
||||
];
|
||||
};
|
||||
nixosConfigurations.cap-clust-04 = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./hosts/cap-clust-04/configuration.nix
|
||||
inputs.home-manager.nixosModules.default
|
||||
];
|
||||
};
|
||||
nixosConfigurations.cap-clust-05 = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./hosts/cap-clust-05/configuration.nix
|
||||
inputs.home-manager.nixosModules.default
|
||||
];
|
||||
};
|
||||
nixosConfigurations.cap-clust-06 = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./hosts/cap-clust-06/configuration.nix
|
||||
inputs.home-manager.nixosModules.default
|
||||
];
|
||||
};
|
||||
nixosConfigurations.cap-clust-07 = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./hosts/cap-clust-07/configuration.nix
|
||||
inputs.home-manager.nixosModules.default
|
||||
];
|
||||
};
|
||||
nixosConfigurations.cap-clust-08 = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./hosts/cap-clust-08/configuration.nix
|
||||
inputs.home-manager.nixosModules.default
|
||||
];
|
||||
};
|
||||
nixosConfigurations.cap-clust-09 = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./hosts/cap-clust-09/configuration.nix
|
||||
inputs.home-manager.nixosModules.default
|
||||
];
|
||||
};
|
||||
|
||||
nixosConfigurations.cap-slim7 = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
|
||||
12
hosts/cap-clust-02/configuration.nix
Normal file
12
hosts/cap-clust-02/configuration.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
# Hardware Scan
|
||||
./hardware-configuration.nix
|
||||
|
||||
# Host Groups
|
||||
../../modules/host-groups/cluster.nix
|
||||
];
|
||||
|
||||
networking.hostName = "cap-clust-02";
|
||||
}
|
||||
12
hosts/cap-clust-03/configuration.nix
Normal file
12
hosts/cap-clust-03/configuration.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
# Hardware Scan
|
||||
./hardware-configuration.nix
|
||||
|
||||
# Host Groups
|
||||
../../modules/host-groups/cluster.nix
|
||||
];
|
||||
|
||||
networking.hostName = "cap-clust-03";
|
||||
}
|
||||
12
hosts/cap-clust-04/configuration.nix
Normal file
12
hosts/cap-clust-04/configuration.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
# Hardware Scan
|
||||
./hardware-configuration.nix
|
||||
|
||||
# Host Groups
|
||||
../../modules/host-groups/cluster.nix
|
||||
];
|
||||
|
||||
networking.hostName = "cap-clust-04";
|
||||
}
|
||||
12
hosts/cap-clust-05/configuration.nix
Normal file
12
hosts/cap-clust-05/configuration.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
# Hardware Scan
|
||||
./hardware-configuration.nix
|
||||
|
||||
# Host Groups
|
||||
../../modules/host-groups/cluster.nix
|
||||
];
|
||||
|
||||
networking.hostName = "cap-clust-05";
|
||||
}
|
||||
12
hosts/cap-clust-06/configuration.nix
Normal file
12
hosts/cap-clust-06/configuration.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
# Hardware Scan
|
||||
./hardware-configuration.nix
|
||||
|
||||
# Host Groups
|
||||
../../modules/host-groups/cluster.nix
|
||||
];
|
||||
|
||||
networking.hostName = "cap-clust-06";
|
||||
}
|
||||
12
hosts/cap-clust-07/configuration.nix
Normal file
12
hosts/cap-clust-07/configuration.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
# Hardware Scan
|
||||
./hardware-configuration.nix
|
||||
|
||||
# Host Groups
|
||||
../../modules/host-groups/cluster.nix
|
||||
];
|
||||
|
||||
networking.hostName = "cap-clust-07";
|
||||
}
|
||||
12
hosts/cap-clust-08/configuration.nix
Normal file
12
hosts/cap-clust-08/configuration.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
# Hardware Scan
|
||||
./hardware-configuration.nix
|
||||
|
||||
# Host Groups
|
||||
../../modules/host-groups/cluster.nix
|
||||
];
|
||||
|
||||
networking.hostName = "cap-clust-08";
|
||||
}
|
||||
@@ -30,12 +30,12 @@
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/affec1c2-bf7c-499e-80a6-6615fd163e1a";
|
||||
device = "/dev/disk/by-uuid/30b3183d-8358-46aa-b565-70c7d30af7c7";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/9E1A-C3DA";
|
||||
device = "/dev/disk/by-uuid/BA04-7969";
|
||||
fsType = "vfat";
|
||||
options = [
|
||||
"fmask=0077"
|
||||
@@ -44,7 +44,7 @@
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{ device = "/dev/disk/by-uuid/a17f3a16-78fb-494d-8319-89e31e1defae"; }
|
||||
{ device = "/dev/disk/by-uuid/42aeb402-5b5a-4423-b2a5-2c08935c9f57"; }
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
12
hosts/cap-clust-09/configuration.nix
Normal file
12
hosts/cap-clust-09/configuration.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
# Hardware Scan
|
||||
./hardware-configuration.nix
|
||||
|
||||
# Host Groups
|
||||
../../modules/host-groups/cluster.nix
|
||||
];
|
||||
|
||||
networking.hostName = "cap-clust-09";
|
||||
}
|
||||
@@ -30,12 +30,12 @@
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/30b3183d-8358-46aa-b565-70c7d30af7c7";
|
||||
device = "/dev/disk/by-uuid/affec1c2-bf7c-499e-80a6-6615fd163e1a";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/BA04-7969";
|
||||
device = "/dev/disk/by-uuid/9E1A-C3DA";
|
||||
fsType = "vfat";
|
||||
options = [
|
||||
"fmask=0077"
|
||||
@@ -44,7 +44,7 @@
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{ device = "/dev/disk/by-uuid/42aeb402-5b5a-4423-b2a5-2c08935c9f57"; }
|
||||
{ device = "/dev/disk/by-uuid/a17f3a16-78fb-494d-8319-89e31e1defae"; }
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
|
||||
Reference in New Issue
Block a user