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 62d7912..707ebe4 100644 Binary files a/hosts/nixos/common/global/wireless/wifi_passwords.age and b/hosts/nixos/common/global/wireless/wifi_passwords.age differ