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