diff --git a/hosts/gabbielaptop/configuration.nix b/hosts/gabbielaptop/configuration.nix index 380378e..858285d 100644 --- a/hosts/gabbielaptop/configuration.nix +++ b/hosts/gabbielaptop/configuration.nix @@ -1,15 +1,11 @@ # Edit this configuration file to define what should be installed on # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). - { lib, pkgs, ... -}: - -{ - +}: { imports = [ ./hardware-configuration.nix ]; @@ -32,9 +28,9 @@ ]; }; - boot.initrd.kernelModules = [ "amdgpu" ]; - boot.extraModulePackages = [ pkgs.linuxPackages.v4l2loopback ]; - boot.kernelModules = [ "v4l2loopback" ]; + boot.initrd.kernelModules = ["amdgpu"]; + boot.extraModulePackages = [pkgs.linuxPackages.v4l2loopback]; + boot.kernelModules = ["v4l2loopback"]; networking.hostName = "gabbielaptop"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. @@ -45,7 +41,7 @@ hardware.graphics = { enable = true; enable32Bit = true; - extraPackages = [ pkgs.stable.rocmPackages.clr.icd ]; # Needed for davinci-resolve to utilize the gpu, otherwise it refuses to launch + extraPackages = [pkgs.stable.rocmPackages.clr.icd]; # Needed for davinci-resolve to utilize the gpu, otherwise it refuses to launch }; # Enable networking networking.networkmanager.enable = true; @@ -81,12 +77,12 @@ }; programs.regreet = { enable = true; - cageArgs = [ "-m" "last" ]; + cageArgs = ["-m" "last"]; }; # Enable the Hyprland WM functionality for NixOS (xdg portals etc.) programs.hyprland.enable = true; - + # Enable fwupd for BIOS updates services.fwupd.enable = true; @@ -187,7 +183,7 @@ services.protonmail-bridge = { enable = true; - path = [ pkgs.gnome-keyring ]; + path = [pkgs.gnome-keyring]; logLevel = "debug"; }; @@ -221,7 +217,10 @@ 4455 # used for OBS websocket 7777 # used for Satisfactory Server ]; - networking.firewall.allowedUDPPorts = [ 7777 ]; + networking.firewall.allowedUDPPorts = [ + 7777 # # used for Satisfactory Server + 43391 # used to forward simple voice chat traffic to minecraft.gabbie.blue:33991 + ]; networking.firewall.allowedUDPPortRanges = [ { from = 45000; @@ -229,5 +228,5 @@ } ]; - system.stateVersion = "24.05"; + system.stateVersion = "24.05"; }