fix(pilot1): complete flake migration

This commit is contained in:
Felix Schröter 2021-08-10 15:53:23 +02:00
parent 642f7406f6
commit 73c9dfa364
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58
3 changed files with 28 additions and 3 deletions
hardware

25
hardware/pilot1.nix Normal file
View file

@ -0,0 +1,25 @@
{ config, lib, pkgs, ... }:
{
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/155b5acf-a0f8-4615-ae03-43a5c193f772";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/31C7-CBD1";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/397a1a92-596f-421b-99e1-c9b2cb821309"; }
];
nix.maxJobs = lib.mkDefault 8;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}