From 31c316d19cd974bb81a5d6de62142ff24db1c78e Mon Sep 17 00:00:00 2001 From: triethyl Date: Tue, 2 Sep 2025 10:48:21 -0400 Subject: reorganized directory structure --- nixos/features/cli/shells/nushell.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 nixos/features/cli/shells/nushell.nix (limited to 'nixos/features/cli/shells/nushell.nix') diff --git a/nixos/features/cli/shells/nushell.nix b/nixos/features/cli/shells/nushell.nix new file mode 100644 index 0000000..0974e9a --- /dev/null +++ b/nixos/features/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 ]; + }; +} -- cgit v1.2.3