Added pre-delete

This commit is contained in:
2026-03-04 08:35:03 +01:00
parent 2f2af033a7
commit ebb32ae16d
+6
View File
@@ -703,6 +703,12 @@ We also add a devshell that makes editing this repository easier in emacs.
package = hyprland.packages.${pkgs.system}.hyprland;
};
})
# cleaning up
system.activationScripts.cleanBackup = ''
#!${pkgs.runtimeShell}
find ${config.home.homeDirectory}/.config -name "*.backup" -delete
'';
})
<<flake-emacs-module>>
<<flake-config-module>>
<<flake-home-module>>