Moved theming modules
This commit is contained in:
parent
c6cd3018db
commit
a68f032fee
|
@ -1,5 +1,8 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ./custom/default.nix ];
|
imports = [
|
||||||
|
./custom/default.nix
|
||||||
|
./theming/default.nix
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -99,13 +99,13 @@ in
|
||||||
./themes/nord.nix
|
./themes/nord.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
options.modules.theming.enable = mkEnableOption "theming";
|
options.desktop.theming =
|
||||||
|
|
||||||
options.theming =
|
|
||||||
let
|
let
|
||||||
colors = config.theming.schemeColors;
|
colors = config.theming.schemeColors;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
enable = mkEnableOption "theming";
|
||||||
|
|
||||||
darkMode = mkOption {
|
darkMode = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
|
@ -24,22 +24,21 @@
|
||||||
ente-auth
|
ente-auth
|
||||||
];
|
];
|
||||||
|
|
||||||
# TODO: Move to gpg module
|
# Desktop environments
|
||||||
# programs.gpg = {
|
desktops =
|
||||||
# enable = true;
|
let
|
||||||
# mutableKeys = true;
|
in
|
||||||
# mutableTrust = true;
|
{
|
||||||
# };
|
"River Dark" = {
|
||||||
# services.gpg-agent = {
|
type = "custom";
|
||||||
# enable = true;
|
theming = { };
|
||||||
# enableSshSupport = true;
|
config = { };
|
||||||
# };
|
extraConfig = { };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Enabled modules
|
# Enabled modules
|
||||||
modules = {
|
modules = {
|
||||||
# Theming
|
|
||||||
theming.enable = true;
|
|
||||||
|
|
||||||
# Window manager
|
# Window manager
|
||||||
river.enable = true;
|
river.enable = true;
|
||||||
waylock.enable = true;
|
waylock.enable = true;
|
||||||
|
@ -120,11 +119,13 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Theme configuration
|
# Theme configuration
|
||||||
theming =
|
desktop.theming =
|
||||||
let
|
let
|
||||||
fontpkgs = config.theming.fonts.pkgs;
|
fontpkgs = config.theming.fonts.pkgs;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
enable = true;
|
||||||
|
|
||||||
# Fonts
|
# Fonts
|
||||||
fonts.serif = fontpkgs."DejaVu Serif";
|
fonts.serif = fontpkgs."DejaVu Serif";
|
||||||
fonts.sansSerif = fontpkgs."DejaVu Sans";
|
fonts.sansSerif = fontpkgs."DejaVu Sans";
|
||||||
|
|
Loading…
Reference in New Issue