diff options
author | Alex Auvolat <alex@adnab.me> | 2023-01-18 15:25:35 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-01-18 15:25:35 +0100 |
commit | 011e64f047d1cf0108779f3a1516e00478056276 (patch) | |
tree | 1c72580f1955f284afb590ac35cd85b464f8131c | |
parent | 5a3b6d80405c3319089104a6b3120094ce6e25ba (diff) | |
download | user-config-011e64f047d1cf0108779f3a1516e00478056276.tar.gz user-config-011e64f047d1cf0108779f3a1516e00478056276.zip |
Enable direnv and nix deuxfleurs cache
-rw-r--r-- | nixos/common.nix | 2 | ||||
-rw-r--r-- | nixpkgs/common.nix | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/nixos/common.nix b/nixos/common.nix index 798fbc0..a967e7d 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -62,6 +62,8 @@ nix.gc.automatic = true; nix.gc.options = "--delete-older-than 30d"; nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix.settings.substituters = [ "https://nix.web.deuxfleurs.fr" ]; + nix.settings.trusted-public-keys = [ "nix.web.deuxfleurs.fr:eTGL6kvaQn6cDR/F9lDYUIP9nCVR/kkshYfLDJf1yKs=" ]; environment.systemPackages = with pkgs; [ home-manager diff --git a/nixpkgs/common.nix b/nixpkgs/common.nix index 7ecdb89..75d2ce5 100644 --- a/nixpkgs/common.nix +++ b/nixpkgs/common.nix @@ -1,6 +1,11 @@ { pkgs, ... }: { home.username = "lx"; + programs.direnv = { + enable = true; + enableBashIntegration = true; + }; + programs.bash = { enable = true; shellAliases = { |