dot

NixOS dotfiles
git clone https://git.echoz.io/dot.git
Log | Files | Refs

default.nix (870B)


      1 {
      2   modulesPath,
      3   sec,
      4   user,
      5   ...
      6 }:
      7 {
      8   imports = [
      9     sec.nixosModules.dot
     10 
     11     (modulesPath + "/installer/scan/not-detected.nix")
     12   ];
     13 
     14   disko.devices.disk.system.device = "/dev/disk/by-id/wwn-0x5002538e410ec0c1";
     15 
     16   networking = {
     17     hostName = "rc";
     18     hostId = "9cb48259";
     19     networkmanager.enable = true;
     20   };
     21 
     22   boot = {
     23     initrd.availableKernelModules = [
     24       "xhci_pci"
     25       "ehci_pci"
     26       "ahci"
     27       "sd_mod"
     28       "sdhci_pci"
     29     ];
     30     kernelModules = [ "kvm-intel" ];
     31   };
     32 
     33   hardware = {
     34     enableAllFirmware = true;
     35     cpu.intel.updateMicrocode = true;
     36   };
     37 
     38   home-manager.users.${user} = {
     39     services.hypridle.brightnessDevice = "intel_backlight";
     40     wayland.windowManager.hyprland.settings = {
     41       device = [
     42         {
     43           name = "synps/2-synaptics-touchpad";
     44           enabled = false;
     45         }
     46       ];
     47     };
     48   };
     49 }