1a737bd471
Note: not the actual initial commit. I swear I will stop repeatedly force pushing to this single commit eventually ok.
17 lines
282 B
Nix
17 lines
282 B
Nix
{ pkgs, config, lib, ... }:
|
|
|
|
let
|
|
cfg = config.my.cli.fish;
|
|
in {
|
|
options.my.cli.fish = {
|
|
enable = lib.mkEnableOption null // {
|
|
default = true;
|
|
};
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
users.defaultUserShell = pkgs.fish;
|
|
programs.fish.enable = true;
|
|
};
|
|
}
|