2020-05-21 17:39:38 +02: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.
|
2021-01-03 17:12:16 +01:00
|
|
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
2020-05-21 17:39:38 +02:00
|
|
|
|
|
|
|
|
|
{
|
2021-05-29 18:05:31 +02:00
|
|
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
2020-05-21 17:39:38 +02:00
|
|
|
|
|
2021-05-29 18:05:31 +02:00
|
|
|
|
boot.initrd.availableKernelModules =
|
|
|
|
|
[ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
2020-05-21 17:39:38 +02:00
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
2021-05-29 18:05:31 +02:00
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
device = "rpool/root/nixos";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
2020-05-21 17:39:38 +02:00
|
|
|
|
|
2021-05-29 18:05:31 +02:00
|
|
|
|
fileSystems."/home" = {
|
|
|
|
|
device = "rpool/home-enc";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
2020-05-21 17:39:38 +02:00
|
|
|
|
|
2022-04-11 11:38:19 +02:00
|
|
|
|
fileSystems."/home/yorick/steam-games" = {
|
|
|
|
|
device = "rpool/steam";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
2021-05-29 18:05:31 +02:00
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/5D0A-7902";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
2020-05-21 17:39:38 +02:00
|
|
|
|
|
|
|
|
|
swapDevices =
|
2021-05-29 18:05:31 +02:00
|
|
|
|
[{ device = "/dev/disk/by-uuid/61a23e27-2cd4-4456-bcde-aec68be04239"; }];
|
2020-05-21 17:39:38 +02:00
|
|
|
|
|
2022-03-16 17:12:11 +01:00
|
|
|
|
nix.settings.max-jobs = lib.mkDefault 32;
|
2020-05-21 17:39:38 +02:00
|
|
|
|
# High-DPI console
|
|
|
|
|
#i18n.consoleFont = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz";
|
|
|
|
|
}
|