Files
nixos/Droidnix/generated/modules/terminals/kitty.nix
T
2026-03-19 13:58:58 +00:00

34 lines
679 B
Nix

{ lib, config, pkgs, ... }:
let
programName = "kitty";
in
{
options.enableKitty = lib.mkEnableOption "Enable kitty terminal";
config = lib.mkIf (config.enableKitty or true) {
myApps.${programName} = { enable = true; };
systemd.services."${programName}-sync" = {
description = "Sync ${programName} configuration";
wantedBy = [ "multi-user.target" ];
serviceConfig = {
Type = "oneshot";
ExecStart = ''
echo "Syncing ${programName}"
'';
};
restartTriggers = [];
# Use pkgs passed to module
path = [
pkgs.coreutils
pkgs.gnugrep
pkgs.gnused
];
};
};
}