2019-11-08 14:13:50 +01:00
|
|
|
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
|
|
|
# and may be overwritten by future invocations. Please make changes
|
|
|
|
|
# to /etc/nixos/configuration.nix instead.
|
|
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
2020-12-22 19:10:02 +01:00
|
|
|
|
imports = [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> ];
|
2019-11-08 14:13:50 +01:00
|
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = [ "usb_storage" ];
|
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
boot.kernelModules = [ ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
2020-12-22 19:10:02 +01:00
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
2019-11-08 14:13:50 +01:00
|
|
|
|
|
2020-12-22 19:10:02 +01:00
|
|
|
|
fileSystems."/vault" = {
|
|
|
|
|
device = "vault";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
2019-11-08 14:13:50 +01:00
|
|
|
|
|
2020-12-22 19:10:02 +01:00
|
|
|
|
fileSystems."/vault/backups" = {
|
|
|
|
|
device = "vault/backups";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
2020-05-10 03:15:42 +02:00
|
|
|
|
|
2020-12-22 19:10:02 +01:00
|
|
|
|
fileSystems."/vault/git" = {
|
|
|
|
|
device = "vault/git";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
2019-11-08 14:13:50 +01:00
|
|
|
|
|
2020-12-22 19:10:02 +01:00
|
|
|
|
fileSystems."/vault/syncthing" = {
|
|
|
|
|
device = "vault/syncthing";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
2019-11-08 14:13:50 +01:00
|
|
|
|
|
2020-12-22 19:10:02 +01:00
|
|
|
|
fileSystems."/vault/nextcloud" = {
|
|
|
|
|
device = "vault/nextcloud";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
2019-11-08 14:13:50 +01:00
|
|
|
|
|
2020-12-22 19:10:02 +01:00
|
|
|
|
fileSystems."/vault/backups/zion" = {
|
|
|
|
|
device = "vault/backups/zion";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
2019-11-08 14:13:50 +01:00
|
|
|
|
|
2020-12-22 19:10:02 +01:00
|
|
|
|
fileSystems."/vault/backups/monolith" = {
|
|
|
|
|
device = "vault/backups/monolith";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
2019-11-14 02:30:12 +01:00
|
|
|
|
|
2020-12-22 19:10:02 +01:00
|
|
|
|
fileSystems."/vault/backups/zion/databases" = {
|
|
|
|
|
device = "vault/backups/zion/databases";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/vault/radicale" = {
|
|
|
|
|
device = "vault/radicale";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
2019-11-08 14:13:50 +01:00
|
|
|
|
|
|
|
|
|
swapDevices = [ ];
|
|
|
|
|
|
|
|
|
|
nix.maxJobs = lib.mkDefault 4;
|
2020-05-10 03:15:42 +02:00
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
2019-11-08 14:13:50 +01:00
|
|
|
|
}
|