hypr*: pull all packages from unstable

This commit is contained in:
Aly Raffauf 2024-05-26 00:37:20 -04:00
parent 04c22c3d50
commit 20661e087e
5 changed files with 14 additions and 10 deletions

View file

@ -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.

View file

@ -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 {

View file

@ -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;
};

View file

@ -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}

View file

@ -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