summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixos/common.nix2
-rw-r--r--nixpkgs/common.nix5
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 = {