From 011e64f047d1cf0108779f3a1516e00478056276 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 18 Jan 2023 15:25:35 +0100 Subject: Enable direnv and nix deuxfleurs cache --- nixos/common.nix | 2 ++ nixpkgs/common.nix | 5 +++++ 2 files changed, 7 insertions(+) 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 = { -- cgit v1.2.3