From af72005772d4bde94933c07b75259df051168a1c Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Thu, 6 Feb 2025 17:03:56 +0100 Subject: [PATCH] Move to correct place. --- hosts/nixos/home.nix | 2 ++ modules/home-manager/hyprland.nix | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/hosts/nixos/home.nix b/hosts/nixos/home.nix index 9931036..546cfca 100644 --- a/hosts/nixos/home.nix +++ b/hosts/nixos/home.nix @@ -35,6 +35,7 @@ protontricks jellyfin-mpv-shim itch + wineWowPackages.staging ]; # Install librewolf @@ -131,6 +132,7 @@ # Default environmental variables home.sessionVariables = { EDITOR = "nvim"; + WINEPREFIX = "$HOME/.local/share/wineprefix/default"; }; # Let Home Manager install and manage itself. diff --git a/modules/home-manager/hyprland.nix b/modules/home-manager/hyprland.nix index 18eccfc..e63db37 100644 --- a/modules/home-manager/hyprland.nix +++ b/modules/home-manager/hyprland.nix @@ -308,14 +308,16 @@ in { "$menu" = "tofi"; "$terminal" = "foot"; + exec = [ + # Fix laptop monitor getting turned on while my external monitor connected + "hyprctl monitors | grep 'HDMI' && hyprctl keyword monitor 'eDP-1, disable'" + ]; + exec-once = [ "wl-paste --type text --watch cliphist store" # Stores only text data "wl-paste --type image --watch cliphist store" # Stores only image data "keepassxc" # Startup my password manager "waybar" # Start waybar on start - - # Fix laptop monitor getting turned on while my external monitor connected - "hyprctl monitors | grep 'HDMI' && hyprctl keyword monitor 'eDP-1, disable'" ]; monitor = [