Tesco reinstall

This commit is contained in:
bad 2021-10-03 01:40:40 +02:00
parent 8e68966389
commit 0976950b75
2 changed files with 24 additions and 16 deletions

View file

@ -18,6 +18,7 @@
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
{ {
device = "/dev/disk/by-uuid/75b8df4a-8839-40cd-92ad-dc83007199f4"; device = "/dev/disk/by-uuid/75b8df4a-8839-40cd-92ad-dc83007199f4";

View file

@ -1,4 +1,4 @@
{ suites, modulesPath, ... }@inputs: { suites, modulesPath, pkgs, ... }@inputs:
{ {
imports = suites.desktop ++ [ (modulesPath + "/installer/scan/not-detected.nix") ]; imports = suites.desktop ++ [ (modulesPath + "/installer/scan/not-detected.nix") ];
@ -8,10 +8,19 @@
# this value at the release version of the first install of this system. # this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option # Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "20.09"; # Did you read the comment? system.stateVersion = "21.05"; # Did you read the comment?
boot.loader.grub = {
enable = true;
version = 2;
device = "nodev";
efiSupport = true;
enableCryptodisk = true;
gfxmodeEfi = "1024x768";
};
boot.loader.efi.efiSysMountPoint = "/boot";
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.kernelParams = [ "boot.shell_on_fail=1" "shell_on_fail=1" "shell_on_fail" "boot.shell_on_fail" ]; boot.kernelParams = [ "boot.shell_on_fail=1" "shell_on_fail=1" "shell_on_fail" "boot.shell_on_fail" ];
@ -22,27 +31,25 @@
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
boot.supportedFilesystems = ["bcachefs"];
boot.initrd.supportedFilesystems = ["bcachefs"];
fileSystems."/" = fileSystems."/" =
{ { device = "/dev/sda2:/dev/sdb1";
device = "/dev/disk/by-uuid/71831856-336e-43b5-9ed8-a657939f95a9"; fsType = "bcachefs";
fsType = "ext4";
}; };
fileSystems."/boot" = fileSystems."/boot" =
{ { device = "/dev/disk/by-uuid/1367-B5C7";
device = "/dev/disk/by-uuid/3B73-1D5D";
fsType = "vfat"; fsType = "vfat";
}; };
fileSystems."/home/mae" =
{
device = "/dev/disk/by-uuid/d7e91b96-f7e1-4feb-84d4-4e024746d73e";
fsType = "btrfs";
};
swapDevices = swapDevices =
[{ device = "/dev/disk/by-uuid/99d35be0-8935-4cec-bf58-4f666db922f0"; }]; [ { device = "/dev/disk/by-uuid/48286351-d82d-40aa-b4ed-14b742b31ea0"; }
{ device = "/dev/disk/by-uuid/8da30234-1932-4ec2-bb30-6ab268c669ee"; }
];
} }