20 lines
359 B
Nix
20 lines
359 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
cfg = config.youthlic.programs.foot;
|
|
in {
|
|
options = {
|
|
youthlic.programs.foot = {
|
|
enable = lib.mkEnableOption "foot";
|
|
};
|
|
};
|
|
config = lib.mkIf cfg.enable {
|
|
programs.foot = {
|
|
enable = true;
|
|
server.enable = true;
|
|
settings = builtins.fromINI (builtins.readFile ./foot.ini);
|
|
};
|
|
};
|
|
}
|