59 lines
1.5 KiB
Nix
Raw Normal View History

2020-02-07 03:52:17 +04: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.
2020-08-06 23:34:37 +04:00
{ config, lib, pkgs, modulesPath, ... }:
2020-02-07 03:52:17 +04:00
{
imports =
2020-08-06 23:34:37 +04:00
[ (modulesPath + "/installer/scan/not-detected.nix")
];
2020-02-07 03:52:17 +04:00
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
2020-09-08 03:07:50 +04:00
{ device = "rpool/system/root";
fsType = "zfs";
2020-02-07 03:52:17 +04:00
};
2020-09-08 03:07:50 +04:00
fileSystems."/nix" =
{ device = "rpool/local/nix";
fsType = "zfs";
};
fileSystems."/var" =
{ device = "rpool/system/var";
fsType = "zfs";
};
fileSystems."/home" =
{ device = "rpool/user/home";
fsType = "zfs";
};
fileSystems."/bittorrent" =
{ device = "rpool/local/bittorrent";
fsType = "zfs";
};
2020-08-06 23:34:37 +04:00
2020-02-07 03:52:17 +04:00
fileSystems."/boot" =
2020-11-28 05:07:18 +04:00
{ device = "/dev/disk/by-uuid/4F6D-537A";
2020-02-07 03:52:17 +04:00
fsType = "vfat";
};
2020-08-06 23:34:37 +04:00
swapDevices = [
{
2020-11-28 05:07:18 +04:00
device = "/dev/disk/by-partuuid/3043db40-1d67-47f0-b6d6-d8f1a68b47c6";
2020-08-06 23:34:37 +04:00
randomEncryption.enable = true;
}
];
2020-02-07 03:52:17 +04:00
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
2020-11-28 05:07:18 +04:00
networking.hostId = "d107d6c6";
boot.zfs.devNodes = "/dev/disk/by-partuuid/8454c73b-e50a-407c-86d7-e970d0fdb09e";
2020-09-08 03:07:50 +04:00
boot.supportedFilesystems = [ "zfs" ];
2020-09-26 03:33:55 +04:00
boot.kernelParams = [ "zfs.zfs_arc_max=4294967296" ];
2020-02-07 03:52:17 +04:00
}