Suppress git warnings
This commit is contained in:
parent
e6f14133f6
commit
1169fbd15a
|
@ -7,7 +7,7 @@ in {
|
|||
home.packages = builtins.attrValues rec {
|
||||
maintenance = pkgs.writeShellScriptBin "maintenance" ''
|
||||
set -e
|
||||
git -C ~/git/config pull
|
||||
git -C ~/git/config pull --ff-only
|
||||
update-modes
|
||||
sudo -A update-system
|
||||
'';
|
||||
|
|
|
@ -23,7 +23,7 @@ in {
|
|||
StartLimitBurst=3;
|
||||
};
|
||||
script = ''
|
||||
/run/wrappers/bin/sudo -u ${user} git -C /etc/nixos pull
|
||||
/run/wrappers/bin/sudo -u ${user} git -C /etc/nixos pull --ff-only
|
||||
/var/cache/gc-links/result-system-hera/bin/switch-to-configuration switch
|
||||
/run/wrappers/bin/sudo -u ${user} /var/cache/gc-links/result-home-manager-hera/default/activate
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue