66 lines
1.5 KiB
Nix
66 lines
1.5 KiB
Nix
# 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, ... }:
|
||
|
||
{
|
||
imports =
|
||
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
||
];
|
||
|
||
boot.initrd.availableKernelModules = [ "usb_storage" ];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
fileSystems."/" =
|
||
{ device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
fileSystems."/vault" =
|
||
{ device = "vault";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/vault/backups" =
|
||
{ device = "vault/backups";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/vault/git" =
|
||
{ device = "vault/git";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/vault/syncthing" =
|
||
{ device = "vault/syncthing";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/vault/nextcloud" =
|
||
{ device = "vault/nextcloud";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/vault/backups/zion" =
|
||
{ device = "vault/backups/zion";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/vault/backups/monolith" =
|
||
{ device = "vault/backups/monolith";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/vault/backups/zion/databases" =
|
||
{ device = "vault/backups/zion/databases";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
swapDevices = [ ];
|
||
|
||
nix.maxJobs = lib.mkDefault 4;
|
||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||
}
|