From a31054750a05d77f18845a2097d7ea9d8923eebb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Fri, 8 Nov 2024 20:00:36 +0100 Subject: [PATCH] feat: add nh --- modules/profiles/base.nix | 4 ++++ modules/programs/nix.nix | 15 --------------- 2 files changed, 4 insertions(+), 15 deletions(-) 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; };