make quickshell a systemd service and fix home manager env startup failure
This commit is contained in:
parent
a0901bb4be
commit
e56d16e645
3 changed files with 3 additions and 26 deletions
|
|
@ -5,11 +5,6 @@
|
||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
|
||||||
palette = lib.strings.removePrefix "${pkgs.base16-schemes}/share/themes/" "${config.stylix.base16Scheme
|
|
||||||
}";
|
|
||||||
cleanPalette = lib.strings.removeSuffix ".yaml" "${palette}";
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./stylix.nix
|
./stylix.nix
|
||||||
|
|
@ -29,22 +24,7 @@ in
|
||||||
home.homeDirectory = "/home/lucy";
|
home.homeDirectory = "/home/lucy";
|
||||||
home.stateVersion = "26.05";
|
home.stateVersion = "26.05";
|
||||||
home.file.p10k = {
|
home.file.p10k = {
|
||||||
source = ./programs/p10k.zsh;
|
source = ./programs/p10k.zsh;
|
||||||
target = ".p10k.zsh";
|
target = ".p10k.zsh";
|
||||||
};
|
|
||||||
home.activation = {
|
|
||||||
wallpaper = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
|
||||||
${lib.getExe pkgs.lutgen} apply ${config.stylix.image} -p ${cleanPalette} -o ~/.walls/stylix-bars.png
|
|
||||||
'';
|
|
||||||
reloads =
|
|
||||||
lib.hm.dag.entryAfter
|
|
||||||
[
|
|
||||||
"writeBoundary"
|
|
||||||
]
|
|
||||||
''
|
|
||||||
${lib.getExe pkgs.quickshell} ipc call config reload true
|
|
||||||
${pkgs.systemd}/sbin/systemctl --user restart hyprpolkitagent.service
|
|
||||||
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,10 +22,6 @@ hl.monitor({
|
||||||
local terminal = "ghostty +new-window"
|
local terminal = "ghostty +new-window"
|
||||||
local fileManager = "thunar"
|
local fileManager = "thunar"
|
||||||
local menu = "fuzzel"
|
local menu = "fuzzel"
|
||||||
|
|
||||||
hl.on("hyprland.start", function()
|
|
||||||
hl.exec_cmd("qs")
|
|
||||||
end)
|
|
||||||
hl.config({
|
hl.config({
|
||||||
general = {
|
general = {
|
||||||
gaps_in = 5,
|
gaps_in = 5,
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
programs.quickshell.enable = true;
|
programs.quickshell.enable = true;
|
||||||
|
programs.quickshell.systemd.enable = true;
|
||||||
programs.fuzzel.enable = true;
|
programs.fuzzel.enable = true;
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
services.syncthing.enable = true;
|
services.syncthing.enable = true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue