48 lines
1.6 KiB
Nix
48 lines
1.6 KiB
Nix
{ suites, modulesPath, ... }@inputs:
|
||
{
|
||
imports = suites.desktop ++ [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||
|
||
# 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).
|
||
system.stateVersion = "20.09"; # Did you read the comment?
|
||
|
||
# Use the systemd-boot EFI boot loader.
|
||
boot.loader.systemd-boot.enable = true;
|
||
boot.loader.efi.canTouchEfiVariables = true;
|
||
|
||
boot.kernelParams = [ "boot.shell_on_fail=1" "shell_on_fail=1" "shell_on_fail" "boot.shell_on_fail" ];
|
||
networking.hostName = "tesco"; # Define your hostname.
|
||
networking.useDHCP = false;
|
||
networking.interfaces.enp6s0.useDHCP = true;
|
||
networking.networkmanager.enable = true;
|
||
|
||
|
||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
fileSystems."/" =
|
||
{
|
||
device = "/dev/disk/by-uuid/71831856-336e-43b5-9ed8-a657939f95a9";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
fileSystems."/boot" =
|
||
{
|
||
device = "/dev/disk/by-uuid/3B73-1D5D";
|
||
fsType = "vfat";
|
||
};
|
||
|
||
fileSystems."/home/mae" =
|
||
{
|
||
device = "/dev/disk/by-uuid/d7e91b96-f7e1-4feb-84d4-4e024746d73e";
|
||
fsType = "btrfs";
|
||
};
|
||
|
||
swapDevices =
|
||
[{ device = "/dev/disk/by-uuid/99d35be0-8935-4cec-bf58-4f666db922f0"; }];
|
||
|
||
}
|