From 1683946235230a987d7e3ec932274ccd52ca5ff0 Mon Sep 17 00:00:00 2001 From: "Lennart J. Kurzweg (Nx2)" Date: Thu, 18 Apr 2024 20:53:28 +0200 Subject: [PATCH] nh --- flake.nix | 4 ++-- home-modules/shell/nh.nix | 13 +++++++++++++ home.nix | 1 + 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 home-modules/shell/nh.nix diff --git a/flake.nix b/flake.nix index 0ef5ed8..bba8501 100644 --- a/flake.nix +++ b/flake.nix @@ -125,12 +125,12 @@ }; homeConfigurations = { - NxXPS = let host = "NxXPS"; in home-manager.lib.homeManagerConfiguration { + "${user}@NxXPS" = let host = "NxXPS"; in home-manager.lib.homeManagerConfiguration { inherit pkgs; modules = [ ./home.nix ]; extraSpecialArgs = { inherit inputs system user host allowed secrets pkgs-unstable rice nvidia; }; }; - NxNORTH = let host = "NxNORTH"; in home-manager.lib.homeManagerConfiguration { + "${user}@NxNORTH" = let host = "NxNORTH"; in home-manager.lib.homeManagerConfiguration { inherit pkgs; modules = [ ./home.nix ]; extraSpecialArgs = { inherit inputs system user host allowed secrets pkgs-unstable rice nvidia; }; diff --git a/home-modules/shell/nh.nix b/home-modules/shell/nh.nix new file mode 100644 index 0000000..3aea2ac --- /dev/null +++ b/home-modules/shell/nh.nix @@ -0,0 +1,13 @@ +{ config, pkgs-unstable, ... }: +{ + home = { + packages = with pkgs-unstable; [ + nh + nix-output-monitor + nvd + ]; + sessionVariables = { + FLAKE = "${config.home.homeDirectory}/nix-dots"; + }; + }; +} \ No newline at end of file diff --git a/home.nix b/home.nix index 7e0d3dc..a988788 100644 --- a/home.nix +++ b/home.nix @@ -24,6 +24,7 @@ ./home-modules/shell/starship.nix ./home-modules/shell/yazi.nix ./home-modules/shell/zoxide.nix + ./home-modules/shell/nh.nix ./home-modules/ssh.nix ./home-modules/git.nix