Migrate services from wrappers to systemd services

This commit is contained in:
SebastianStork 2024-08-14 00:54:54 +02:00
parent e1ba06a5fb
commit aceeeef689
13 changed files with 291 additions and 247 deletions

View file

@ -0,0 +1,33 @@
{
config,
pkgs,
lib,
wrappers,
...
}@moduleArgs:
{
options.myConfig.de.hyprland.enable = lib.mkEnableOption "" // {
default = moduleArgs.osConfig.myConfig.de.hyprland.enable or false;
};
config = lib.mkIf config.myConfig.de.hyprland.enable {
wayland.windowManager.hyprland.enable = true;
home.packages = [
(wrappers.rofi { inherit (config.myConfig) theme; })
pkgs.wl-clipboard
pkgs.playerctl
pkgs.brightnessctl
pkgs.grimblast
];
myConfig.de = {
hyprpaper.enable = true;
hypridle.enable = true;
waybar.enable = true;
cliphist.enable = true;
};
services.dunst.enable = true;
};
}