feat: centralize theming
Some checks are pending
Check flake / check (push) Waiting to run

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

View file

@ -17,13 +17,6 @@
config.allowUnfree = false;
defaultEditor = inputs.viminal.packages.${pkgs.system}.default;
formFactor = "laptop";
theming = {
wallpaper = "${inputs.wallpapers}/aesthetic/afterglow_city_skyline_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";
polarity = "dark";
};
system = {
networking = {
firewallPresets.vite = true;

View file

@ -18,23 +18,6 @@
config.allowUnfree = true;
defaultEditor = inputs.viminal.packages.${pkgs.system}.default;
formFactor = "desktop";
theming = {
# 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";
};
system = {
audio.prod.enable = true;
networking = {

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";
};
}