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