Browse Source

Mainly, added flake support to nix-direnv

main
Sam Hatfield 3 months ago
parent
commit
8d7071dfc6
  1. 10
      flake.nix

10
flake.nix

@ -33,7 +33,7 @@
{
home-manager = {
useGlobalPkgs = true;
users.sehqlr = import ./home.nix;
users.${username} = import ./home.nix;
};
}
sops-nix.nixosModules.sops
@ -43,7 +43,7 @@
environment = {
systemPackages = with pkgs; [
comma.defaultPackage."x86_64-linux"
comma.defaultPackage.${system}
commonsCompress
];
pathsToLink = [ "/share/zsh" ];
@ -78,7 +78,11 @@
trustedUsers = [ "root" "sehqlr" ];
};
nixpkgs = {
nixpkgs = let
nix-direnv-overlay = final: prev: {
nix-direnv = prev.nix-direnv.override { enableFlakes = true; };
};
in {
overlays = [ nur.overlay ];
config = import ./nixpkgs-config.nix;
};

Loading…
Cancel
Save