diff --git a/modules/profiles/base.nix b/modules/profiles/base.nix index 41c4a1c..6d301d6 100644 --- a/modules/profiles/base.nix +++ b/modules/profiles/base.nix @@ -265,6 +265,10 @@ in programs = { mtr.enable = true; command-not-found.enable = false; + nh = { + enable = true; + flake = "/home/moritz/Documents/dotfiles/"; + }; }; services = { diff --git a/modules/programs/nix.nix b/modules/programs/nix.nix index b158709..2dfc969 100644 --- a/modules/programs/nix.nix +++ b/modules/programs/nix.nix @@ -10,12 +10,6 @@ let inherit (lib) mkEnableOption mkOption types; cfg = config.my.programs.nix; - mkNom = system: nix: - inputs.nix-monitored.packages.${system}.default.override - { - withNotify = false; - nix = nix; - }; in { options.my.programs.nix = { @@ -31,15 +25,6 @@ in }; config = { - my.nixpkgs.overlays = [ - (final: prev: - { - nixos-rebuild = prev.nixos-rebuild.override { - nix = mkNom final.system final.nix; - }; - }) - ]; - home-manager.users.moritz.programs.direnv.nix-direnv.package = pkgs.nix-direnv.override { nix = config.nix.package; };