summaryrefslogtreecommitdiff
path: root/modules/main.nix
blob: af449d6b11ea359ee577ca5ae007584914ce35b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, config, ... }:

let cfg = config.this.main;
in
{
  options = {
    this.main.enable = lib.mkEnableOption "Main-PC setup";
  };

  config = lib.mkIf cfg.enable {
    this.pc.enable = true;
    this.gui.enable = true;

    this.overlays.emacs.enable = true;

    i18n.inputMethod.enable = true;

    fonts.fontconfig.defaultFonts = {
      serif = [];
      sansSerif = [];
      monospace = [];
      emoji = [];
    };
  };
}