mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-05-01 18:19:10 +00:00
22 lines
376 B
Nix
22 lines
376 B
Nix
|
{ config, lib, pkgs, ... }@attrs:
|
||
|
|
||
|
let
|
||
|
userCfg = config.users.foo-dogsquared;
|
||
|
cfg = userCfg.programs.kando;
|
||
|
in
|
||
|
{
|
||
|
options.users.foo-dogsquared.programs.kando = {
|
||
|
enable = lib.mkEnableOption "Kando setup";
|
||
|
};
|
||
|
|
||
|
config = lib.mkIf cfg.enable {
|
||
|
programs.kando = {
|
||
|
enable = true;
|
||
|
|
||
|
settings = {
|
||
|
enableVersionCheck = false;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|