diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-02-05 16:03:46 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-14 18:58:46 -0700 |
| commit | 8e489a4cbe7d92f0c0c35568c816221c5d6ada64 (patch) | |
| tree | 84ed238f3ca35027debbd43700e2d00b7478bad8 /snowfall/modules/nixos/apps/vim/default.nix | |
| parent | 44d916a1b1fdad87697502e6ef6ad515956bca37 (diff) | |
migration: move utility apps to tools
Diffstat (limited to 'snowfall/modules/nixos/apps/vim/default.nix')
| -rw-r--r-- | snowfall/modules/nixos/apps/vim/default.nix | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/snowfall/modules/nixos/apps/vim/default.nix b/snowfall/modules/nixos/apps/vim/default.nix deleted file mode 100644 index 816aeda..0000000 --- a/snowfall/modules/nixos/apps/vim/default.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ options, config, lib, pkgs, namespace, ... }: - -with lib; with lib.${namespace}; let - cfg = config.${namespace}.apps.vim; -in { - options.${namespace}.apps.vim = with types; { - enable = mkEnableOption "vim"; - }; - - config = mkIf cfg.enable { - environment.systemPackages = with pkgs; [ - vim - ]; - - environment.variables = { - EDITOR = "${pkgs.vim}/bin/vim"; - }; - }; -} |