From 61c027738785e0585202b7b3a828e05344510f66 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Fri, 21 Nov 2025 14:50:30 -0500 Subject: Tweaks --- nix_archive/nix/programs/bash.nix | 1 + nix_archive/nix/system.nix | 2 ++ 2 files changed, 3 insertions(+) (limited to 'nix_archive/nix') diff --git a/nix_archive/nix/programs/bash.nix b/nix_archive/nix/programs/bash.nix index 571b4fe..cf18376 100644 --- a/nix_archive/nix/programs/bash.nix +++ b/nix_archive/nix/programs/bash.nix @@ -9,6 +9,7 @@ programs.bash = { enable = true; shellAliases = { + ls = "ls --ignore=lost+found --color=auto"; cp = "rsync -av"; top = "htop"; bc = "bc -l"; diff --git a/nix_archive/nix/system.nix b/nix_archive/nix/system.nix index 7aaebe6..46b6ad1 100644 --- a/nix_archive/nix/system.nix +++ b/nix_archive/nix/system.nix @@ -13,6 +13,8 @@ nixpkgs.config.allowUnfree = true; hardware.enableRedistributableFirmware = true; + boot.kernel.sysctl."kernel.yama.ptrace_scope" = "0"; + security.pam.loginLimits = [ { domain = "*"; -- cgit v1.2.3-101-g0448