mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-09-10 12:50:05 +00:00
✨ Add user activation script, which removes home manager backup files
This commit is contained in:
parent
01b1273012
commit
6dc0e02a92
2 changed files with 14 additions and 14 deletions
14
modules/nixos/services/home-manager/default.nix
Normal file
14
modules/nixos/services/home-manager/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{...}: {
|
||||
# Todo: rewrite as recursive operation, based on ${namespace}.users
|
||||
system.userActivationScripts = {
|
||||
removeConflictingHomeManagerBackups = {
|
||||
text = ''
|
||||
rm -f /home/jo/.gtkrc-2.0.homeManagerBackupFileExtension
|
||||
rm -f /home/jo/.config/gtk-3.0/gtk.css.homeManagerBackupFileExtension
|
||||
rm -f /home/jo/.config/gtk-4.0/gtk.css.homeManagerBackupFileExtension
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
home-manager.backupFileExtension = "homeManagerBackupFileExtension";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue