about summary refs log tree commit diff
path: root/users/glittershark/system
diff options
context:
space:
mode:
Diffstat (limited to 'users/glittershark/system')
-rw-r--r--users/glittershark/system/system/machines/chupacabra.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/users/glittershark/system/system/machines/chupacabra.nix b/users/glittershark/system/system/machines/chupacabra.nix
index 99225e354562..5a7c00fc68cb 100644
--- a/users/glittershark/system/system/machines/chupacabra.nix
+++ b/users/glittershark/system/system/machines/chupacabra.nix
@@ -1,9 +1,12 @@
 { config, lib, pkgs, ... }:
 {
   imports = [
+    <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
+    ../modules/common.nix
     ../modules/reusable/battery.nix
     <nixos-hardware/common/cpu/intel>
     <nixos-hardware/common/pc/laptop>
+    ../modules/tvl.nix
   ];
 
   networking.hostName = "chupacabra";
@@ -47,4 +50,32 @@
       echo -1 > /sys/module/usbcore/parameters/autosuspend
     '';
   };
+
+  # From hardware-configuration.nix
+
+  boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
+  boot.initrd.kernelModules = [ ];
+  boot.kernelModules = [ "kvm-intel" ];
+  boot.extraModulePackages = [ ];
+
+  fileSystems."/" =
+    { device = "/dev/mapper/cryptroot";
+      fsType = "ext4";
+    };
+
+  boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/c2fc7ce7-a45e-48a1-8cde-be966ef601db";
+
+  fileSystems."/boot" =
+    { device = "/dev/disk/by-uuid/3492-9E3A";
+      fsType = "vfat";
+    };
+
+  swapDevices =
+    [ { device = "/dev/disk/by-uuid/caa7e2ff-475b-4024-b29e-4f88f733fc4c"; }
+    ];
+
+  nix.maxJobs = lib.mkDefault 12;
+  powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
+  # High-DPI console
+  console.font = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz";
 }