refactor: inputs/ --> {sys,home}/
This commit is contained in:
parent
8f22a24963
commit
f77c627980
225 changed files with 77 additions and 88 deletions
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" ]; };
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue