oscar: Set home-manager backupFileExtension

This was used for atuin, where I wanted to install a new config file
over an old one, but atuin kept recreating the old one if I removed it.
This commit is contained in:
Chandler Swift 2024-11-18 19:41:09 -06:00
parent b1f686c397
commit 40b86fb6d4
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F

View file

@ -120,6 +120,7 @@
users.users.chandler.isNormalUser = true; users.users.chandler.isNormalUser = true;
users.users.chandler.description = "Chandler Swift"; users.users.chandler.description = "Chandler Swift";
users.users.chandler.extraGroups = [ "networkmanager" "wheel" "dialout" "cdrom" "plugdev" ]; users.users.chandler.extraGroups = [ "networkmanager" "wheel" "dialout" "cdrom" "plugdev" ];
home-manager.backupFileExtension = "backup";
home-manager.users.chandler = { pkgs, ... }: { home-manager.users.chandler = { pkgs, ... }: {
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [