This commit is contained in:
Ingolf Wagner 2023-07-22 01:16:50 +02:00
parent c3bafeb9e9
commit 9440397500
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
3 changed files with 8 additions and 4 deletions

View file

@ -76,14 +76,12 @@
#inputs.nixpkgs.follows = "nixpkgs"; #inputs.nixpkgs.follows = "nixpkgs";
#inputs.home-manager.follows = "home-manager"; #inputs.home-manager.follows = "home-manager";
}; };
}; };
outputs = outputs =
{ self { self
, disko , disko
, dns , dns
, stylix
, doom-emacs-nix , doom-emacs-nix
, emacs-overlay , emacs-overlay
, grocy-scanner , grocy-scanner
@ -105,6 +103,7 @@
, retiolum , retiolum
, secrets , secrets
, sops-nix , sops-nix
, stylix
}: }:
let let
system = "x86_64-linux"; system = "x86_64-linux";

View file

@ -30,7 +30,7 @@ with lib;
key = "42AC51C9482D0834CF488AF1389EC2D64AC71EAC"; key = "42AC51C9482D0834CF488AF1389EC2D64AC71EAC";
signByDefault = true; signByDefault = true;
}; };
ignores = [ "*.swp" "*~" ".idea" ".*penis.*" "result" ".envrc" ]; ignores = [ "*.swp" "*~" ".idea" ".*penis.*" "result" ".envrc" ".direnv" ];
extraConfig = { extraConfig = {
init.defaultBranch = "main"; init.defaultBranch = "main";
pull.ff = "only"; pull.ff = "only";

View file

@ -9,7 +9,12 @@ with lib;
environment.systemPackages = [ pkgs.direnv ]; environment.systemPackages = [ pkgs.direnv ];
home-manager.users.mainUser.programs.direnv.enable = true; home-manager.sharedModules = [
{
programs.direnv.enable = true;
programs.git.ignores = [ ".envrc" ".direnv" ];
}
];
programs.zsh.interactiveShellInit = '' programs.zsh.interactiveShellInit = ''
eval "$(${pkgs.direnv}/bin/direnv hook zsh)" eval "$(${pkgs.direnv}/bin/direnv hook zsh)"