Reinstall foureighty

This commit is contained in:
Cyryl Płotnicki 2022-07-06 20:07:12 +01:00
parent 8eadbcc087
commit 485ee775d4
2 changed files with 10 additions and 8 deletions

View file

@ -3,7 +3,6 @@
imports = [ imports = [
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t480 inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t480
./custom-kernel.nix
./hardware-configuration.nix ./hardware-configuration.nix
./tailscale-foureighty.nix ./tailscale-foureighty.nix
./thermal.nix ./thermal.nix

View file

@ -8,25 +8,28 @@
[ "xhci_pci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; [ "xhci_pci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
}; };
loader.efi.canTouchEfiVariables = true;
loader.systemd-boot.enable = true; loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
loader.efi.efiSysMountPoint = "/boot/efi";
}; };
boot.initrd.luks.devices."crypt".device = boot.initrd.secrets = { "/crypto_keyfile.bin" = null; };
"/dev/disk/by-uuid/c2deaeaa-cb76-4d29-a603-0cf42f6e829f"; boot.initrd.luks.devices."luks-43a80125-4089-45be-9561-fab93f984916".device =
"/dev/disk/by-uuid/43a80125-4089-45be-9561-fab93f984916";
fileSystems."/boot" = { fileSystems."/boot/efi" = {
device = "/dev/disk/by-uuid/FC06-82E6"; device = "/dev/disk/by-uuid/D6C0-1A9D";
fsType = "vfat"; fsType = "vfat";
}; };
fileSystems."/" = { fileSystems."/" = {
device = "/dev/disk/by-uuid/cb12122c-f0ef-4c43-bac1-6b8410a51a54"; device = "/dev/disk/by-uuid/98f3597c-183a-45fb-b2a4-b598c18d089a";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@" ];
}; };
swapDevices = [ ]; swapDevices = [ ];
nix.maxJobs = 2; nix.maxJobs = 2;
nix.buildCores = 6; nix.buildCores = 7;
} }