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 = { xdg.portal = {
enable = true; enable = true;
configPackages = [pkgs.xdg-desktop-portal-hyprland]; configPackages = [inputs.nixpkgsUnstable.legacyPackages."${pkgs.system}".xdg-desktop-portal-hyprland];
extraPortals = [pkgs.xdg-desktop-portal-hyprland]; extraPortals = [inputs.nixpkgsUnstable.legacyPackages."${pkgs.system}".xdg-desktop-portal-hyprland];
}; };
programs.waybar.settings = { programs.waybar.settings = {
@ -116,10 +116,10 @@
''; '';
hyprnome = lib.getExe pkgs.hyprnome; hyprnome = lib.getExe inputs.nixpkgsUnstable.legacyPackages."${pkgs.system}".hyprnome;
hyprshade = lib.getExe pkgs.hyprshade; 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_folder = "~/pics/screenshots";
screenshot_screen = "${screenshot} -m output -o ${screenshot_folder}"; screenshot_screen = "${screenshot} -m output -o ${screenshot_folder}";
screenshot_region = "${screenshot} -m region -o ${screenshot_folder}"; screenshot_region = "${screenshot} -m region -o ${screenshot_folder}";
@ -371,7 +371,7 @@
# Extra bindings for petalburg. # Extra bindings for petalburg.
bind = , xf86launch4, exec, pp-adjuster 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} bind = , xf86launch2, exec, ${media_play}
# Screenshot with hyprshot. # Screenshot with hyprshot.

View file

@ -3,6 +3,7 @@
lib, lib,
config, config,
osConfig, osConfig,
inputs,
... ...
}: { }: {
options = { options = {
@ -12,7 +13,7 @@
config = lib.mkIf config.alyraffauf.desktop.hyprland.hypridle.enable { config = lib.mkIf config.alyraffauf.desktop.hyprland.hypridle.enable {
# Packages that should be installed to the user profile. # 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 = '' xdg.configFile."hypr/hypridle.conf".text = ''
general { general {

View file

@ -2,6 +2,7 @@
pkgs, pkgs,
lib, lib,
config, config,
inputs,
... ...
}: { }: {
options = { options = {
@ -11,7 +12,7 @@
config = lib.mkIf config.alyraffauf.desktop.hyprland.hyprlock.enable { config = lib.mkIf config.alyraffauf.desktop.hyprland.hyprlock.enable {
# Packages that should be installed to the user profile. # 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; xdg.configFile."hypr/hyprlock.conf".source = ./hyprlock.conf;
}; };

View file

@ -2,6 +2,7 @@
pkgs, pkgs,
lib, lib,
config, config,
inputs,
... ...
}: { }: {
imports = [./hyprpaper-random.nix]; imports = [./hyprpaper-random.nix];
@ -13,7 +14,7 @@
config = lib.mkIf config.alyraffauf.desktop.hyprland.hyprpaper.enable { config = lib.mkIf config.alyraffauf.desktop.hyprland.hyprpaper.enable {
# Packages that should be installed to the user profile. # 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 = '' xdg.configFile."hypr/hyprpaper.conf".text = ''
preload = ${config.alyraffauf.desktop.theme.wallpaper} preload = ${config.alyraffauf.desktop.theme.wallpaper}

View file

@ -2,6 +2,7 @@
pkgs, pkgs,
lib, lib,
config, config,
inputs,
... ...
}: { }: {
options = { options = {
@ -11,7 +12,7 @@
config = lib.mkIf config.alyraffauf.desktop.hyprland.hyprshade.enable { config = lib.mkIf config.alyraffauf.desktop.hyprland.hyprshade.enable {
# Packages that should be installed to the user profile. # 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 = '' xdg.configFile."hypr/shaders/custom-blue-light-filter.glsl".text = ''
// from https://github.com/hyprwm/Hyprland/issues/1140#issuecomment-1335128437 // from https://github.com/hyprwm/Hyprland/issues/1140#issuecomment-1335128437