Disabled sb-updates script
This commit is contained in:
parent
cf8c449e5e
commit
04782f64f5
|
@ -2,12 +2,12 @@
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
(writeShellScriptBin "sb-updates" ''
|
(writeShellScriptBin "sb-updates" ''
|
||||||
# Gets number of flake inputs that are ready for update
|
# Gets number of flake inputs that are ready for update
|
||||||
# Checks every 60 minutes
|
# Checks every 60 minutes
|
||||||
inputs=$(cd /etc/nixos &&
|
# inputs=$(cd /etc/nixos &&
|
||||||
nix flake update --output-lock-file <(cat flake.nix) 2> /tmp/update &&
|
# nix flake update --output-lock-file <(cat flake.nix) 2> /tmp/update &&
|
||||||
cat /tmp/update | grep -c Update)
|
# cat /tmp/update | grep -c Update)
|
||||||
printf "[ $inputs] "
|
# printf "[ $inputs] "
|
||||||
'')
|
'')
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue