From b57aa42afc704fc3a5f7e0bc4b15640d7e44ff43 Mon Sep 17 00:00:00 2001 From: serenity-F Date: Mon, 28 Sep 2026 17:54:39 +1000 Subject: [PATCH] tweak: theme modules --- .../stylix/{default.nix => autogen.nix} | 0 modules/features/stylix/onedarker.nix | 114 -------------- modules/features/stylix/serenity-dark.nix | 140 ------------------ 3 files changed, 254 deletions(-) rename modules/features/stylix/{default.nix => autogen.nix} (100%) delete mode 100644 modules/features/stylix/onedarker.nix delete mode 100644 modules/features/stylix/serenity-dark.nix diff --git a/modules/features/stylix/default.nix b/modules/features/stylix/autogen.nix similarity index 100% rename from modules/features/stylix/default.nix rename to modules/features/stylix/autogen.nix diff --git a/modules/features/stylix/onedarker.nix b/modules/features/stylix/onedarker.nix deleted file mode 100644 index a60daab..0000000 --- a/modules/features/stylix/onedarker.nix +++ /dev/null @@ -1,114 +0,0 @@ -{ self, inputs, ... }: - -{ - - # autogenerated theme - flake.nixosModules.theme-onedarker = - { - config, - lib, - pkgs, - ... - }: - - 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 with catpuccin mocha - enable = true; - image = "${wallpaper}"; - #polarity = "dark"; - base16Scheme = "${pkgs.base16-schemes}/share/themes/onedark-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.serenity = { - - # copies avatar from flake into home - home.file."Avatar" = { - source = ../../../assets/media/avatar.png; - target = "/home/serenity/Pictures/Avatars/"; - recursive = true; - }; - - # copies wallpaper from flake into home - home.file."Wallpapers" = { - source = ../../../assets/media/wallpapers; - target = "/home/serenity/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 = 1.0; - popups = 0.9; - }; - - # application icons to use - #icons = { }; - - }; - - }; - - }; -} diff --git a/modules/features/stylix/serenity-dark.nix b/modules/features/stylix/serenity-dark.nix deleted file mode 100644 index 9585423..0000000 --- a/modules/features/stylix/serenity-dark.nix +++ /dev/null @@ -1,140 +0,0 @@ -{ self, inputs, ... }: - -{ - - # autogenerated theme - flake.nixosModules.theme-serenity = - { - config, - lib, - pkgs, - ... - }: - - 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 with catpuccin mocha - enable = true; - image = "${wallpaper}"; - #polarity = "dark"; - - base16Scheme = { - # theme info - system = "base16"; - name = "serenity-dark"; - author = "Serenity (https://codeberg.org/serenity-F/SerenityOS)"; - variant = "dark"; - - palette = { - base00 = "000000"; - base01 = "f6668e"; - base02 = "73daca"; - base03 = "cfb264"; - base04 = "7a82f7"; - base05 = "a778f8"; - base06 = "7dd8ff"; - base07 = "e4e5e7"; - base08 = "515878"; - base09 = "f7869e"; - base0A = "83eada"; - base0B = "f0bf78"; - base0C = "8ab2f7"; - base0D = "a988f8"; - base0E = "8ddfff"; - base0F = "f4f5f7"; - }; - }; - - # 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.serenity = { - - # copies avatar from flake into home - home.file."Avatar" = { - source = ../../../assets/media/avatar.png; - target = "/home/serenity/Pictures/Avatars/"; - recursive = true; - }; - - # copies wallpaper from flake into home - home.file."Wallpapers" = { - source = ../../../assets/media/wallpapers; - target = "/home/serenity/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 = 1.0; - popups = 0.9; - }; - - # application icons to use - #icons = { }; - - }; - - }; - - }; -}