Files
nixos/modules/nixos/cli-environment.nix

23 lines
372 B
Nix

{ pkgs, lib, config, ... }:
with lib;
let
cfg = config.services.cli-environment;
in
{
imports = [];
options.services.cli-environment = {
enable = mkEnableOption "enable cli-environment";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
wget
unzip
helix
git
];
programs.fish.enable = true;
};
}