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