summaryrefslogtreecommitdiff
path: root/nix_archive/nix
diff options
context:
space:
mode:
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 = "*";