devos/hosts/tesco.nix

48 lines
1.6 KiB
Nix
Raw Normal View History

2021-04-08 12:35:13 +02:00
{ suites, modulesPath, ... }@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. Its 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;
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;
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"; }];
}