woot. got a working build again
This commit is contained in:
parent
99fc92030f
commit
8c011c7e50
16 changed files with 73 additions and 89 deletions
10
modules/home/home-manager/default.nix
Normal file
10
modules/home/home-manager/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ lib, osConfig ? { }, ... }:
|
||||
let
|
||||
inherit (lib) mkDefault;
|
||||
in
|
||||
{
|
||||
systemd.user.startServices = "sd-switch";
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
home.stateVersion = mkDefault (osConfig.system.stateVersion or "25.05");
|
||||
}
|
|
@ -21,7 +21,6 @@ in
|
|||
# shell = pkgs."${cfg.default}";
|
||||
# } else {})
|
||||
|
||||
|
||||
(mkIf (cfg.corePkgs.enable) {
|
||||
${namespace}.shell.toolset = mkDefault {
|
||||
bat.enable = true;
|
||||
|
|
|
@ -76,8 +76,6 @@ in
|
|||
credential.helper = "${pkgs.gitFull}/bin/git-credential-libsecret";
|
||||
|
||||
user = {
|
||||
name = config.${namespace}.user.full_name;
|
||||
email = config.${namespace}.user.email;
|
||||
signingKey = "~/.ssh/id_rsa.pub";
|
||||
};
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ let
|
|||
inherit (lib.types) nullOr enum;
|
||||
|
||||
cfg = config.${namespace}.themes;
|
||||
osCfg = osConfig.${namespace}.theming;
|
||||
in {
|
||||
options.${namespace}.themes = {
|
||||
enable = mkEnableOption "Theming (Stylix)";
|
||||
|
@ -23,12 +24,36 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
config = mkIf (cfg.enable && osConfig.${namespace}.theming.enable) {
|
||||
config = mkIf (cfg.enable) {
|
||||
stylix = {
|
||||
enable = true;
|
||||
|
||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/${cfg.theme}.yaml";
|
||||
image = ./${cfg.theme}.jpg;
|
||||
polarity = cfg.polarity;
|
||||
targets.qt.platform = mkDefault "kde6";
|
||||
|
||||
fonts = {
|
||||
serif = {
|
||||
package = pkgs.dejavu_fonts;
|
||||
name = "DejaVu Serif";
|
||||
};
|
||||
|
||||
sansSerif = {
|
||||
package = pkgs.dejavu_fonts;
|
||||
name = "DejaVu Sans";
|
||||
};
|
||||
|
||||
monospace = {
|
||||
package = pkgs.nerd-fonts.jetbrains-mono;
|
||||
name = "JetBrainsMono Nerd Font Mono";
|
||||
};
|
||||
|
||||
emoji = {
|
||||
package = pkgs.noto-fonts-emoji;
|
||||
name = "Noto Color Emoji";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue