2021-10-03 01:40:40 +02:00
|
|
|
|
{ suites, modulesPath, pkgs, ... }@inputs:
|
2021-04-06 20:59:09 +02:00
|
|
|
|
{
|
2021-04-08 12:35:13 +02:00
|
|
|
|
imports = suites.desktop ++ [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
2021-04-06 20:59:09 +02:00
|
|
|
|
|
|
|
|
|
# This value determines the NixOS release from which the default
|
|
|
|
|
# settings for stateful data, like file locations and database versions
|
|
|
|
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
|
|
|
|
# this value at the release version of the first install of this system.
|
|
|
|
|
# Before changing this value read the documentation for this option
|
|
|
|
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
2021-10-03 01:40:40 +02:00
|
|
|
|
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";
|
2021-04-06 20:59:09 +02:00
|
|
|
|
|
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
2021-04-08 12:35:13 +02:00
|
|
|
|
boot.kernelParams = [ "boot.shell_on_fail=1" "shell_on_fail=1" "shell_on_fail" "boot.shell_on_fail" ];
|
2021-04-06 20:59:09 +02:00
|
|
|
|
networking.hostName = "tesco"; # Define your hostname.
|
|
|
|
|
networking.useDHCP = false;
|
|
|
|
|
networking.interfaces.enp6s0.useDHCP = true;
|
2021-06-12 10:38:09 +02:00
|
|
|
|
networking.networkmanager.enable = true;
|
2021-04-06 20:59:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
2021-10-03 01:40:40 +02:00
|
|
|
|
|
2021-04-06 20:59:09 +02:00
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
2021-10-03 01:40:40 +02:00
|
|
|
|
boot.supportedFilesystems = ["bcachefs"];
|
|
|
|
|
boot.initrd.supportedFilesystems = ["bcachefs"];
|
|
|
|
|
|
2021-04-06 20:59:09 +02:00
|
|
|
|
fileSystems."/" =
|
2021-10-03 01:40:40 +02:00
|
|
|
|
{ device = "/dev/sda2:/dev/sdb1";
|
|
|
|
|
fsType = "bcachefs";
|
2021-04-06 20:59:09 +02:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
2021-10-03 01:40:40 +02:00
|
|
|
|
{ device = "/dev/disk/by-uuid/1367-B5C7";
|
2021-04-06 20:59:09 +02:00
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
swapDevices =
|
2021-10-03 01:40:40 +02:00
|
|
|
|
[ { device = "/dev/disk/by-uuid/48286351-d82d-40aa-b4ed-14b742b31ea0"; }
|
|
|
|
|
{ device = "/dev/disk/by-uuid/8da30234-1932-4ec2-bb30-6ab268c669ee"; }
|
|
|
|
|
];
|
2021-04-06 20:59:09 +02:00
|
|
|
|
|
|
|
|
|
}
|