Restructure to use proper modules

This commit is contained in:
Tim Schubert 2020-12-25 16:50:52 +01:00
parent 385be2e0fe
commit 7b19e1b2cc
No known key found for this signature in database
GPG key ID: 99658A3EB5CD7C13
59 changed files with 748 additions and 599 deletions

View file

@ -0,0 +1,19 @@
{ pkgs, lib, config, ... }:
with lib;
let
cfg = config.dadada.kitty;
in {
options.dadada.kitty = {
enable = mkEnableOption "Enable kitty config";
};
config = mkIf cfg.enable {
programs.kitty = {
enable = true;
font = {
package = pkgs.source-code-pro;
name = "Source Code Pro 8";
};
extraConfig = builtins.readFile ./config;
};
};
}