Skip to content

Commit

Permalink
refactor(home/pkgs/system): migrate hyprpaper to hyprland module (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
piyoki committed Sep 3, 2024
1 parent fef4b63 commit 73835fe
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 0 additions & 1 deletion home/packages/windowmanager/system/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

{
home.packages = with pkgs; [
hyprpaper
inputs.nixpkgs-wayland.packages.${system}.waybar # (nightly) wayland-based bar/dock
inputs.nixpkgs-wayland.packages.${system}.swayidle # idle management daemon
inputs.nixpkgs-wayland.packages.${system}.swaylock-effects # screenlock daemon
Expand Down
1 change: 1 addition & 0 deletions system/services/windowmanager/hyprland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

{
imports = [
./hyprpaper.nix
./pyprland.nix
./xdg-portal.nix
];
Expand Down
9 changes: 9 additions & 0 deletions system/services/windowmanager/hyprland/hyprpaper.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Reference:
# https://hyprland-community.github.io/pyprland/

{ pkgs, ... }:

{
# enable pyprland, the plugin manager for hyprland
environment.systemPackages = with pkgs; [ hyprpaper ];
}

0 comments on commit 73835fe

Please sign in to comment.