Skip to content

Instantly share code, notes, and snippets.

@nyarly
Created September 10, 2021 00:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nyarly/627196836366ca487bc83939b32a63ea to your computer and use it in GitHub Desktop.
Save nyarly/627196836366ca487bc83939b32a63ea to your computer and use it in GitHub Desktop.
# 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 = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "uas" "sd_mod" "sr_mod" "rtsx_usb_sdmmc" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/a9c4b3eb-0426-42ee-b862-a9ef87b7ec0c";
fsType = "reiserfs";
};
fileSystems."/nix" =
{ device = "/dev/disk/by-uuid/974b8c4c-e3c3-4bad-bf03-d7b9519cbc57";
fsType = "reiserfs";
};
fileSystems."/var" =
{ device = "/dev/disk/by-uuid/424b4721-b1e4-41d0-9e77-86310323db56";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/099E-D26B";
fsType = "vfat";
};
fileSystems."/run/psd-profiles" =
{
fsType = "tmpfs";
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/d31bef05-4229-4df0-b8ea-390be2192343";
fsType = "ext4";
};
fileSystems."/var/lib/docker" =
{ device = "/dev/disk/by-uuid/41a9ec14-3576-4fbe-93a7-9ede2232c43e";
fsType = "ext4";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/d1c847dc-8d22-4178-98c1-ef8aad56ddb9"; }
];
nix.maxJobs = lib.mkDefault 4;
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment