From f8572a70b8637b94c040c41b00aedee14080a46d Mon Sep 17 00:00:00 2001 From: serenity-F Date: Fri, 2 Oct 2026 19:49:42 +1000 Subject: [PATCH] tweak: updated stylix options --- modules/features/stylix/atelier-plateau.nix | 16 +-- modules/features/stylix/autogen.nix | 2 +- modules/features/stylix/catpuccin-mocha.nix | 7 +- modules/features/stylix/monochrome.nix | 111 +++++++++++++++++++ modules/features/stylix/tokyo-night.nix | 112 ++++++++++++++++++++ 5 files changed, 229 insertions(+), 19 deletions(-) create mode 100644 modules/features/stylix/monochrome.nix create mode 100644 modules/features/stylix/tokyo-night.nix diff --git a/modules/features/stylix/atelier-plateau.nix b/modules/features/stylix/atelier-plateau.nix index bbdd7bc..e94c5ce 100644 --- a/modules/features/stylix/atelier-plateau.nix +++ b/modules/features/stylix/atelier-plateau.nix @@ -15,7 +15,7 @@ let # set wallpaper here - wallpaper = ../../../assets/media/wallpapers/mimaKirigoe.jpg; + wallpaper = ../../../assets/media/wallpapers/purpleWaves.png; in @@ -36,7 +36,7 @@ # enables automatic themeing based on wallpaper enable = true; image = "${wallpaper}"; - #polarity = "dark"; + polarity = "dark"; base16Scheme = "${pkgs.base16-schemes}/share/themes/atelier-plateau.yaml"; # cursor settings @@ -46,13 +46,6 @@ size = 25; }; - # icons = { - # enable = true; - # package = with pkgs; material-icons; - # dark = "material-dark"; - # light = config.stylix.icons.dark; - # }; - # font settings fonts = { @@ -107,13 +100,10 @@ opacity = { applications = 0.8; terminal = 0.8; - desktop = 1.0; + desktop = 0.9; popups = 0.9; }; - # application icons to use - #icons = { }; - }; }; diff --git a/modules/features/stylix/autogen.nix b/modules/features/stylix/autogen.nix index a36b77a..38466d2 100644 --- a/modules/features/stylix/autogen.nix +++ b/modules/features/stylix/autogen.nix @@ -99,7 +99,7 @@ opacity = { applications = 0.8; terminal = 0.8; - desktop = 1.0; + desktop = 0.9; popups = 0.9; }; diff --git a/modules/features/stylix/catpuccin-mocha.nix b/modules/features/stylix/catpuccin-mocha.nix index ed93474..eb315b1 100644 --- a/modules/features/stylix/catpuccin-mocha.nix +++ b/modules/features/stylix/catpuccin-mocha.nix @@ -36,7 +36,7 @@ # enables automatic themeing with catpuccin mocha enable = true; image = "${wallpaper}"; - #polarity = "dark"; + polarity = "dark"; base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml"; # cursor settings @@ -100,13 +100,10 @@ opacity = { applications = 0.8; terminal = 0.8; - desktop = 1.0; + desktop = 0.9; popups = 0.9; }; - # application icons to use - #icons = { }; - }; }; diff --git a/modules/features/stylix/monochrome.nix b/modules/features/stylix/monochrome.nix new file mode 100644 index 0000000..8f7203d --- /dev/null +++ b/modules/features/stylix/monochrome.nix @@ -0,0 +1,111 @@ +{ self, inputs, ... }: + +{ + + # monochrome theme + flake.nixosModules.theme-monochrome = + { + config, + lib, + pkgs, + user-parts, + ... + }: + + let + + # set wallpaper here + wallpaper = ../../../assets/media/wallpapers/attunement.png; + + in + + { + + imports = [ + + # for home manager functionality + inputs.home-manager.nixosModules.home-manager + + # for stylix functionality + inputs.stylix.nixosModules.stylix + + ]; + + stylix = { + + # enables automatic themeing based on wallpaper + enable = true; + image = "${wallpaper}"; + polarity = "dark"; + + # cursor settings + cursor = { + package = with pkgs; bibata-cursors; + name = "Bibata-Modern-Classic"; + size = 25; + }; + + # font settings + fonts = { + + # point sizes for various ui elements + sizes = { + terminal = 12; + desktop = 12; + popups = 12; + applications = 12; + }; + + # emoji font to use + emoji = { + package = with pkgs; noto-fonts-color-emoji; + name = "Noto Color Emoji"; + }; + + # text fonts to use + monospace = { + package = with pkgs; spleen; + name = "Spleen 32x64"; + }; + serif = config.stylix.fonts.monospace; + sansSerif = config.stylix.fonts.monospace; + + }; + }; + + home-manager.users.${user-parts.user.username} = { + + # copies avatars from flake into home + home.file."Avatars" = { + source = ../../../assets/media/avatars; + target = "/home/${user-parts.user.username}/Pictures/Avatars"; + recursive = true; + }; + + # copies wallpapers from flake into home + home.file."Wallpapers" = { + source = ../../../assets/media/wallpapers; + target = "/home/${user-parts.user.username}/Pictures/Wallpapers"; + recursive = true; + }; + + stylix = { + + # skews theme towards dark mode + polarity = "dark"; + + # opacity settings + # 1.0 is opaque, 0.0 is transparent + opacity = { + applications = 0.9; + terminal = 0.9; + desktop = 0.9; + popups = 0.9; + }; + + }; + + }; + + }; +} diff --git a/modules/features/stylix/tokyo-night.nix b/modules/features/stylix/tokyo-night.nix new file mode 100644 index 0000000..972eb0c --- /dev/null +++ b/modules/features/stylix/tokyo-night.nix @@ -0,0 +1,112 @@ +{ self, inputs, ... }: + +{ + + # tokyo-night-dark theme + flake.nixosModules.theme-tokyo-night = + { + config, + lib, + pkgs, + user-parts, + ... + }: + + let + + # set wallpaper here + wallpaper = ../../../assets/media/wallpapers/mimaKirigoe.jpg; + + in + + { + + imports = [ + + # for home manager functionality + inputs.home-manager.nixosModules.home-manager + + # for stylix functionality + inputs.stylix.nixosModules.stylix + + ]; + + stylix = { + + # enables automatic themeing based on wallpaper + enable = true; + image = "${wallpaper}" + polarity = "dark"; + base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-night-dark.yaml" + + # cursor settings + cursor = { + package = with pkgs; bibata-cursors; + name = "Bibata-Modern-Classic"; + size = 25; + }; + + # font settings + fonts = { + + # point sizes for various ui elements + sizes = { + terminal = 12; + desktop = 12; + popups = 12; + applications = 12; + }; + + # emoji font to use + emoji = { + package = with pkgs; noto-fonts-color-emoji; + name = "Noto Color Emoji"; + }; + + # text fonts to use + monospace = { + package = with pkgs; spleen; + name = "Spleen 32x64"; + }; + serif = config.stylix.fonts.monospace; + sansSerif = config.stylix.fonts.monospace; + + }; + }; + + home-manager.users.${user-parts.user.username} = { + + # copies avatars from flake into home + home.file."Avatars" = { + source = ../../../assets/media/avatars; + target = "/home/${user-parts.user.username}/Pictures/Avatars"; + recursive = true; + }; + + # copies wallpapers from flake into home + home.file."Wallpapers" = { + source = ../../../assets/media/wallpapers; + target = "/home/${user-parts.user.username}/Pictures/Wallpapers"; + recursive = true; + }; + + stylix = { + + # skews theme towards dark mode + polarity = "dark"; + + # opacity settings + # 1.0 is opaque, 0.0 is transparent + opacity = { + applications = 0.8; + terminal = 0.8; + desktop = 0.9; + popups = 0.9; + }; + + }; + + }; + + }; +}