template stylix config

This commit is contained in:
serenity-F 2026-01-12 16:44:48 +10:00
parent 841598ba51
commit b252905240
2 changed files with 54 additions and 2 deletions

View file

@ -107,7 +107,7 @@
# Easy themeing (Switch to stylix) -
# - https://github.com/nix-community/stylix
# - https://github.com/Misterio77/nix-colors
#stylix = { url = "github:danth/stylix"; };
stylix = { url = "github:danth/stylix"; };
nix-colors = { url = "github:misterio77/nix-colors"; };
# Custom 'Sygil' plymouth boot theme [WIP]
# - https://codeberg.org/serenity-F/sygil-plymouth
@ -116,7 +116,7 @@
};
outputs =
{ self, nixpkgs, sops-nix, home-manager, musnix, niri, noctalia, ... }
{ self, nixpkgs, sops-nix, home-manager, musnix, niri, noctalia, stylix, ... }
@inputs:
let
@ -155,6 +155,7 @@
./core/hosts/hades
sops-nix.nixosModules.sops
musnix.nixosModules.musnix
stylix.nixosModules.stylix
home-manager.nixosModules.home-manager
{
home-manager = {

View file

@ -0,0 +1,51 @@
{ pkgs, ... }:
{
stylix = {
# global cursor
cursor = {
};
# global fonts
fonts = {
};
# global opacity
opacity = {
applications = 1.0;
terminal = 0.98;
desktop = 1.0;
popups = 0.98;
};
# 'light' or 'dark' or 'either'
polarity = "dark";
# image to generate scheme from
image = path/to/wallpaper.img;
# defined colour scheme
base16Scheme = {
base 00 = " ";
base 01 = " ";
base 02 = " ";
base 03 = " ";
base 04 = " ";
base 05 = " ";
base 06 = " ";
base 07 = " ";
base 08 = " ";
base 09 = " ";
base 0A = " ";
base 0B = " ";
base 0C = " ";
base 0D = " ";
base 0E = " ";
base 0f = " ";
};
};
}