nixos/modules/desktop/foot/default.nix
2024-08-03 20:27:30 +04:00

23 lines
402 B
Nix

{ options, config, lib, pkgs, ...}:
let
cfg = config.modules.desktop.foot;
in {
options.modules.desktop.foot = {
enable = lib.mkEnableOption false;
};
config = lib.mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
foot
];
home-manager.users.sako = {pkgs, ...}: {
xdg.configFile = {
foot = {
source = ../../../config/foot;
};
};
};
};
}