From 24434294542f00afff1363d4009a39011557750e Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Wed, 11 Jun 2025 01:24:15 -0500 Subject: [PATCH] Fix Jeremiah and hms Add Jeremiah to the users page Remove unnecessary home-manager configuration Convert hms into a shell application --- home/default.nix | 1 + hosts/baseline.nix | 12 ------------ pkgs/hms/default.nix | 8 ++++++-- 3 files changed, 7 insertions(+), 14 deletions(-) diff --git a/home/default.nix b/home/default.nix index 5d1369b..504e188 100644 --- a/home/default.nix +++ b/home/default.nix @@ -35,4 +35,5 @@ in exodus = greg "exodus"; jude = greg "jude"; isaiah = greg "isaiah"; + jeremiah = greg "jeremiah"; } diff --git a/hosts/baseline.nix b/hosts/baseline.nix index df752cb..510e9a0 100644 --- a/hosts/baseline.nix +++ b/hosts/baseline.nix @@ -53,18 +53,6 @@ in xfsprogs ]; - home-manager = { - backupFileExtension = "bkp"; - useGlobalPkgs = true; - useUserPackages = true; - users.greg = import ../home/home.nix; - extraSpecialArgs = { - inherit top overlays; - home = "/home/greg"; - host = config.networking.hostName; - }; - }; - i18n.defaultLocale = "en_US.UTF-8"; nix = { diff --git a/pkgs/hms/default.nix b/pkgs/hms/default.nix index 7662e58..ad0235a 100644 --- a/pkgs/hms/default.nix +++ b/pkgs/hms/default.nix @@ -1,3 +1,7 @@ -{ writeShellScriptBin, ... }: +{ writeShellApplication, coreutils-full, nix-output-monitor, ... }: -writeShellScriptBin "hms" (builtins.readFile ./hms.sh) +writeShellApplication { + name = "hms"; + runtimeInputs = [ coreutils-full nix-output-monitor ]; + text = (builtins.readFile ./hms.sh); +}