Added pm01vm01 configuration

This commit is contained in:
2024-10-11 17:14:39 +02:00
parent f448912c47
commit 35e96ccfb6
5 changed files with 111 additions and 9 deletions

View File

@@ -5,20 +5,14 @@ let
gtkThemeFromScheme;
in
{
options = {
guiTheming.enable = lib.mkEnableOption "Enable GTK and QT theming";
};
imports = [
nix-colors.homeManagerModules.default
];
config = {
guiTheming.enable = lib.mkDefault true;
colorScheme = nix-colors.colorSchemes.da-one-sea;
gtk = lib.mkIf config.guiTheming.enable {
gtk = lib.mkIf (config.headless == false) {
enable = true;
theme = {
name = "${config.colorScheme.slug}";
@@ -30,7 +24,7 @@ in
};
};
qt = lib.mkIf config.guiTheming.enable {
qt = lib.mkIf (config.headless == false) {
enable = true;
platformTheme.name = "gtk";
style = {
@@ -39,7 +33,7 @@ in
};
};
home.pointerCursor = lib.mkIf config.guiTheming.enable {
home.pointerCursor = lib.mkIf (config.headless == false) {
package = pkgs.phinger-cursors;
name = "phinger-cursors-dark";
size = 24;