Browse Source

Move overlay to Home-Manager side of the house

main
Sam Hatfield 3 months ago
parent
commit
0690b7f995
  1. 8
      flake.nix
  2. 9
      home.nix

8
flake.nix

@ -79,13 +79,7 @@
};
nixpkgs = {
overlays = [
nur.overlay
(final: prev: {
nix-direnv =
prev.nix-direnv.override { enableFlakes = true; };
})
];
overlays = [ nur.overlay ];
config = import ./nixpkgs-config.nix;
};

9
home.nix

@ -38,6 +38,12 @@
sessionVariables = { EDITOR = "kak"; };
};
nixpkgs.overlays = [
(final: prev: {
nix-direnv = prev.nix-direnv.override { enableFlakes = true; };
})
];
programs.afew = {
enable = true;
extraConfig = builtins.readFile ./afew-config.ini;
@ -57,7 +63,8 @@
programs.astroid = {
enable = true;
externalEditor = "alacritty -e kak %1";
pollScript = "NOTMUCH_CONFIG='${config.xdg.configHome}/notmuch/notmuchrc' notmuch new && afew -m";
pollScript =
"NOTMUCH_CONFIG='${config.xdg.configHome}/notmuch/notmuchrc' notmuch new && afew -m";
};
programs.bat.enable = true;

Loading…
Cancel
Save