reorganize and fix searxng
This commit is contained in:
26
homes/nathan/home-manager/programs/quickshell/default.nix
Normal file
26
homes/nathan/home-manager/programs/quickshell/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ config, lib, ... }: {
|
||||
|
||||
options.homeconfig.quickshell.enable = with lib; mkOption {
|
||||
type = with types; bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.homeconfig.quickshell.enable {
|
||||
|
||||
programs.quickshell = {
|
||||
enable = true;
|
||||
|
||||
configs = {
|
||||
|
||||
default = config.homeDirectory + "/${config.home.file.".config/quickshell".target}";
|
||||
};
|
||||
|
||||
systemd = {
|
||||
enable = true;
|
||||
target = lib.mkIf config.homeconfig.hyprland.enable "wayland-session@Hyprland.target";
|
||||
};
|
||||
|
||||
activeConfig = "default";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user