hyprland: move from module to user config

This commit is contained in:
2025-03-16 15:21:55 +00:00
parent 46383d5e75
commit 130197eeb8
4 changed files with 32 additions and 52 deletions

View File

@ -1,50 +0,0 @@
{
config,
lib,
pkgs,
...
}:
let
inherit (lib)
mkIf
mkOption
;
cfg = config.modules.system.desktop.hyprland;
in
{
options.modules.system.desktop.hyprland = {
enable = mkOption {
default = false;
example = true;
};
};
config = mkIf cfg.enable {
programs.hyprland = {
enable = true;
# withUWSM = true;
};
# programs.uwsm.enable = true;
networking.networkmanager.enable = true;
user.packages = with pkgs.unstable; [
anyrun
clipse
dunst
hyprpaper
kitty
mpv
waybar
wl-clipboard
];
environment.systemPackages = with pkgs; [
adw-gtk3
];
home.services.gpg-agent.pinentryPackage = pkgs.pinentry-gnome3;
};
}