Compare commits
8 Commits
a3db001870
...
9b04ebedde
Author | SHA1 | Date |
---|---|---|
Ehmry - | 9b04ebedde | |
Ehmry - | c66946030e | |
Ehmry - | 449a8175f3 | |
Ehmry - | 5238abc7a7 | |
Ehmry - | 59a85a3f3d | |
Ehmry - | 91078207fb | |
Ehmry - | f55081d081 | |
Ehmry - | 7e01c98da2 |
65
flake.lock
65
flake.lock
|
@ -1,39 +1,33 @@
|
||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"hydra": {
|
"hydra": {
|
||||||
"info": {
|
|
||||||
"lastModified": 1587883324,
|
|
||||||
"narHash": "sha256-WQxv9rrG2HX8j2UfXjifeBkMjgea3uIAEB3Swv+IIus="
|
|
||||||
},
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nix": "nix",
|
"nix": "nix",
|
||||||
"nixpkgs": "nixpkgs_2"
|
"nixpkgs": "nixpkgs_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"owner": "ehmry",
|
"lastModified": 1593509723,
|
||||||
|
"narHash": "sha256-ESv86LNnQQy5cYqeC1S4otpvkA8ABgs/zbge8xp35aE=",
|
||||||
|
"owner": "NixOS",
|
||||||
"repo": "hydra",
|
"repo": "hydra",
|
||||||
"rev": "e93c36aab1bf96cf392ab0e40157b0620638b599",
|
"rev": "d0deebc4fc95dbeb0249f7b774b03d366596fbed",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "ehmry",
|
"id": "hydra",
|
||||||
"ref": "sotest",
|
"type": "indirect"
|
||||||
"repo": "hydra",
|
|
||||||
"type": "github"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nix": {
|
"nix": {
|
||||||
"info": {
|
|
||||||
"lastModified": 1586440843,
|
|
||||||
"narHash": "sha256-7YxrpRPmAOoCSl6KtepKCXcae5MUm1Pl+lwDunBFGoo="
|
|
||||||
},
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
|
"lastModified": 1592818267,
|
||||||
|
"narHash": "sha256-t66Ny6NDA9sQa0U79iqo4w7tEBitUGgio9U/H6z3QpE=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nix",
|
"repo": "nix",
|
||||||
"rev": "3aaceeb7e2d3fb8a07a1aa5a21df1dca6bbaa0ef",
|
"rev": "334e26bfc2ce82912602e8a0f9f9c7e0fb5c3221",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -42,14 +36,12 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"info": {
|
|
||||||
"lastModified": 1585405475,
|
|
||||||
"narHash": "sha256-bESW0n4KgPmZ0luxvwJ+UyATrC6iIltVCsGdLiphVeE="
|
|
||||||
},
|
|
||||||
"locked": {
|
"locked": {
|
||||||
|
"lastModified": 1591633336,
|
||||||
|
"narHash": "sha256-oVXv4xAnDJB03LvZGbC72vSVlIbbJr8tpjEW5o/Fdek=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "b88ff468e9850410070d4e0ccd68c7011f15b2be",
|
"rev": "70717a337f7ae4e486ba71a500367cad697e5f09",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -59,14 +51,12 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"info": {
|
|
||||||
"lastModified": 1586219474,
|
|
||||||
"narHash": "sha256-fvfrMnEA2lDnXvH/eInGV5i0sO/EGLVHa4pOek8VG78="
|
|
||||||
},
|
|
||||||
"locked": {
|
"locked": {
|
||||||
|
"lastModified": 1592263354,
|
||||||
|
"narHash": "sha256-1wHPn5qKfzfG06dZhpXDEg5Zt6HwvfyPPgW1tkYFejg=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "29eddfc36d720dcc4822581175217543b387b1e8",
|
"rev": "a84b797b28eb104db758b5cb2b61ba8face6744b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -75,31 +65,16 @@
|
||||||
"type": "indirect"
|
"type": "indirect"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
|
||||||
"info": {
|
|
||||||
"lastModified": 1586724123,
|
|
||||||
"narHash": "sha256-VQ7zZy2xpz6dULpjar4jxNaQ0N/2q68l+EYO2nXaXDo="
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"owner": "nixos",
|
|
||||||
"repo": "nixpkgs-channels",
|
|
||||||
"rev": "708cb6b307b04ad862cc50de792e57e7a4a8bb5a",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nixos",
|
|
||||||
"ref": "nixos-20.03",
|
|
||||||
"repo": "nixpkgs-channels",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"hydra": "hydra",
|
"hydra": "hydra",
|
||||||
"nixpkgs": "nixpkgs_3"
|
"nixpkgs": [
|
||||||
|
"hydra",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
"version": 5
|
"version": 7
|
||||||
}
|
}
|
||||||
|
|
24
flake.nix
24
flake.nix
|
@ -1,27 +1,21 @@
|
||||||
{
|
{
|
||||||
description = "C3D2 NixOS configurations";
|
description = "C3D2 NixOS configurations";
|
||||||
|
|
||||||
edition = 201909;
|
inputs = {
|
||||||
|
nixpkgs.follows = "hydra/nixpkgs";
|
||||||
inputs.nixpkgs.url = "github:nixos/nixpkgs-channels/nixos-20.03";
|
# nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
inputs.hydra.url = "github:ehmry/hydra/sotest";
|
# secrets.url = "git+file:///etc/nixos/secrets";
|
||||||
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, hydra }: {
|
outputs = { self, nixpkgs, hydra }: {
|
||||||
|
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
|
|
||||||
server7 = nixpkgs.lib.nixosSystem {
|
server7 = nixpkgs.lib.nixosSystem {
|
||||||
modules = [ ./hosts/server7 hydra.nixosModules.hydra ];
|
modules = [
|
||||||
system = "x86_64-linux";
|
./hosts/server7
|
||||||
};
|
hydra.nixosModules.hydra
|
||||||
|
];
|
||||||
hydra = nixpkgs.lib.nixosSystem {
|
|
||||||
modules = [ ./hosts/hydra/configuration.nix ];
|
|
||||||
system = "x86_64-linux";
|
|
||||||
};
|
|
||||||
|
|
||||||
pulsebert = nixpkgs.lib.nixosSystem {
|
|
||||||
modules = [ ./hosts/pulsebert/configuration.nix ];
|
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ rec {
|
||||||
ledstripes = {};
|
ledstripes = {};
|
||||||
|
|
||||||
glotzbert.publicKey =
|
glotzbert.publicKey =
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHPrkD07abpTU/66fEjmiMYsUfJCSF62MVFe8BED7wu4";
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAnEWn/8CKIiCtehh6Ha3XUQqjODj0ygyo3aGAsFWgfG";
|
||||||
|
|
||||||
hydra.publicKey =
|
hydra.publicKey =
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDhurL/sxsXRglKdLfiWIcK+iqpyhGrGt/MoBODsgvig";
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDhurL/sxsXRglKdLfiWIcK+iqpyhGrGt/MoBODsgvig";
|
||||||
|
|
|
@ -13,8 +13,10 @@ in {
|
||||||
./nix-serve.nix
|
./nix-serve.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||||
|
|
||||||
security.acme = {
|
security.acme = {
|
||||||
email = " mail@c3d2.de";
|
email = "mail@c3d2.de";
|
||||||
acceptTerms = true;
|
acceptTerms = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -32,7 +34,8 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/srv/ceph" = {
|
fileSystems."/srv/ceph" = {
|
||||||
device = "172.22.99.13:6789:/";
|
#device = "172.22.99.13:6789:/";
|
||||||
|
device = "172.20.72.53:6789:/";
|
||||||
fsType = "ceph";
|
fsType = "ceph";
|
||||||
options = [
|
options = [
|
||||||
"name=storage2"
|
"name=storage2"
|
||||||
|
@ -45,20 +48,39 @@ in {
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/var/lib/ceph/osd/ceph-7" = { fsType = "tmpfs"; };
|
||||||
|
|
||||||
# Route IPv6
|
# Route IPv6
|
||||||
boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = 1;
|
boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = 1;
|
||||||
# Obtain global IPv6 despite being a router myself
|
# Obtain global IPv6 despite being a router myself
|
||||||
boot.kernel.sysctl."net.ipv6.conf.eth0.accept_ra" = 2;
|
boot.kernel.sysctl."net.ipv6.conf.br0.accept_ra" = 2;
|
||||||
|
|
||||||
services.yggdrasil = {
|
services.yggdrasil = {
|
||||||
enable = true;
|
enable = true;
|
||||||
configFile = "/var/lib/yggdrasil/keys";
|
configFile = "/var/lib/yggdrasil/keys";
|
||||||
config = {
|
config = {
|
||||||
Peers = [
|
Peers = [
|
||||||
"tcp://[2a03:3b40:fe:ab::1]:46370" # Praha
|
|
||||||
"tcp://ygg.thingylabs.io:443" # Nürnberg
|
# Deutschland
|
||||||
"tcp://176.223.130.120:22632" # Wrocław
|
"tcp://45.11.19.26:5001"
|
||||||
"tcp://[2a05:9403::8b]:7743" # Praha
|
"tcp://82.165.69.111:61216"
|
||||||
|
"tcp://[2001:8d8:1800:8224::1]:61216"
|
||||||
|
|
||||||
|
# Czechia
|
||||||
|
"tcp://195.123.245.146:7743"
|
||||||
|
"tcp://37.205.14.171:46370"
|
||||||
|
"tcp://[2a03:3b40:fe:ab::1]:46370"
|
||||||
|
"tcp://[2a05:9403::8b]:7743"
|
||||||
|
|
||||||
|
# Poland
|
||||||
|
"tcp://176.223.130.120:22632"
|
||||||
|
"tcp://51.75.44.73:50001"
|
||||||
|
"tcp://54.37.137.221:37145"
|
||||||
|
"tcp://[2001:41d0:601:1100::cf2]:37145"
|
||||||
|
"tcp://n2o.ddns.net:22632"
|
||||||
|
"tls://54.37.137.221:14987"
|
||||||
|
"tls://[2001:41d0:601:1100::cf2]:14987"
|
||||||
|
|
||||||
];
|
];
|
||||||
NodeInfo = {
|
NodeInfo = {
|
||||||
location = "Dresden";
|
location = "Dresden";
|
||||||
|
@ -100,6 +122,22 @@ in {
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
|
|
||||||
|
docker-containers.ceph-osd-7 = {
|
||||||
|
cmd = [ "ceph-osd" "-i" "7" "--setuser" "ceph" "--setgroup" "ceph" "-d" ];
|
||||||
|
environment = { OSD_DEVICE = "/dev/sdb"; };
|
||||||
|
image = "ceph/ceph:v14.2.9";
|
||||||
|
log-driver = "journald";
|
||||||
|
extraDockerOptions =
|
||||||
|
[ "--rm" "--net=host" "--ipc=host" "--privileged=true" ];
|
||||||
|
volumes =
|
||||||
|
[ "/dev:/dev" "/etc/ceph:/etc/ceph" "/var/lib/ceph/:/var/lib/ceph" ];
|
||||||
|
};
|
||||||
|
systemd.services.docker-ceph-osd-7.serviceConfig = {
|
||||||
|
ExecStartPre = [
|
||||||
|
"-${pkgs.docker}/bin/docker run --rm --net=host --ipc=host --privileged=true -v /dev:/dev -v /etc/ceph:/etc/ceph -v /var/lib/ceph/:/var/lib/ceph -e OSD_DEVICE=/dev/sdb -it ceph/ceph:v14.2.9 ceph-volume lvm activate --all"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
firewall.enable = false;
|
firewall.enable = false;
|
||||||
firewall.trustedInterfaces = [ "br0" ];
|
firewall.trustedInterfaces = [ "br0" ];
|
||||||
|
@ -167,4 +205,10 @@ in {
|
||||||
# allow the old hydra to build here
|
# allow the old hydra to build here
|
||||||
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7HuDlyTlPC4rCjwhklY8kiYIxdgPhiu6wxs29ksnpKZmJa2R7qoD02N3ACm9cTb1GVkIWukAXI3KvU9h08+WLQJqUH0cHVBj3V1sDYmkN2QecE59gz3e1gfN3zPtwmQEUe6xvHWK3X3qdH45pGPUtxk1eDTZl45037C0NClWF7RXI4m6UXng4bL9wnPvoVqCI+ySsNWaTkHDLE/D9s/VrqGxJ1w2KiJb1F73g9/x/zjL8Ixb16wkPmLE0e50MQAQa7EMFTyPZoEskFnEviLYXM9pDexABAjJfbfZ39lLyMgVYGwnzEDbjDlm68dE6wQWUY1OV6wbt8uYreB2IRrlb root@hydra"
|
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7HuDlyTlPC4rCjwhklY8kiYIxdgPhiu6wxs29ksnpKZmJa2R7qoD02N3ACm9cTb1GVkIWukAXI3KvU9h08+WLQJqUH0cHVBj3V1sDYmkN2QecE59gz3e1gfN3zPtwmQEUe6xvHWK3X3qdH45pGPUtxk1eDTZl45037C0NClWF7RXI4m6UXng4bL9wnPvoVqCI+ySsNWaTkHDLE/D9s/VrqGxJ1w2KiJb1F73g9/x/zjL8Ixb16wkPmLE0e50MQAQa7EMFTyPZoEskFnEviLYXM9pDexABAjJfbfZ39lLyMgVYGwnzEDbjDlm68dE6wQWUY1OV6wbt8uYreB2IRrlb root@hydra"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.dhcpd4 = {
|
||||||
|
enable = false;
|
||||||
|
interfaces = [ "br0" ];
|
||||||
|
extraConfig = "not authoritative;";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,70 +1,59 @@
|
||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# imports = [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> ];
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules =
|
boot.initrd.availableKernelModules =
|
||||||
[ "ehci_pci" "ahci" "nvme" "usbhid" "sd_mod" ];
|
[ "ehci_pci" "ahci" "nvme" "usbhid" "sd_mod" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
boot.supportedFilesystems = [ "zfs" ];
|
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "/dev/disk/by-uuid/f14628ce-0f13-4544-9197-0ddda291f48f";
|
device = "/dev/disk/by-uuid/f14628ce-0f13-4544-9197-0ddda291f48f";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/var/lib/ceph/osd/ceph-7" = {
|
||||||
|
device = "tmpfs";
|
||||||
|
fsType = "tmpfs";
|
||||||
|
};
|
||||||
|
|
||||||
fileSystems."/boot" = {
|
fileSystems."/boot" = {
|
||||||
device = "/dev/disk/by-uuid/9812-00B2";
|
device = "/dev/disk/by-uuid/9812-00B2";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/zones/9c31e6c7-97ee-e757-b5e8-d4f07a25bdc3/cores" = {
|
|
||||||
device = "nvme0n1/cores/9c31e6c7-97ee-e757-b5e8-d4f07a25bdc3";
|
|
||||||
fsType = "zfs";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/nvme0n1" = {
|
fileSystems."/nvme0n1" = {
|
||||||
device = "nvme0n1";
|
device = "nvme0n1";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/zones/9f467f1e-000b-e771-e117-b32261e48220/cores" = {
|
|
||||||
device = "nvme0n1/cores/9f467f1e-000b-e771-e117-b32261e48220";
|
|
||||||
fsType = "zfs";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/zones/archive" = {
|
|
||||||
device = "nvme0n1/archive";
|
|
||||||
fsType = "zfs";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/zones/9a9880d3-82db-c500-fcaa-d4e5a5cc617d/cores" = {
|
|
||||||
device = "nvme0n1/cores/9a9880d3-82db-c500-fcaa-d4e5a5cc617d";
|
|
||||||
fsType = "zfs";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/zones/eec98403-5f4f-cadf-f4ff-aa9a99b4cdb5/cores" = {
|
|
||||||
device = "nvme0n1/cores/eec98403-5f4f-cadf-f4ff-aa9a99b4cdb5";
|
|
||||||
fsType = "zfs";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/zones/global/cores" = {
|
|
||||||
device = "nvme0n1/cores/global";
|
|
||||||
fsType = "zfs";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/zones/b090f14b-0a60-4451-e82a-c5291e5951de/cores" = {
|
fileSystems."/zones/b090f14b-0a60-4451-e82a-c5291e5951de/cores" = {
|
||||||
device = "nvme0n1/cores/b090f14b-0a60-4451-e82a-c5291e5951de";
|
device = "nvme0n1/cores/b090f14b-0a60-4451-e82a-c5291e5951de";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/zones/3516ab22-69b0-e327-95ec-f9be8852ee44/cores" = {
|
fileSystems."/zones/9a9880d3-82db-c500-fcaa-d4e5a5cc617d/cores" = {
|
||||||
device = "nvme0n1/cores/3516ab22-69b0-e327-95ec-f9be8852ee44";
|
device = "nvme0n1/cores/9a9880d3-82db-c500-fcaa-d4e5a5cc617d";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/zones/archive" = {
|
||||||
|
device = "nvme0n1/archive";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/zones/eec98403-5f4f-cadf-f4ff-aa9a99b4cdb5/cores" = {
|
||||||
|
device = "nvme0n1/cores/eec98403-5f4f-cadf-f4ff-aa9a99b4cdb5";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/zones/9f467f1e-000b-e771-e117-b32261e48220/cores" = {
|
||||||
|
device = "nvme0n1/cores/9f467f1e-000b-e771-e117-b32261e48220";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -73,11 +62,36 @@
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/zones/9c31e6c7-97ee-e757-b5e8-d4f07a25bdc3/cores" = {
|
||||||
|
device = "nvme0n1/cores/9c31e6c7-97ee-e757-b5e8-d4f07a25bdc3";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/zones/3516ab22-69b0-e327-95ec-f9be8852ee44/cores" = {
|
||||||
|
device = "nvme0n1/cores/3516ab22-69b0-e327-95ec-f9be8852ee44";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/zones/global/cores" = {
|
||||||
|
device = "nvme0n1/cores/global";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
|
||||||
fileSystems."/nvme0n1/c3d2.de" = {
|
fileSystems."/nvme0n1/c3d2.de" = {
|
||||||
device = "nvme0n1/c3d2.de";
|
device = "nvme0n1/c3d2.de";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/nvme0n1/9c31e6c7-97ee-e757-b5e8-d4f07a25bdc3" = {
|
||||||
|
device = "nvme0n1/9c31e6c7-97ee-e757-b5e8-d4f07a25bdc3";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/nvme0n1/b28b36ed-1824-3a6c-cdbb-258c7dd63317" = {
|
||||||
|
device = "nvme0n1/b28b36ed-1824-3a6c-cdbb-258c7dd63317";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
|
||||||
fileSystems."/nvme0n1/b090f14b-0a60-4451-e82a-c5291e5951de" = {
|
fileSystems."/nvme0n1/b090f14b-0a60-4451-e82a-c5291e5951de" = {
|
||||||
device = "nvme0n1/b090f14b-0a60-4451-e82a-c5291e5951de";
|
device = "nvme0n1/b090f14b-0a60-4451-e82a-c5291e5951de";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
|
@ -88,43 +102,13 @@
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/nvme0n1/9a9880d3-82db-c500-fcaa-d4e5a5cc617d" = {
|
|
||||||
device = "nvme0n1/9a9880d3-82db-c500-fcaa-d4e5a5cc617d";
|
|
||||||
fsType = "zfs";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/nvme0n1/9c31e6c7-97ee-e757-b5e8-d4f07a25bdc3" = {
|
|
||||||
device = "nvme0n1/9c31e6c7-97ee-e757-b5e8-d4f07a25bdc3";
|
|
||||||
fsType = "zfs";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/nvme0n1/c3d2.de/admin" = {
|
|
||||||
device = "nvme0n1/c3d2.de/admin";
|
|
||||||
fsType = "zfs";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/nvme0n1/c3d2.de/templates" = {
|
|
||||||
device = "nvme0n1/c3d2.de/templates";
|
|
||||||
fsType = "zfs";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/nvme0n1/d5a8bfc2-6d01-6d5e-ad3f-edf032eedd89" = {
|
|
||||||
device = "nvme0n1/d5a8bfc2-6d01-6d5e-ad3f-edf032eedd89";
|
|
||||||
fsType = "zfs";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/nvme0n1/a9786e8b-fce2-7567-6467-2a95086a51d4" = {
|
fileSystems."/nvme0n1/a9786e8b-fce2-7567-6467-2a95086a51d4" = {
|
||||||
device = "nvme0n1/a9786e8b-fce2-7567-6467-2a95086a51d4";
|
device = "nvme0n1/a9786e8b-fce2-7567-6467-2a95086a51d4";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/nvme0n1/3e65fa50-2f41-8792-df46-8c826bddab75" = {
|
fileSystems."/nvme0n1/9a9880d3-82db-c500-fcaa-d4e5a5cc617d" = {
|
||||||
device = "nvme0n1/3e65fa50-2f41-8792-df46-8c826bddab75";
|
device = "nvme0n1/9a9880d3-82db-c500-fcaa-d4e5a5cc617d";
|
||||||
fsType = "zfs";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/nvme0n1/9f467f1e-000b-e771-e117-b32261e48220" = {
|
|
||||||
device = "nvme0n1/9f467f1e-000b-e771-e117-b32261e48220";
|
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -133,8 +117,8 @@
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/nvme0n1/b28b36ed-1824-3a6c-cdbb-258c7dd63317" = {
|
fileSystems."/nvme0n1/9f467f1e-000b-e771-e117-b32261e48220" = {
|
||||||
device = "nvme0n1/b28b36ed-1824-3a6c-cdbb-258c7dd63317";
|
device = "nvme0n1/9f467f1e-000b-e771-e117-b32261e48220";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -143,8 +127,8 @@
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/nvme0n1/0cc567e5-5e4c-1868-eca3-4426508cbfb9" = {
|
fileSystems."/nvme0n1/d5a8bfc2-6d01-6d5e-ad3f-edf032eedd89" = {
|
||||||
device = "nvme0n1/0cc567e5-5e4c-1868-eca3-4426508cbfb9";
|
device = "nvme0n1/d5a8bfc2-6d01-6d5e-ad3f-edf032eedd89";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -153,11 +137,31 @@
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/nvme0n1/0cc567e5-5e4c-1868-eca3-4426508cbfb9" = {
|
||||||
|
device = "nvme0n1/0cc567e5-5e4c-1868-eca3-4426508cbfb9";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
|
||||||
fileSystems."/nvme0n1/63d6e664-3f1f-11e8-aef6-a3120cf8dd9d" = {
|
fileSystems."/nvme0n1/63d6e664-3f1f-11e8-aef6-a3120cf8dd9d" = {
|
||||||
device = "nvme0n1/63d6e664-3f1f-11e8-aef6-a3120cf8dd9d";
|
device = "nvme0n1/63d6e664-3f1f-11e8-aef6-a3120cf8dd9d";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/nvme0n1/c3d2.de/admin" = {
|
||||||
|
device = "nvme0n1/c3d2.de/admin";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/nvme0n1/3e65fa50-2f41-8792-df46-8c826bddab75" = {
|
||||||
|
device = "nvme0n1/3e65fa50-2f41-8792-df46-8c826bddab75";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/nvme0n1/c3d2.de/templates" = {
|
||||||
|
device = "nvme0n1/c3d2.de/templates";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
|
||||||
fileSystems."/nvme0n1/e71d4460-8eef-6623-a875-dd5ec20b650f" = {
|
fileSystems."/nvme0n1/e71d4460-8eef-6623-a875-dd5ec20b650f" = {
|
||||||
device = "nvme0n1/e71d4460-8eef-6623-a875-dd5ec20b650f";
|
device = "nvme0n1/e71d4460-8eef-6623-a875-dd5ec20b650f";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
|
@ -170,7 +174,6 @@
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
nix.maxJobs = lib.mkDefault 10;
|
nix.maxJobs = lib.mkDefault 40;
|
||||||
nix.buildCores = lib.mkDefault 40;
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue