summaryrefslogtreecommitdiff
path: root/modules/user/aesthetics
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/aesthetics')
-rw-r--r--modules/user/aesthetics/default.nix28
-rw-r--r--modules/user/aesthetics/targets/default.nix11
-rw-r--r--modules/user/aesthetics/themes/default.nix5
3 files changed, 35 insertions, 9 deletions
diff --git a/modules/user/aesthetics/default.nix b/modules/user/aesthetics/default.nix
index 9bcf496..c49a198 100644
--- a/modules/user/aesthetics/default.nix
+++ b/modules/user/aesthetics/default.nix
@@ -1,6 +1,15 @@
-{ config, pkgs, lib, ... }: let
+{
+ config,
+ pkgs,
+ lib,
+ ...
+}: let
cfg = config.aesthetics;
in {
+ imports = [
+ ./targets
+ ./themes
+ ];
options.aesthetics = {
enable = lib.mkEnableOption "aesthetics";
theme = lib.mkOption {
@@ -48,16 +57,17 @@ in {
type = lib.types.str;
default = "18";
description = "The size of the font to use for large text.";
- };
+ };
};
};
scheme = let
- mkHexOption = {}: lib.mkOption {
- type = lib.types.str;
- default = "";
- example = "ffffff";
- description = "A hex color";
- };
+ mkHexOption = {}:
+ lib.mkOption {
+ type = lib.types.str;
+ default = "";
+ example = "ffffff";
+ description = "A hex color";
+ };
in {
base00 = mkHexOption {};
base01 = mkHexOption {};
@@ -85,7 +95,7 @@ in {
config = lib.mkIf cfg.enable {
aesthetics.themes.${cfg.theme}.enable = true;
- home.packages = [ cfg.font.package ];
+ home.packages = [cfg.font.package];
fonts.fontconfig.enable = true;
};
}
diff --git a/modules/user/aesthetics/targets/default.nix b/modules/user/aesthetics/targets/default.nix
new file mode 100644
index 0000000..7dba76d
--- /dev/null
+++ b/modules/user/aesthetics/targets/default.nix
@@ -0,0 +1,11 @@
+{...}: {
+ imports = [
+ ./mako.nix
+ ./zellij.nix
+ ./qutebrowser.nix
+ ./helix.nix
+ ./gtk.nix
+ ./foot.nix
+ ./vesktop.nix
+ ];
+}
diff --git a/modules/user/aesthetics/themes/default.nix b/modules/user/aesthetics/themes/default.nix
new file mode 100644
index 0000000..cc5ebdb
--- /dev/null
+++ b/modules/user/aesthetics/themes/default.nix
@@ -0,0 +1,5 @@
+{...}: {
+ imports = [
+ ./oxocarbon
+ ];
+}