feat(ooksphone) add colorscheme
This commit is contained in:
parent
c25f160e81
commit
1bf362e4a0
5 changed files with 82 additions and 9 deletions
|
|
@ -7,10 +7,12 @@
|
|||
{
|
||||
imports = [
|
||||
./minimal
|
||||
./phone
|
||||
];
|
||||
|
||||
options.theme = {
|
||||
minimal.enable = lib.mkEnableOption "enable minimal theme";
|
||||
phone.enable = lib.mkEnableOption "Enable phone theme";
|
||||
};
|
||||
|
||||
# config = {
|
||||
|
|
|
|||
28
home/profile/themes/phone/default.nix
Normal file
28
home/profile/themes/phone/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, config, pkgs, inputs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.theme.phone;
|
||||
inherit (inputs.nix-colors) colorSchemes;
|
||||
in
|
||||
|
||||
{
|
||||
imports = [ inputs.nix-colors.homeManagerModule ];
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
colorscheme = colorSchemes.gruvbox-material-dark-soft;
|
||||
home.file.".colorscheme".text = config.colorscheme.slug;
|
||||
home.sessionVariables.COLOR_SCHEME = "${config.colorscheme.slug}";
|
||||
|
||||
homeModules.theme = {
|
||||
fonts.enable = true;
|
||||
fonts.regular = {
|
||||
family = "Fira Sans";
|
||||
package = pkgs.fira;
|
||||
};
|
||||
fonts.monospace = {
|
||||
family = "JetBrainsMono Nerd Font";
|
||||
package = pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; };
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,16 +1,17 @@
|
|||
{ inputs, outputs, config, ... }:
|
||||
{ ... }:
|
||||
|
||||
|
||||
{
|
||||
imports = [
|
||||
../../../modules
|
||||
../../../profiles
|
||||
];
|
||||
|
||||
theme.phone.enable = true;
|
||||
|
||||
homeModules = {
|
||||
console.editor.helix.enable = true;
|
||||
};
|
||||
|
||||
home.sessionVariables.HN = "ooksphone";
|
||||
|
||||
home.stateVersion = "23.11";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue