diff --git a/home-manager/dotfiles/.profile b/home-manager/dotfiles/.profile index e3da064..3e343fd 100644 --- a/home-manager/dotfiles/.profile +++ b/home-manager/dotfiles/.profile @@ -2,5 +2,5 @@ export XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/share:/var/lib/flatpak/exports/share:$H foot --server if [ -z "$WAYLAND_DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ] ; then - exec dbus-run-session sway + exec dbus-run-session sway --unsupported-gpu fi diff --git a/hosts/goober/configuration.nix b/hosts/goober/configuration.nix index ad47560..b304356 100644 --- a/hosts/goober/configuration.nix +++ b/hosts/goober/configuration.nix @@ -100,6 +100,13 @@ security.pam.services.swaylock = {}; + + # cleaning old builds + nix.gc = { + automatic = true; + randomizedDelaySec = "14m"; + options = "--delete-older-than 10d"; + }; # List services that you want to enable: # Enable the OpenSSH daemon. diff --git a/hosts/goober/features/hardware/nvidia.nix b/hosts/goober/features/hardware/nvidia.nix index 70e0d77..68fae52 100644 --- a/hosts/goober/features/hardware/nvidia.nix +++ b/hosts/goober/features/hardware/nvidia.nix @@ -1,7 +1,8 @@ {config, pkgs, ...}: { - + boot.blacklistedKernelModules = [ "nouveau" ]; hardware.graphics.enable = true; - hardware.nvidia.open = true; + services.xserver.videoDrivers = [ "nvidia" ]; + hardware.nvidia.open = false; } diff --git a/hosts/goober/features/hardware/pipewire.nix b/hosts/goober/features/hardware/pipewire.nix index 3c80aa4..dc98e27 100644 --- a/hosts/goober/features/hardware/pipewire.nix +++ b/hosts/goober/features/hardware/pipewire.nix @@ -1,11 +1,14 @@ {config, pkgs, ...}: { security.rtkit.enable = true; - services.pipewire.enable = false; - hardware.pulseaudio.enable = true; - hardware.pulseaudio.support32Bit = true; - services.pipewire.wireplumber.enable = true; + services.pipewire = { + enable = true; + wireplumber.enable = true; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + }; environment.systemPackages = [ pkgs.pwvucontrol ]; diff --git a/hosts/goober/hardware-configuration.nix b/hosts/goober/hardware-configuration.nix index 1d4a545..a5ab074 100644 --- a/hosts/goober/hardware-configuration.nix +++ b/hosts/goober/hardware-configuration.nix @@ -32,7 +32,7 @@ }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/6946-B7B0"; + { device = "/dev/disk/by-uuid/E021-ADA0"; fsType = "vfat"; options = [ "fmask=0022" "dmask=0022" ]; };