Disabled sb-updates script

This commit is contained in:
Sam 2024-07-20 17:34:53 +01:00
parent cf8c449e5e
commit 04782f64f5
1 changed files with 6 additions and 6 deletions

View File

@ -4,10 +4,10 @@
(writeShellScriptBin "sb-updates" ''
# Gets number of flake inputs that are ready for update
# Checks every 60 minutes
inputs=$(cd /etc/nixos &&
nix flake update --output-lock-file <(cat flake.nix) 2> /tmp/update &&
cat /tmp/update | grep -c Update)
printf "[ $inputs] "
# inputs=$(cd /etc/nixos &&
# nix flake update --output-lock-file <(cat flake.nix) 2> /tmp/update &&
# cat /tmp/update | grep -c Update)
# printf "[ $inputs] "
'')
];
}