fucking(refactored): everything
This commit is contained in:
@@ -1,19 +1,24 @@
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
system,
|
||||
...
|
||||
}:
|
||||
let
|
||||
pkg = inputs.quickshell.packages.${system}.quickshell;
|
||||
cfg = config.modules.quickshell;
|
||||
in
|
||||
{
|
||||
xdg.configFile."quickshell" = {
|
||||
options.modules.quickshell = {
|
||||
enable = lib.mkEnableOption "quickshell configuration module";
|
||||
};
|
||||
config.xdg.configFile."quickshell" = lib.mkIf cfg.enable {
|
||||
recursive = true;
|
||||
source = config.lib.file.mkOutOfStoreSymlink "/home/doloro/dotfiles/quickshell/";
|
||||
};
|
||||
systemd.user.services.quickshell = {
|
||||
config.systemd.user.services.quickshell = {
|
||||
Unit = {
|
||||
Description = "Quickshell daemon";
|
||||
After = [ "hyprland-session.target" ];
|
||||
|
||||
Reference in New Issue
Block a user