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 = { specialArgs = {
inherit inputs outputs; inherit inputs outputs;
# colorscheme = "${inputs.catppuccin-base16}/base16/latte.yaml";
colorscheme = "${inputs.rosepine-base16}/rose-pine-dawn.yaml";
}; };
in in
rec { 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 = { wallpapers = {
"Catppuccin Latte" = ./wallpapers/wall.png; "Catppuccin Latte" = ./wallpapers/wall.png;
"Catppuccin Frappe" = ./wallpapers/nix-catppuccin.png; "Catppuccin Frappe" = ./wallpapers/nix-catppuccin.png;
"Rosé Pine Dawn" = ./wallpapers/rosepine_light_field.png;
}; };
in in
{ {

View file

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

View file

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