diff --git a/modules/home-manager/scripts/common/bin/nf b/modules/home-manager/scripts/common/bin/nf index 9eaef3f..bd14ef3 100755 --- a/modules/home-manager/scripts/common/bin/nf +++ b/modules/home-manager/scripts/common/bin/nf @@ -1,5 +1,6 @@ #!/usr/bin/env sh +umask 0077 SUBDIR="${2:-./}" mkdir -p "$NOTES_PATH/$SUBDIR" cd "$NOTES_PATH/$SUBDIR" || exit 1 diff --git a/modules/home-manager/scripts/common/bin/t b/modules/home-manager/scripts/common/bin/t new file mode 100755 index 0000000..e4fe30f --- /dev/null +++ b/modules/home-manager/scripts/common/bin/t @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +N todo diff --git a/modules/nixos/default.nix b/modules/nixos/default.nix index d30b015..a624257 100644 --- a/modules/nixos/default.nix +++ b/modules/nixos/default.nix @@ -400,6 +400,7 @@ troubleshooting-tools = {pkgs, ...}: { environment.systemPackages = with pkgs; [ + iftop bottom btop dnsutils diff --git a/nixos/router.nix b/nixos/router.nix index 447c9d4..3dca964 100644 --- a/nixos/router.nix +++ b/nixos/router.nix @@ -96,6 +96,10 @@ in { } ]; + environment.systemPackages = with pkgs; [ + iftop + ]; + boot.kernel.sysctl = sysctl-entries // {