reinstall thinky

This commit is contained in:
Cyryl Płotnicki 2021-09-18 09:50:11 +02:00
parent ace827a337
commit 70d01cc00a

View file

@ -1,38 +1,32 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, inputs, ... }:
{ {
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
boot = { boot = {
kernelPackages = pkgs.linuxPackages_latest_hardened; kernelModules = [ "kvm-intel" ];
initrd.availableKernelModules = [ "ata_generic" "uhci_hcd" "ehci_pci" "ahci" "usb_storage" "sd_mod" ];
initrd.luks.devices."crypt"=
{
device = "/dev/disk/by-uuid/962caed1-9dd5-4771-9a8f-3d3f5854af2e";
preLVM = true;
allowDiscards = true;
};
loader.grub = {
device = "/dev/sda";
};
};
time.timeZone = "Europe/Warsaw";
fileSystems."/" = initrd = {
{ device = "/dev/disk/by-uuid/11fb2333-f06f-4970-9b74-a5287bab5058"; kernelModules = [ "dm-snapshot" ];
fsType = "ext4"; availableKernelModules = [ "ata_generic" "uhci_hcd" "ehci_pci" "ahci" "usb_storage" "sd_mod" ];
}; };
fileSystems."/boot" = loader.grub.enable = true;
{ device = "/dev/disk/by-uuid/a8704d8b-e174-4bcd-9558-085a85ed1ceb"; loader.grub.version = 2;
fsType = "ext4"; loader.grub.device = "/dev/sda";
};
fileSystems."/" =
{ device = "/dev/disk/by-uuid/87ea2035-a966-4a06-8b66-e4ac366c3cb9";
fsType = "btrfs";
}; };
swapDevices = boot.initrd.luks.devices."crypt".device = "/dev/disk/by-uuid/8d51b38a-5d90-4a7a-a86a-0d57648fd82d";
[ { device = "/dev/disk/by-uuid/43d05f3c-5f2b-42cf-b052-06b6a3e82c45"; }
];
nix.maxJobs = lib.mkDefault 2; fileSystems."/boot" =
} { device = "/dev/disk/by-uuid/195b3f15-885e-4123-879f-6e4591a58317";
fsType = "ext2";
};
swapDevices = [ ];
nix.maxJobs = 2;
nix.buildCores = 6;
}