diff --git a/nix/configuration.nix b/nix/configuration.nix index f49cbba..66c9b9d 100644 --- a/nix/configuration.nix +++ b/nix/configuration.nix @@ -140,6 +140,13 @@ wget ]; + programs.steam = { + enable = true; + remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play + dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server + localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers + }; + # Some programs need SUID wrappers, can be configured further or are # started in user sessions. # programs.mtr.enable = true; diff --git a/nix/home.nix b/nix/home.nix index 0bc0155..011887b 100644 --- a/nix/home.nix +++ b/nix/home.nix @@ -17,6 +17,7 @@ userName = "doloro"; userEmail = "doloro@proton.me"; }; + # This value determines the Home Manager release that your configuration is # compatible with. This helps avoid breakage when a new Home Manager release # introduces backwards incompatible changes. @@ -70,6 +71,12 @@ home.sessionVariables = { EDITOR = "nvim"; }; + services = { + dunst = { + enable = true; + }; + }; + # Let Home Manager install and manage itself. programs.home-manager.enable = true; diff --git a/nix/modules/hyprland/home.nix b/nix/modules/hyprland/home.nix index 3754186..77c3edd 100644 --- a/nix/modules/hyprland/home.nix +++ b/nix/modules/hyprland/home.nix @@ -5,6 +5,7 @@ in { imports = [ ./settings.nix + ./runner.nix ]; wayland.windowManager.hyprland = { enable = true; diff --git a/nix/modules/hyprland/runner.nix b/nix/modules/hyprland/runner.nix new file mode 100644 index 0000000..3614cdd --- /dev/null +++ b/nix/modules/hyprland/runner.nix @@ -0,0 +1,8 @@ +{ inputs, pkgs, ... }: +let + +in { + home.packages = with pkgs; [ + wofi + ]; +} diff --git a/nix/modules/hyprland/settings.nix b/nix/modules/hyprland/settings.nix index 9f3bef0..ebfaab5 100644 --- a/nix/modules/hyprland/settings.nix +++ b/nix/modules/hyprland/settings.nix @@ -92,7 +92,7 @@ "$mainMod, M, exit" "$mainMod, E, exec, $fileManager" "$mainMod, V, togglefloating," - "$mainMod, R, exec, $menu" + "$mainMod, R, exec, wofi --show drun" "$mainMod, P, pseudo, # dwindle" "$mainMod, J, togglesplit, # dwindle" "$mainMod, left, movefocus, l"