43 lines
1.1 KiB
Nix
43 lines
1.1 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, modulesPath, ... }:
|
||
|
||
{
|
||
imports =
|
||
[
|
||
(modulesPath + "/installer/scan/not-detected.nix")
|
||
];
|
||
|
||
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ "kvm-intel" ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
fileSystems."/" =
|
||
{
|
||
device = "/dev/disk/by-uuid/3c1098ea-7cfd-4285-9d26-6a5d121d1205";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
fileSystems."/boot" =
|
||
{
|
||
device = "/dev/disk/by-uuid/4904-4E9E";
|
||
fsType = "vfat";
|
||
};
|
||
|
||
fileSystems."/storage" = {
|
||
device = "192.168.1.168:/storage";
|
||
fsType = "nfs";
|
||
options = [ "x-systemd.automount" "noauto" "_netdev" ];
|
||
};
|
||
|
||
swapDevices =
|
||
[{ device = "/dev/disk/by-uuid/97c769a2-55da-475a-8dc0-d74d8bbde514"; }];
|
||
|
||
powerManagement= {
|
||
enable = true;
|
||
cpuFreqGovernor = lib.mkDefault "powersave";
|
||
powertop.enable = true;
|
||
};
|
||
}
|