authorgravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2024-10-09 09:58:14-07:00
committergravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2024-10-09 09:58:14-07:00
log628ce100419573424c2cacf133335e7ac21b4034
tree3dd0a7baba36caed2529164f02ec0810da635cdc
parentf926d51b11a7017dd1746607cd1f77ee7bc8bae0
parent591db450c474553869e2c358a7e6aa49ca33c9d8

Merge branch 'main' of github.com:nmarks413/nix-config


2 files changed, 26 insertions(+), 6 deletions(-)

hosts/desktop/configuration.nix+7-1
......@@ -10,6 +10,12 @@
1010}: {
1111 nixpkgs.config.allowUnfree = true;
1212
13 services.avahi = {
14 enable = true;
15 nssmdns4 = true;
16 openFirewall = true;
17 };
18
1319 programs._1password.enable = true;
1420 programs._1password-gui = {
1521 enable = true;
......@@ -156,7 +162,7 @@
156162 imports = [
157163 # Include the results of the hardware scan.
158164 ./hardware-configuration.nix
159 inputs.foundryvtt.nixosModules.foundryvtt
165 # inputs.foundryvtt.nixosModules.foundryvtt
160166 ];
161167
162168 # Enable OpenGL
hosts/desktop/hardware-configuration.nix+19-5
......@@ -8,10 +8,10 @@
88 [ (modulesPath + "/installer/scan/not-detected.nix")
99 ];
1010
11 boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "sd_mod" ];
11 boot.initrd.availableKernelModules = [ "nvme" "ahci" "xhci_pci" "usbhid" "sd_mod" ];
1212 boot.initrd.kernelModules = [ ];
13 boot.kernelModules = [ "kvm-amd" "wl" ];
14 boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
13 boot.kernelModules = [ "kvm-amd" ];
14 boot.extraModulePackages = [ ];
1515
1616 fileSystems."/" =
1717 { device = "/dev/disk/by-uuid/5838d50d-e6e8-4ad2-a25e-524f4c46da35";
......@@ -21,6 +21,18 @@
2121 fileSystems."/boot" =
2222 { device = "/dev/disk/by-uuid/2319-EE79";
2323 fsType = "vfat";
24 options = [ "fmask=0022" "dmask=0022" ];
25 };
26
27 fileSystems."/home/nmarks/Games/steam" =
28 { device = "/dev/disk/by-uuid/e7ac46ce-edcb-4763-8717-a7c67de5c7f3";
29 fsType = "ext4";
30 };
31
32 fileSystems."/home/nmarks/Games/steam" =
33 { device = "/home/nmarks/Games/steam";
34 fsType = "none";
35 options = [ "bind" ];
2436 };
2537
2638 swapDevices =
......@@ -32,8 +44,10 @@
3244 # still possible to use this option, but it's recommended to use it in conjunction
3345 # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
3446 networking.useDHCP = lib.mkDefault true;
35 # networking.interfaces.enp34s0.useDHCP = lib.mkDefault true;
36 # networking.interfaces.wlo1.useDHCP = lib.mkDefault true;
47 # networking.interfaces.docker0.useDHCP = lib.mkDefault true;
48 # networking.interfaces.enp11s0.useDHCP = lib.mkDefault true;
49 # networking.interfaces.tailscale0.useDHCP = lib.mkDefault true;
50 # networking.interfaces.wlp10s0.useDHCP = lib.mkDefault true;
3751
3852 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
3953 hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;