Testing lib.mkForce
This commit is contained in:
+303
-313
File diff suppressed because it is too large
Load Diff
@@ -1672,7 +1672,6 @@ in
|
||||
# Ensure script exists in ~/.config/hypr/scripts/
|
||||
xdg.configFile."${targetRel}" = {
|
||||
source = lib.mkForce repoScript;
|
||||
backup = lib.mkForce false;
|
||||
executable = true;
|
||||
};
|
||||
}
|
||||
@@ -1821,7 +1820,6 @@ in
|
||||
ipc = true
|
||||
splash = false
|
||||
'';
|
||||
xdg.configFile."hypr/hyprpaper.conf".backup = lib.mkForce false;
|
||||
# Workspace wallpaper daemon: listens to socket2, applies w-<id>=... mapping
|
||||
# Uses workspacev2 to get numeric workspace id. :contentReference[oaicite:1]{index=1}
|
||||
xdg.configFile."${daemonRel}" = {
|
||||
@@ -1909,7 +1907,6 @@ in
|
||||
handle "''${line}" || true
|
||||
done
|
||||
'';
|
||||
backup = lib.mkForce false;
|
||||
};
|
||||
|
||||
# CLI setter in the style of your inspiration script.
|
||||
@@ -1959,7 +1956,6 @@ in
|
||||
hyprctl hyprpaper wallpaper "''${mon}, ''${wp}, fill" >/dev/null
|
||||
fi
|
||||
'';
|
||||
backup = lib.mkForce false;
|
||||
};
|
||||
|
||||
# Services
|
||||
@@ -2007,14 +2003,12 @@ in
|
||||
# Ensure config matches repo (HM-managed symlink, not user-editable)
|
||||
xdg.configFile."waybar/config" = {
|
||||
source = lib.mkForce repoWaybarDir + "/config.jsonc";
|
||||
backup = lib.mkForce false;
|
||||
force = true;
|
||||
};
|
||||
# Override HM's internally-generated waybar-style.css derivation
|
||||
# and use your repo file instead.
|
||||
xdg.configFile."waybar/style.css" = {
|
||||
source = lib.mkForce (repoWaybarDir + "/style.css");
|
||||
backup = lib.mkForce false;
|
||||
force = true;
|
||||
};
|
||||
# Prevent HM from also trying to generate style content via programs.waybar.style
|
||||
@@ -2036,9 +2030,7 @@ in
|
||||
{
|
||||
home.packages = [ pkgs.hyprlock ];
|
||||
xdg.configFile."hypr/lock.png".source = lib.mkForce lockPngSrc;
|
||||
xdg.configFile."hypr/lock.png".backup = lib.mkForce false;
|
||||
xdg.configFile."hypr/hyprlock.conf".source = lib.mkForce hyprlockConf;
|
||||
xdg.configFile."hypr/hyprlock.conf".backup = lib.mkForce false;
|
||||
}
|
||||
#+end_src
|
||||
|
||||
@@ -2052,7 +2044,6 @@ in
|
||||
{
|
||||
home.packages = [ pkgs.hypridle ];
|
||||
xdg.configFile."hypr/hypridle.conf".source = lib.mkForce hypridleConf;
|
||||
xdg.configFile."hypr/hypridle.conf".backup = lib.mkForce false ;
|
||||
}
|
||||
#+end_src
|
||||
|
||||
@@ -2377,7 +2368,6 @@ in
|
||||
xdg.enable = true;
|
||||
# Stable theme file so kitty.conf can include it without /nix/store paths
|
||||
xdg.configFile."kitty/themes/Catppuccin-Mocha.conf".text = lib.mkForce catppuccinMochaConf;
|
||||
xdg.configFile."kitty/themes/Catppuccin-Mocha.conf".backup = lib.mkForce false;
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
# Home Manager generates ~/.config/kitty/kitty.conf; we append in-order:
|
||||
|
||||
@@ -5,5 +5,4 @@ in
|
||||
{
|
||||
home.packages = [ pkgs.hypridle ];
|
||||
xdg.configFile."hypr/hypridle.conf".source = lib.mkForce hypridleConf;
|
||||
xdg.configFile."hypr/hypridle.conf".backup = lib.mkForce false ;
|
||||
}
|
||||
|
||||
@@ -6,7 +6,5 @@ in
|
||||
{
|
||||
home.packages = [ pkgs.hyprlock ];
|
||||
xdg.configFile."hypr/lock.png".source = lib.mkForce lockPngSrc;
|
||||
xdg.configFile."hypr/lock.png".backup = lib.mkForce false;
|
||||
xdg.configFile."hypr/hyprlock.conf".source = lib.mkForce hyprlockConf;
|
||||
xdg.configFile."hypr/hyprlock.conf".backup = lib.mkForce false;
|
||||
}
|
||||
|
||||
@@ -8,7 +8,6 @@ in
|
||||
# Ensure script exists in ~/.config/hypr/scripts/
|
||||
xdg.configFile."${targetRel}" = {
|
||||
source = lib.mkForce repoScript;
|
||||
backup = lib.mkForce false;
|
||||
executable = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -7,14 +7,12 @@ in
|
||||
# Ensure config matches repo (HM-managed symlink, not user-editable)
|
||||
xdg.configFile."waybar/config" = {
|
||||
source = lib.mkForce repoWaybarDir + "/config.jsonc";
|
||||
backup = lib.mkForce false;
|
||||
force = true;
|
||||
};
|
||||
# Override HM's internally-generated waybar-style.css derivation
|
||||
# and use your repo file instead.
|
||||
xdg.configFile."waybar/style.css" = {
|
||||
source = lib.mkForce (repoWaybarDir + "/style.css");
|
||||
backup = lib.mkForce false;
|
||||
force = true;
|
||||
};
|
||||
# Prevent HM from also trying to generate style content via programs.waybar.style
|
||||
|
||||
@@ -34,7 +34,6 @@ in
|
||||
ipc = true
|
||||
splash = false
|
||||
'';
|
||||
xdg.configFile."hypr/hyprpaper.conf".backup = lib.mkForce false;
|
||||
# Workspace wallpaper daemon: listens to socket2, applies w-<id>=... mapping
|
||||
# Uses workspacev2 to get numeric workspace id. :contentReference[oaicite:1]{index=1}
|
||||
xdg.configFile."${daemonRel}" = {
|
||||
@@ -122,7 +121,6 @@ in
|
||||
handle "''${line}" || true
|
||||
done
|
||||
'';
|
||||
backup = lib.mkForce false;
|
||||
};
|
||||
|
||||
# CLI setter in the style of your inspiration script.
|
||||
@@ -172,7 +170,6 @@ in
|
||||
hyprctl hyprpaper wallpaper "''${mon}, ''${wp}, fill" >/dev/null
|
||||
fi
|
||||
'';
|
||||
backup = lib.mkForce false;
|
||||
};
|
||||
|
||||
# Services
|
||||
|
||||
@@ -10,7 +10,6 @@ in
|
||||
xdg.enable = true;
|
||||
# Stable theme file so kitty.conf can include it without /nix/store paths
|
||||
xdg.configFile."kitty/themes/Catppuccin-Mocha.conf".text = lib.mkForce catppuccinMochaConf;
|
||||
xdg.configFile."kitty/themes/Catppuccin-Mocha.conf".backup = lib.mkForce false;
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
# Home Manager generates ~/.config/kitty/kitty.conf; we append in-order:
|
||||
|
||||
Reference in New Issue
Block a user