I just like having lists that show what's going on, and light redundancy doesn't bother me.
10 lines
229 B
Nix
10 lines
229 B
Nix
{ config, configPath, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
options.myModules.fish.enable = mkEnableOption "custom fish configuration";
|
|
config = mkIf config.myModules.fish.enable {
|
|
environment.systemPackages = [ pkgs.fish ];
|
|
};
|
|
}
|