1
Fork 0

Changed the theming system to allow for a default global theme!

This commit is contained in:
Matei Adriel 2023-02-09 07:31:10 +01:00
parent 5bd0813530
commit e555c40b2c
No known key found for this signature in database
6 changed files with 9 additions and 6 deletions

View file

@ -50,6 +50,9 @@
specialArgs = {
inherit inputs outputs;
# colorscheme = "${inputs.catppuccin-base16}/base16/latte.yaml";
colorscheme = "${inputs.rosepine-base16}/rose-pine-dawn.yaml";
};
in
rec {

View file

@ -1 +1 @@
/nix/store/jz374sz4mmsf3h7vxrxlkbcvp7vlfcyl-home-manager-files/.config/eww/eww.yuck
/nix/store/f8zh6hv5f6d3nnm0wk6f3rkmfq6dnpg7-home-manager-files/.config/eww/eww.yuck

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 MiB

View file

@ -3,6 +3,7 @@ let
wallpapers = {
"Catppuccin Latte" = ./wallpapers/wall.png;
"Catppuccin Frappe" = ./wallpapers/nix-catppuccin.png;
"Rosé Pine Dawn" = ./wallpapers/rosepine_light_field.png;
};
in
{

View file

@ -1,4 +1,4 @@
{ inputs, lib, pkgs, config, outputs, ... }:
{ inputs, lib, pkgs, config, outputs, colorscheme, ... }:
let
# Extra modules to import
imports = [
@ -40,8 +40,7 @@ in
};
# Set default theme
scheme = lib.mkDefault "${inputs.catppuccin-base16}/base16/latte.yaml";
# scheme = lib.mkDefault "${inputs.rosepine-base16}/rose-pine-dawn.yaml";
scheme = lib.mkDefault colorscheme;
# Set reasonable defaults for some settings
home = {

View file

@ -1,5 +1,5 @@
# Configuration pieces included on all (nixos) hosts
{ inputs, outputs, lib, ... }: {
{ inputs, outputs, lib, colorscheme, ... }: {
imports = [
inputs.agenix.nixosModule
inputs.base16.nixosModule
@ -16,7 +16,7 @@
"/etc/ssh/ssh_host_ed25519_key"
];
scheme = lib.mkDefault "${inputs.catppuccin-base16}/base16/latte.yaml";
scheme = lib.mkDefault colorscheme;
nixpkgs = {
# Add all overlays defined in the overlays directory