mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 00:53:55 -05:00
hypr*: pull all packages from unstable
This commit is contained in:
parent
04c22c3d50
commit
20661e087e
|
@ -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.
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue