hyprland: move from module to user config

This commit is contained in:
Jordan Holt 2025-03-16 15:21:55 +00:00
parent 46383d5e75
commit 130197eeb8
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520
4 changed files with 32 additions and 52 deletions

View File

@ -69,7 +69,6 @@
};
};
system.desktop.gnome.enable = lib.mkForce false;
system.desktop.hyprland.enable = true;
};
system.stateVersion = "22.11";

View File

@ -6,7 +6,6 @@
./services/postgresql.nix
./services/tailscale.nix
./system/desktop/gnome.nix
./system/desktop/hyprland.nix
./system/desktop/mimeapps.nix
./system/wireless.nix
];

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

View File

@ -0,0 +1,32 @@
{
pkgs,
...
}:
{
programs.hyprland = {
enable = true;
# withUWSM = true;
};
# programs.uwsm.enable = true;
networking.networkmanager.enable = true;
home.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;
}