summaryrefslogtreecommitdiff
path: root/features/system/cli/shells
diff options
context:
space:
mode:
authoroutremonde <outremonde@vivaldi.net>2025-06-10 20:32:00 -0400
committeroutremonde <outremonde@vivaldi.net>2025-06-10 20:32:00 -0400
commit9786eb8672213344d8d1b7bdef12bc94510b20db (patch)
treeb7d79440800c92d32187ab32c636b0830c94a610 /features/system/cli/shells
initialized repository
Former-commit-id: 84647f22b951a957b2b83885b612115d473f6626
Diffstat (limited to 'features/system/cli/shells')
-rw-r--r--features/system/cli/shells/nushell.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/features/system/cli/shells/nushell.nix b/features/system/cli/shells/nushell.nix
new file mode 100644
index 0000000..0974e9a
--- /dev/null
+++ b/features/system/cli/shells/nushell.nix
@@ -0,0 +1,10 @@
+{ config, pkgs, lib, ... }: let
+ cfg = config.features.cli.shells.nushell;
+in {
+ options.features.cli.shells.nushell.enable = lib.mkEnableOption "nushell";
+ config = lib.mkIf cfg.enable {
+ environment.shells = [ pkgs.nushell ];
+ users.defaultUserShell = pkgs.nushell;
+ environment.systemPackages = [ pkgs.nushell ];
+ };
+}