From ad00582a90600e315ad519a827b5b6236792e134 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Sun, 15 Jan 2023 21:37:30 +0100 Subject: [PATCH] Added nl wifi password --- home/adrielus/features/cli/default.nix | 6 +----- home/adrielus/features/cli/direnv.nix | 11 +++++++++++ hosts/nixos/common/global/wireless/default.nix | 1 + .../common/global/wireless/wifi_passwords.age | Bin 486 -> 564 bytes 4 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 home/adrielus/features/cli/direnv.nix diff --git a/home/adrielus/features/cli/default.nix b/home/adrielus/features/cli/default.nix index 16bde62..9268a0b 100644 --- a/home/adrielus/features/cli/default.nix +++ b/home/adrielus/features/cli/default.nix @@ -1,13 +1,9 @@ { pkgs, ... }: { - imports = [ ./bat.nix ./ssh.nix ./fish.nix ./tmux ./git.nix ./starship.nix ]; + imports = [ ./bat.nix ./ssh.nix ./fish.nix ./tmux ./git.nix ./starship.nix ./direnv.nix ]; # Enable bash programs.bash.enable = true; - # Enable direnv - programs.direnv.enable = true; - programs.direnv.nix-direnv.enable = true; - # Install clis home.packages = with pkgs; [ tree # Print directory structure diff --git a/home/adrielus/features/cli/direnv.nix b/home/adrielus/features/cli/direnv.nix new file mode 100644 index 0000000..6b32dc0 --- /dev/null +++ b/home/adrielus/features/cli/direnv.nix @@ -0,0 +1,11 @@ +{ + programs.direnv.enable = true; + programs.nix-direnv.enable = true; + + home.sessionVariables = { + # No more long command warnings + DIRENV_WARN_TIMEOUT = "24h"; + # No more usesless logs + DIRENV_LOG_FORMAT = ""; + }; +} diff --git a/hosts/nixos/common/global/wireless/default.nix b/hosts/nixos/common/global/wireless/default.nix index 57c4d75..13b0ad5 100644 --- a/hosts/nixos/common/global/wireless/default.nix +++ b/hosts/nixos/common/global/wireless/default.nix @@ -11,6 +11,7 @@ networks = { "Neptune".psk = "@PHONE_HOTSPOT_PASS@"; "TP-Link_522C".psk = "@TG_HOME_PASS@"; + "Sailhorse".psk = "@NL_SAILHORSE_PASS@"; }; # Imperative diff --git a/hosts/nixos/common/global/wireless/wifi_passwords.age b/hosts/nixos/common/global/wireless/wifi_passwords.age index 62d7912275968ecdc849a76b9cdcb0e5b9b262d4..707ebe4c4e81e46f1467ff3165aaf3cae865880b 100644 GIT binary patch delta 531 zcmWm7yNlCc008iVQ-t6H1jmC8;!#KM6fCx{Ome5`Vdi-RI4+#o0-{{DgAm*vHQ`RSPj(FF1Z#izQ| zc;uA~h19$;TZZ&hHuZWu&r3m~lpE>;9UCb~4ng3!5&)=fknNzrPyLaaNd-`|O;5H{ zuHe{8!?!T}LIj~M4h@o`;!MP~+A1qV8d{tjidu}20~8~qfiWWzWW6R&D`BOo3B9)6 zmrXMv8?a|#wdlm2&>$tUq)^n$e2rhNP$t*n2W~-*R;-Rp7A(_{8barPSJ}X=5mXV3 zAW4r*vtDT(qq?TX_<-R+ON1sT0;1{WQ8G#e`6BFlOm-&nsL`RTsO0qZ6bSi2AO&1k z<>=gMPYXTFH<&6I2N^BAqGp}A$q}}zOq^;AHp&y(F)g7CVt(13(i~ePE+<+nBXJ&+ z^F77Zsu>PLynx|29)Sbjplz+6blORjaA6aUc-xz?Fl1fFQ(N`YpeC33Ogl;l*v8ZK zPb=rsKLAK|YFqE`om{A2>mSa=&1;*l4h@%1ynOKH{>s%~XLi=EKU;qB*!#O%`n;#y zKKstyeBLbFeEaCPOdq{?V}I+(t)1!ZGSXYW@2_!OH5WtS1>_!S}%86S4m}LL}_kXcsXe+XJ%Jbb88AURXB20 zHcM$UL}X%5Nkdu+EiEk|Lw9dsI5AjrX>e9#PcUd|IZ4OwX7<*BOcHNdbAL5y;H6AEl(X^1ls!G|`d%*d1N^&+#2lxX))Wnq uez%Bqy8}7JT9MAA_#4x8ygV