more modules
This commit is contained in:
27
config/modules/quickshell/quickshell.nix
Normal file
27
config/modules/quickshell/quickshell.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ den, modules, ... }:
|
||||
{
|
||||
modules.quickshell = {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
xdg.configFile."quickshell" = {
|
||||
recursive = true;
|
||||
source = pkgs.lib.file.mkOutOfStoreSymlink ./quickshell;
|
||||
};
|
||||
systemd.user.services.quickshell = {
|
||||
Unit = {
|
||||
Description = "Quickshell daemon";
|
||||
After = [ "hyprland-session.target" ];
|
||||
};
|
||||
Install = {
|
||||
WantedBy = [ "default.target" ];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${pkgs.quickshell}/bin/quickshell";
|
||||
Restart = "on-failure";
|
||||
RestartSec = "5s";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user