nushell: move to modules/home

Signed-off-by: Bloxx12 <charlie@charlieroot.dev>
Change-Id: I6a6a6964b332aee4de78ddbba4d16b55f6783485
This commit is contained in:
Bloxx12 2025-07-21 00:05:24 +02:00
commit 8c3ff343b0
Signed by: faukah
SSH key fingerprint: SHA256:jpYIt4Vkz1NBTQcks/N9OPTfTFxE6KF2W/rV7hrfrIw
10 changed files with 183 additions and 128 deletions

View file

@ -2,7 +2,7 @@
config,
lib,
pkgs,
self,
sources,
...
}:
let
@ -10,10 +10,9 @@ let
inherit (lib.options) mkOption;
inherit (lib.types) listOf str package;
inherit (config.meta.mainUser) username;
nushell = pkgs.callPackage (self + "/packages/nushell") { };
in
{
imports = [ (sources.hjem + "/modules/nixos") ];
options.meta = {
users = mkOption {
type = listOf str;
@ -52,7 +51,7 @@ in
};
package = mkOption {
type = package;
default = nushell;
default = pkgs.nushell;
};
};
};
@ -72,7 +71,7 @@ in
"nix"
"docker"
];
shell = nushell;
shell = pkgs.nushell;
};
};
};