nixos/modules/desktop/foot/default.nix

24 lines
402 B
Nix
Raw Normal View History

2024-08-03 19:55:05 +04:00
{ 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
];
2024-08-03 20:27:30 +04:00
home-manager.users.sako = {pkgs, ...}: {
xdg.configFile = {
foot = {
source = ../../../config/foot;
};
};
};
2024-08-03 19:55:05 +04:00
};
}