me like nix
0

Configure Feed

Select the types of activity you want to include in your feed.

1# Do not modify this file! It was generated by ‘nixos-generate-config’ 2# and may be overwritten by future invocations. Please make changes 3# to /etc/nixos/configuration.nix instead. 4{ 5 config, 6 lib, 7 modulesPath, 8 ... 9}: 10 11{ 12 imports = [ 13 (modulesPath + "/installer/scan/not-detected.nix") 14 ]; 15 16 boot.initrd.availableKernelModules = [ 17 "xhci_pci" 18 "ahci" 19 "nvme" 20 "usbhid" 21 "usb_storage" 22 "sd_mod" 23 ]; 24 boot.initrd.kernelModules = [ ]; 25 boot.kernelModules = [ "kvm-intel" ]; 26 boot.extraModulePackages = [ ]; 27 28 fileSystems."/" = { 29 device = "/dev/disk/by-uuid/e51cb271-90b6-49ae-89aa-491b17e59d97"; 30 fsType = "ext4"; 31 }; 32 33 fileSystems."/boot" = { 34 device = "/dev/disk/by-uuid/0089-74FA"; 35 fsType = "vfat"; 36 options = [ 37 "fmask=0077" 38 "dmask=0077" 39 ]; 40 }; 41 fileSystems."/mnt/storage1" = { 42 device = "/dev/disk/by-uuid/3bb5c3d3-f3ce-4c54-a86c-589b477eda20"; 43 fsType = "ext4"; 44 # reduce write ops 45 options = [ "noatime" ]; 46 }; 47 fileSystems."/mnt/storage2" = { 48 device = "/dev/disk/by-uuid/40b9cab0-9f25-4b36-9f22-6ebea1fe6e7a"; 49 fsType = "ext4"; 50 # reduce write ops 51 options = [ "noatime" ]; 52 }; 53 54 systemd.tmpfiles.rules = [ 55 "d /mnt/storage1 0755 sean users -" 56 "d /mnt/storage2 0755 sean users -" 57 ]; 58 59 swapDevices = [ ]; 60 61 hardware.system76.kernel-modules.enable = true; 62 hardware.system76.enableAll = true; 63 hardware.graphics = { 64 enable = true; 65 enable32Bit = true; # crucial for many steam games 66 }; 67 hardware.keyboard.zsa.enable = true; 68 69 # Enables DHCP on each ethernet and wireless interface. In case of scripted networking 70 # (the default) this is the recommended approach. When using systemd-networkd it's 71 # still possible to use this option, but it's recommended to use it in conjunction 72 # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. 73 networking.useDHCP = lib.mkDefault true; 74 # networking.interfaces.enp0s20f0u4u3.useDHCP = lib.mkDefault true; 75 # networking.interfaces.enp3s0.useDHCP = lib.mkDefault true; 76 # networking.interfaces.wlo1.useDHCP = lib.mkDefault true; 77 78 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 79 hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 80}