mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-06-24 14:02:07 +02:00
Added theme variable for flake
This commit is contained in:
parent
0ebde253c2
commit
580a49b470
@ -36,7 +36,7 @@
|
||||
element {
|
||||
padding: 4 12;
|
||||
text-color: #${config.colorScheme.colors.base05};
|
||||
border-radius: 10px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
element selected {
|
||||
|
@ -18,6 +18,7 @@
|
||||
gitEmail = "tylerzanekelley@gmail.com";
|
||||
theLocale = "en_US.UTF-8";
|
||||
theTimezone = "America/Chicago";
|
||||
theme = "tokyo-night-storm";
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config = {
|
||||
@ -34,7 +35,7 @@
|
||||
modules = [ ./laptop/configuration.nix
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.extraSpecialArgs = { inherit username;
|
||||
inherit gitUsername; inherit gitEmail;
|
||||
inherit gitUsername; inherit gitEmail; inherit theme;
|
||||
inherit (inputs.nix-colors.lib-contrib {inherit pkgs;}) gtkThemeFromScheme;
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
@ -51,7 +52,7 @@
|
||||
modules = [ ./workstation/configuration.nix
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.extraSpecialArgs = { inherit username;
|
||||
inherit gitUsername; inherit gitEmail; inherit inputs;
|
||||
inherit gitUsername; inherit gitEmail; inherit inputs; inherit theme;
|
||||
inherit (inputs.nix-colors.lib-contrib {inherit pkgs;}) gtkThemeFromScheme;
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
5
home.nix
5
home.nix
@ -1,5 +1,6 @@
|
||||
{ config, pkgs, inputs, username,
|
||||
gitUsername, gitEmail, gtkThemeFromScheme, ... }:
|
||||
gitUsername, gitEmail, gtkThemeFromScheme,
|
||||
theme, ... }:
|
||||
|
||||
{
|
||||
# Home Manager Settings
|
||||
@ -8,7 +9,7 @@
|
||||
home.stateVersion = "23.11";
|
||||
|
||||
# Set The Colorscheme
|
||||
colorScheme = inputs.nix-colors.colorSchemes.rose-pine-moon;
|
||||
colorScheme = inputs.nix-colors.colorSchemes."${theme}";
|
||||
|
||||
imports = [
|
||||
inputs.nix-colors.homeManagerModules.default
|
||||
|
Loading…
x
Reference in New Issue
Block a user