From c59da0e4baffeaebef666688827a6ea7ccb74938 Mon Sep 17 00:00:00 2001 From: gwg313 Date: Mon, 22 Apr 2024 16:32:40 -0400 Subject: [PATCH] feat: setup nh --- common/nixos/packages.nix | 7 +++++++ home-manager/modules/common.nix | 3 --- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/common/nixos/packages.nix b/common/nixos/packages.nix index e650a11..0997eba 100644 --- a/common/nixos/packages.nix +++ b/common/nixos/packages.nix @@ -2,6 +2,7 @@ config, lib, pkgs, + user, inputs, outputs, ... @@ -23,5 +24,11 @@ wget home-manager git + nh + nix-output-monitor + nvd ]; + environment.sessionVariables = { + FLAKE = "/home/${user}/repos/nixos-config"; + }; } diff --git a/home-manager/modules/common.nix b/home-manager/modules/common.nix index 3164cfe..2c8b4cd 100644 --- a/home-manager/modules/common.nix +++ b/home-manager/modules/common.nix @@ -84,9 +84,6 @@ nix-direnv # Integration of direnv with the Nix package manager. nix-init # Simplifies the process of creating Nix projects. nix-prefetch-github # Tool for fetching the latest version and hash of a GitHub repository. - nh - nix-output-monitor - nvd ] ++ lib.optionals stdenv.isDarwin [ coreutils # Essential GNU core utilities, including `dd` with the `--status=progress` option for more informative progress reporting.