Moved theming modules

This commit is contained in:
Jan-Bulthuis 2025-02-17 15:06:20 +01:00
parent c6cd3018db
commit a68f032fee
23 changed files with 22 additions and 18 deletions

View File

@ -1,5 +1,8 @@
{ ... }:
{
imports = [ ./custom/default.nix ];
imports = [
./custom/default.nix
./theming/default.nix
];
}

View File

@ -99,13 +99,13 @@ in
./themes/nord.nix
];
options.modules.theming.enable = mkEnableOption "theming";
options.theming =
options.desktop.theming =
let
colors = config.theming.schemeColors;
in
{
enable = mkEnableOption "theming";
darkMode = mkOption {
type = types.bool;
default = false;

View File

@ -24,22 +24,21 @@
ente-auth
];
# TODO: Move to gpg module
# programs.gpg = {
# enable = true;
# mutableKeys = true;
# mutableTrust = true;
# };
# services.gpg-agent = {
# enable = true;
# enableSshSupport = true;
# };
# Desktop environments
desktops =
let
in
{
"River Dark" = {
type = "custom";
theming = { };
config = { };
extraConfig = { };
};
};
# Enabled modules
modules = {
# Theming
theming.enable = true;
# Window manager
river.enable = true;
waylock.enable = true;
@ -120,11 +119,13 @@
};
# Theme configuration
theming =
desktop.theming =
let
fontpkgs = config.theming.fonts.pkgs;
in
{
enable = true;
# Fonts
fonts.serif = fontpkgs."DejaVu Serif";
fonts.sansSerif = fontpkgs."DejaVu Sans";