diff --git a/home.nix b/home.nix index 5b4d787..fa978be 100644 --- a/home.nix +++ b/home.nix @@ -6,7 +6,7 @@ # By: tomoron +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2024/10/17 18:15:38 by tomoron #+# #+# # -# Updated: 2024/10/25 21:48:22 by tomoron ### ########.fr # +# Updated: 2024/11/04 17:43:28 by tomoron ### ########.fr # # # # **************************************************************************** # @@ -48,6 +48,8 @@ playerctl swaybg hyprlock + python3 + vlc ]; home.file = { diff --git a/homes/laptop/home.nix b/homes/laptop/home.nix index 33988e1..4009d07 100644 --- a/homes/laptop/home.nix +++ b/homes/laptop/home.nix @@ -4,6 +4,7 @@ imports = [ ../modules/game.nix ../modules/nitrogen.nix + ./hyprland.nix ]; # programs.alacritty.settings.font.size = 8; diff --git a/homes/laptop/hyprland.nix b/homes/laptop/hyprland.nix index 0e8be6a..cb0cce9 100644 --- a/homes/laptop/hyprland.nix +++ b/homes/laptop/hyprland.nix @@ -1,8 +1,8 @@ { config, lib, pkgs, ... }: { - monitor= [ - "eDP-1, 1920x1080@120, 0x0, 1" - "HDMI-A-1, 1920x1080@60, auto, auto" - ]; + wayland.windowManager.hyprland.settings.monitor= [ + "eDP-1, 1920x1080@120, 0x0, 1" + "HDMI-A-1, 1920x1080@60, auto, auto" + ]; } diff --git a/homes/modules/game.nix b/homes/modules/game.nix index a41a556..cd7d303 100644 --- a/homes/modules/game.nix +++ b/homes/modules/game.nix @@ -2,5 +2,5 @@ { config, lib, pkgs, ... }: { - home.packages = with pkgs;[ heroic mangohud]; + home.packages = with pkgs;[lutris mangohud]; } diff --git a/hosts/laptop.nix b/hosts/laptop.nix index 3d99b07..0fca6e1 100644 --- a/hosts/laptop.nix +++ b/hosts/laptop.nix @@ -10,8 +10,8 @@ networking.wireless.enable = true; networking.networkmanager.enable = false; - networking.firewall.allowedTCPPorts = [ 11470 12470 80 ]; - networking.firewall.allowedUDPPorts = [ 11470 12470 80 ]; + networking.firewall.allowedTCPPorts = [ 11470 12470 80 443 5000 ]; + networking.firewall.allowedUDPPorts = [ 11470 12470 80 443 5000 ]; environment.systemPackages = with pkgs; [ acpi diff --git a/modules/hyprland.nix b/modules/hyprland.nix index d23b3ca..0ec282b 100644 --- a/modules/hyprland.nix +++ b/modules/hyprland.nix @@ -38,16 +38,16 @@ "$mainMod, 0, workspace, 10" # Move active window to a workspace with mainMod + SHIFT + [0-9] - "$mainMod SHIFT, 1, movetoworkspace, 1" - "$mainMod SHIFT, 2, movetoworkspace, 2" - "$mainMod SHIFT, 3, movetoworkspace, 3" - "$mainMod SHIFT, 4, movetoworkspace, 4" - "$mainMod SHIFT, 5, movetoworkspace, 5" - "$mainMod SHIFT, 6, movetoworkspace, 6" - "$mainMod SHIFT, 7, movetoworkspace, 7" - "$mainMod SHIFT, 8, movetoworkspace, 8" - "$mainMod SHIFT, 9, movetoworkspace, 9" - "$mainMod SHIFT, 0, movetoworkspace, 10" + "$mainMod SHIFT, 1, movetoworkspacesilent, 1" + "$mainMod SHIFT, 2, movetoworkspacesilent, 2" + "$mainMod SHIFT, 3, movetoworkspacesilent, 3" + "$mainMod SHIFT, 4, movetoworkspacesilent, 4" + "$mainMod SHIFT, 5, movetoworkspacesilent, 5" + "$mainMod SHIFT, 6, movetoworkspacesilent, 6" + "$mainMod SHIFT, 7, movetoworkspacesilent, 7" + "$mainMod SHIFT, 8, movetoworkspacesilent, 8" + "$mainMod SHIFT, 9, movetoworkspacesilent, 9" + "$mainMod SHIFT, 0, movetoworkspacesilent, 10" # Scroll through existing workspaces with mainMod + scroll "$mainMod, mouse_down, workspace, e+1"