summaryrefslogtreecommitdiff
path: root/nix_archive/nix
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-11-21 14:50:30 -0500
committerAndrew Opalach <andrew@akon.city> 2025-11-21 14:50:30 -0500
commit61c027738785e0585202b7b3a828e05344510f66 (patch)
tree1a900c432c62b74e0e66d6f8f346030af8b187ec /nix_archive/nix
parent44edb4b57655de5b21c51d0471e2ea02ac469c0c (diff)
downloaddotfiles-61c027738785e0585202b7b3a828e05344510f66.tar.gz
dotfiles-61c027738785e0585202b7b3a828e05344510f66.tar.bz2
dotfiles-61c027738785e0585202b7b3a828e05344510f66.zip
Tweaks
Diffstat (limited to 'nix_archive/nix')
-rw-r--r--nix_archive/nix/programs/bash.nix1
-rw-r--r--nix_archive/nix/system.nix2
2 files changed, 3 insertions, 0 deletions
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 = "*";