diff options
Diffstat (limited to 'features/system/cli')
| -rw-r--r-- | features/system/cli/shells/nushell.nix | 10 | ||||
| -rw-r--r-- | features/system/cli/utils/nh.nix | 17 |
2 files changed, 0 insertions, 27 deletions
diff --git a/features/system/cli/shells/nushell.nix b/features/system/cli/shells/nushell.nix deleted file mode 100644 index 0974e9a..0000000 --- a/features/system/cli/shells/nushell.nix +++ /dev/null @@ -1,10 +0,0 @@ -{ 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 ]; - }; -} diff --git a/features/system/cli/utils/nh.nix b/features/system/cli/utils/nh.nix deleted file mode 100644 index e34157e..0000000 --- a/features/system/cli/utils/nh.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ config, lib, ... }: let - cfg = config.features.cli.utils.nh; -in { - options.features.cli.utils.nh = { - enable = lib.mkEnableOption "nh"; - flake = lib.mkOption { - type = lib.types.str; - description = "Absolute path to the flake."; - }; - }; - config = lib.mkIf cfg.enable { - programs.nh = { - enable = true; - flake = cfg.flake; - }; - }; -} |
