2024-06-14 21:48:43 +01:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
(writeShellScriptBin "sb-updates" ''
|
2024-07-20 17:34:53 +01:00
|
|
|
# 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] "
|
2024-06-14 21:48:43 +01:00
|
|
|
'')
|
|
|
|
];
|
|
|
|
}
|
|
|
|
|