diff --git a/homeManagerModules/desktop/hypr/default.nix b/homeManagerModules/desktop/hypr/default.nix index fed650f1..06b9f92c 100644 --- a/homeManagerModules/desktop/hypr/default.nix +++ b/homeManagerModules/desktop/hypr/default.nix @@ -52,8 +52,8 @@ xdg.portal = { enable = true; - configPackages = [pkgs.xdg-desktop-portal-hyprland]; - extraPortals = [pkgs.xdg-desktop-portal-hyprland]; + configPackages = [inputs.nixpkgsUnstable.legacyPackages."${pkgs.system}".xdg-desktop-portal-hyprland]; + extraPortals = [inputs.nixpkgsUnstable.legacyPackages."${pkgs.system}".xdg-desktop-portal-hyprland]; }; programs.waybar.settings = { @@ -116,10 +116,10 @@ ''; - hyprnome = lib.getExe pkgs.hyprnome; - hyprshade = lib.getExe pkgs.hyprshade; + hyprnome = lib.getExe inputs.nixpkgsUnstable.legacyPackages."${pkgs.system}".hyprnome; + hyprshade = lib.getExe inputs.nixpkgsUnstable.legacyPackages."${pkgs.system}".hyprshade; - screenshot = lib.getExe pkgs.hyprshot; + screenshot = lib.getExe inputs.nixpkgsUnstable.legacyPackages."${pkgs.system}".hyprshot; screenshot_folder = "~/pics/screenshots"; screenshot_screen = "${screenshot} -m output -o ${screenshot_folder}"; screenshot_region = "${screenshot} -m region -o ${screenshot_folder}"; @@ -371,7 +371,7 @@ # Extra bindings for petalburg. bind = , xf86launch4, exec, pp-adjuster - bind = , xf86launch1, exec, ${pkgs.hyprshade}/bin/hyprshade toggle + bind = , xf86launch1, exec, ${inputs.nixpkgsUnstable.legacyPackages."${pkgs.system}".hyprshade}/bin/hyprshade toggle bind = , xf86launch2, exec, ${media_play} # Screenshot with hyprshot. diff --git a/homeManagerModules/desktop/hypr/hypridle/default.nix b/homeManagerModules/desktop/hypr/hypridle/default.nix index 238382bb..3f6984aa 100644 --- a/homeManagerModules/desktop/hypr/hypridle/default.nix +++ b/homeManagerModules/desktop/hypr/hypridle/default.nix @@ -3,6 +3,7 @@ lib, config, osConfig, + inputs, ... }: { options = { @@ -12,7 +13,7 @@ config = lib.mkIf config.alyraffauf.desktop.hyprland.hypridle.enable { # Packages that should be installed to the user profile. - home.packages = with pkgs; [hypridle]; + home.packages = with pkgs; [inputs.nixpkgsUnstable.legacyPackages."${pkgs.system}".hypridle]; xdg.configFile."hypr/hypridle.conf".text = '' general { diff --git a/homeManagerModules/desktop/hypr/hyprlock/default.nix b/homeManagerModules/desktop/hypr/hyprlock/default.nix index e9fad8ca..856fd635 100644 --- a/homeManagerModules/desktop/hypr/hyprlock/default.nix +++ b/homeManagerModules/desktop/hypr/hyprlock/default.nix @@ -2,6 +2,7 @@ pkgs, lib, config, + inputs, ... }: { options = { @@ -11,7 +12,7 @@ config = lib.mkIf config.alyraffauf.desktop.hyprland.hyprlock.enable { # Packages that should be installed to the user profile. - home.packages = with pkgs; [hyprlock]; + home.packages = with pkgs; [inputs.nixpkgsUnstable.legacyPackages."${pkgs.system}".hyprlock]; xdg.configFile."hypr/hyprlock.conf".source = ./hyprlock.conf; }; diff --git a/homeManagerModules/desktop/hypr/hyprpaper/default.nix b/homeManagerModules/desktop/hypr/hyprpaper/default.nix index 2bc8dedf..5c44090e 100644 --- a/homeManagerModules/desktop/hypr/hyprpaper/default.nix +++ b/homeManagerModules/desktop/hypr/hyprpaper/default.nix @@ -2,6 +2,7 @@ pkgs, lib, config, + inputs, ... }: { imports = [./hyprpaper-random.nix]; @@ -13,7 +14,7 @@ config = lib.mkIf config.alyraffauf.desktop.hyprland.hyprpaper.enable { # Packages that should be installed to the user profile. - home.packages = with pkgs; [hyprpaper]; + home.packages = with pkgs; [inputs.nixpkgsUnstable.legacyPackages."${pkgs.system}".hyprpaper]; xdg.configFile."hypr/hyprpaper.conf".text = '' preload = ${config.alyraffauf.desktop.theme.wallpaper} diff --git a/homeManagerModules/desktop/hypr/hyprshade/default.nix b/homeManagerModules/desktop/hypr/hyprshade/default.nix index 6daaec6a..7630d923 100644 --- a/homeManagerModules/desktop/hypr/hyprshade/default.nix +++ b/homeManagerModules/desktop/hypr/hyprshade/default.nix @@ -2,6 +2,7 @@ pkgs, lib, config, + inputs, ... }: { options = { @@ -11,7 +12,7 @@ config = lib.mkIf config.alyraffauf.desktop.hyprland.hyprshade.enable { # Packages that should be installed to the user profile. - home.packages = with pkgs; [hyprshade]; + home.packages = with pkgs; [inputs.nixpkgsUnstable.legacyPackages."${pkgs.system}".hyprshade]; xdg.configFile."hypr/shaders/custom-blue-light-filter.glsl".text = '' // from https://github.com/hyprwm/Hyprland/issues/1140#issuecomment-1335128437