summaryrefslogtreecommitdiff
path: root/modules/main.nix
blob: b5f6f74df69587bddb14ff5644fa65106c1fa86b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ 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;

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