summaryrefslogtreecommitdiff
path: root/modules/main.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/main.nix')
-rw-r--r--modules/main.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/modules/main.nix b/modules/main.nix
new file mode 100644
index 0000000..b5f6f74
--- /dev/null
+++ b/modules/main.nix
@@ -0,0 +1,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 = [];
+ };
+ };
+}