Testing lib.mkForce

This commit is contained in:
2026-03-01 17:35:13 +01:00
parent 628fd8e9fb
commit fe3a3f6ceb
6 changed files with 303 additions and 327 deletions
+303 -311
View File
File diff suppressed because it is too large Load Diff
-8
View File
@@ -2125,9 +2125,7 @@ in
home.packages = [ pkgs.hyprshell ]; home.packages = [ pkgs.hyprshell ];
# Link repo -> ~/.config/hyprshell/... # Link repo -> ~/.config/hyprshell/...
xdg.configFile."hyprshell/config.ron".source = lib.mkForce cfgRon; xdg.configFile."hyprshell/config.ron".source = lib.mkForce cfgRon;
xdg.configFile."hyprshell/config.ron".backup = lib.mkForce false;
xdg.configFile."hyprshell/styles.css".source = lib.mkForce cssFile; xdg.configFile."hyprshell/styles.css".source = lib.mkForce cssFile;
xdg.configFile."hyprshell/styles.css".backup = lib.mkForce false;
# Autostart (systemd user service) # Autostart (systemd user service)
systemd.user.services.hyprshell = { systemd.user.services.hyprshell = {
Unit = { Unit = {
@@ -2174,7 +2172,6 @@ in
}; };
xdg.configFile."hypr/scripts/lid-lock.sh" = { xdg.configFile."hypr/scripts/lid-lock.sh" = {
source = lib.mkForce flakeRoot + "/assets/conf/desktop/hypr/scripts/lid-lock.sh"; source = lib.mkForce flakeRoot + "/assets/conf/desktop/hypr/scripts/lid-lock.sh";
backup = lib.mkForce false;
executable = true; executable = true;
}; };
xdg.portal = { xdg.portal = {
@@ -2216,13 +2213,9 @@ in
home.packages = [ walkerPkg elephantPkg ]; home.packages = [ walkerPkg elephantPkg ];
# ~/.config/walker/themes/* # ~/.config/walker/themes/*
xdg.configFile."walker/themes/frosted/default.css".source = lib.mkForce repoThemesDir + "/themes/frosted/default.css"; xdg.configFile."walker/themes/frosted/default.css".source = lib.mkForce repoThemesDir + "/themes/frosted/default.css";
xdg.configFile."walker/themes/frosted/default.css".backup = lib.mkForce false;
xdg.configFile."walker/themes/frosted/style.css".source = repoThemesDir + "/themes/frosted/style.css"; xdg.configFile."walker/themes/frosted/style.css".source = repoThemesDir + "/themes/frosted/style.css";
xdg.configFile."walker/themes/frosted/style.css".backup = lib.mkForce false;
xdg.configFile."walker/config.toml".source = repoThemesDir + "/config.toml"; xdg.configFile."walker/config.toml".source = repoThemesDir + "/config.toml";
xdg.configFile."walker/config.toml".backup = lib.mkForce false;
# xdg.configFile."walker/themes/default.html".source = lib.mkForce repoThemesDir + "/default.html"; # xdg.configFile."walker/themes/default.html".source = lib.mkForce repoThemesDir + "/default.html";
# xdg.configFile."walker/themes/default.html".backup = lib.mkForce false;
# (services unchanged) # (services unchanged)
systemd.user.services.elephant = { /* ... your existing service ... */ }; systemd.user.services.elephant = { /* ... your existing service ... */ };
systemd.user.services.walker = { /* ... your existing service ... */ }; systemd.user.services.walker = { /* ... your existing service ... */ };
@@ -2317,7 +2310,6 @@ in
programs.alacritty.enable = true; programs.alacritty.enable = true;
# Override the config generated by programs.alacritty # Override the config generated by programs.alacritty
xdg.configFile."alacritty/alacritty.toml".source = lib.mkForce repoAlacrittyConf; xdg.configFile."alacritty/alacritty.toml".source = lib.mkForce repoAlacrittyConf;
xdg.configFile."alacritty/alacritty.toml".backup = lib.mkForce false
catppuccin.alacritty.enable = true; catppuccin.alacritty.enable = true;
catppuccin.alacritty.flavor = "mocha"; catppuccin.alacritty.flavor = "mocha";
} }
-1
View File
@@ -21,7 +21,6 @@ in
}; };
xdg.configFile."hypr/scripts/lid-lock.sh" = { xdg.configFile."hypr/scripts/lid-lock.sh" = {
source = lib.mkForce flakeRoot + "/assets/conf/desktop/hypr/scripts/lid-lock.sh"; source = lib.mkForce flakeRoot + "/assets/conf/desktop/hypr/scripts/lid-lock.sh";
backup = lib.mkForce false;
executable = true; executable = true;
}; };
xdg.portal = { xdg.portal = {
-2
View File
@@ -10,9 +10,7 @@ in
home.packages = [ pkgs.hyprshell ]; home.packages = [ pkgs.hyprshell ];
# Link repo -> ~/.config/hyprshell/... # Link repo -> ~/.config/hyprshell/...
xdg.configFile."hyprshell/config.ron".source = lib.mkForce cfgRon; xdg.configFile."hyprshell/config.ron".source = lib.mkForce cfgRon;
xdg.configFile."hyprshell/config.ron".backup = lib.mkForce false;
xdg.configFile."hyprshell/styles.css".source = lib.mkForce cssFile; xdg.configFile."hyprshell/styles.css".source = lib.mkForce cssFile;
xdg.configFile."hyprshell/styles.css".backup = lib.mkForce false;
# Autostart (systemd user service) # Autostart (systemd user service)
systemd.user.services.hyprshell = { systemd.user.services.hyprshell = {
Unit = { Unit = {
-4
View File
@@ -17,13 +17,9 @@ in
home.packages = [ walkerPkg elephantPkg ]; home.packages = [ walkerPkg elephantPkg ];
# ~/.config/walker/themes/* # ~/.config/walker/themes/*
xdg.configFile."walker/themes/frosted/default.css".source = lib.mkForce repoThemesDir + "/themes/frosted/default.css"; xdg.configFile."walker/themes/frosted/default.css".source = lib.mkForce repoThemesDir + "/themes/frosted/default.css";
xdg.configFile."walker/themes/frosted/default.css".backup = lib.mkForce false;
xdg.configFile."walker/themes/frosted/style.css".source = repoThemesDir + "/themes/frosted/style.css"; xdg.configFile."walker/themes/frosted/style.css".source = repoThemesDir + "/themes/frosted/style.css";
xdg.configFile."walker/themes/frosted/style.css".backup = lib.mkForce false;
xdg.configFile."walker/config.toml".source = repoThemesDir + "/config.toml"; xdg.configFile."walker/config.toml".source = repoThemesDir + "/config.toml";
xdg.configFile."walker/config.toml".backup = lib.mkForce false;
# xdg.configFile."walker/themes/default.html".source = lib.mkForce repoThemesDir + "/default.html"; # xdg.configFile."walker/themes/default.html".source = lib.mkForce repoThemesDir + "/default.html";
# xdg.configFile."walker/themes/default.html".backup = lib.mkForce false;
# (services unchanged) # (services unchanged)
systemd.user.services.elephant = { /* ... your existing service ... */ }; systemd.user.services.elephant = { /* ... your existing service ... */ };
systemd.user.services.walker = { /* ... your existing service ... */ }; systemd.user.services.walker = { /* ... your existing service ... */ };
-1
View File
@@ -7,7 +7,6 @@ in
programs.alacritty.enable = true; programs.alacritty.enable = true;
# Override the config generated by programs.alacritty # Override the config generated by programs.alacritty
xdg.configFile."alacritty/alacritty.toml".source = lib.mkForce repoAlacrittyConf; xdg.configFile."alacritty/alacritty.toml".source = lib.mkForce repoAlacrittyConf;
xdg.configFile."alacritty/alacritty.toml".backup = lib.mkForce false
catppuccin.alacritty.enable = true; catppuccin.alacritty.enable = true;
catppuccin.alacritty.flavor = "mocha"; catppuccin.alacritty.flavor = "mocha";
} }