feat: centralize theming

This commit is contained in:
Youwen Wu 2024-12-30 18:38:42 -08:00
parent 1ae6d80a31
commit b92370f2b1
Signed by: youwen
GPG key ID: 865658ED1FE61EC3
3 changed files with 24 additions and 25 deletions

View file

@ -1,4 +1,9 @@
{ config, ... }:
{
config,
pkgs,
lib,
...
}:
{
imports = [
../secrets/nixos
@ -10,4 +15,22 @@
'';
nix.settings.trusted-users = [ "youwen" ];
liminalOS.theming = lib.mkDefault {
# wallpaper = "${inputs.wallpapers}/aesthetic/afterglow_city_skyline_at_night.png";
wallpaper = "${
pkgs.fetchFromGitHub {
owner = "dharmx";
repo = "walls";
rev = "6bf4d733ebf2b484a37c17d742eb47e5139e6a14";
hash = "sha256-YdPkJ+Bm0wq/9LpuST6s3Aj13ef670cQOxAEIhJg26E=";
sparseCheckout = [ "radium" ];
}
}/radium/a_mountain_range_at_night.png";
# if you don't manually set polarity when using manual colorscheme, GTK
# apps won't respect colorscheme
# base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine.yaml";
base16Scheme = "${pkgs.base16-schemes}/share/themes/oxocarbon-dark.yaml";
polarity = "dark";
};
}