This repository has no description
1.1 kB
52 lines
1{ modulesPath, ... }:
2{
3 imports = [
4 ./config.nix
5 (modulesPath + "/installer/scan/not-detected.nix")
6 ];
7
8 networking.hostId = "e0c335ea";
9 boot.zfs.requestEncryptionCredentials = true;
10 boot.loader.efi.canTouchEfiVariables = true;
11 boot.loader.grub = {
12 enable = true;
13 # device = "/dev/disk/by-id/nvme-WDC_PC_SN730_SDBQNTY-1T00-1001_205349800040";
14 device = "nodev";
15 efiSupport = true;
16 # efiInstallAsRemovable = true;
17 };
18
19 services.xserver.videoDrivers = [
20 "amdgpu"
21 ];
22
23 boot.initrd.kernelModules = [ "amdgpu" ];
24
25 boot.initrd.availableKernelModules = [
26 "nvme"
27 "ehci_pci"
28 "xhci_pci"
29 "usb_storage"
30 "sd_mod"
31 "rtsx_pci_sdmmc"
32 ];
33 boot.kernelModules = [ "kvm-amd" ];
34
35 fileSystems."/" = {
36 device = "zpool/root/root";
37 fsType = "zfs";
38 };
39
40 fileSystems."/home" = {
41 device = "zpool/root/home";
42 fsType = "zfs";
43 };
44
45 fileSystems."/boot" = {
46 device = "/dev/disk/by-uuid/50A7-1889";
47 fsType = "vfat";
48 };
49
50 services.logind.lidSwitch = "ignore";
51 services.logind.lidSwitchDocked = "ignore";
52}