Apply home-manager settings to all users automatically 🚸
This commit is contained in:
parent
c2358177dc
commit
e02c8c77a4
11 changed files with 18 additions and 47 deletions
|
|
@ -4,7 +4,7 @@ with config.lib.stylix.colors.withHashtag;
|
|||
with config.stylix.fonts;
|
||||
|
||||
{
|
||||
stylix.homeModule = {
|
||||
home-manager.sharedModules = [{
|
||||
services.dunst.settings = {
|
||||
global = {
|
||||
separator_color = base02;
|
||||
|
|
@ -29,5 +29,5 @@ with config.stylix.fonts;
|
|||
frame_color = base08;
|
||||
};
|
||||
};
|
||||
};
|
||||
}];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,5 +18,7 @@ let
|
|||
in {
|
||||
programs.fish.promptInit = promptInit;
|
||||
|
||||
stylix.homeModule = { programs.fish.interactiveShellInit = promptInit; };
|
||||
home-manager.sharedModules = [{
|
||||
programs.fish.interactiveShellInit = promptInit;
|
||||
}];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -145,13 +145,13 @@ in lib.mkIf (config.services.xserver.enable || config.programs.sway.enable) {
|
|||
# Required for Home Manager's GTK settings to work
|
||||
programs.dconf.enable = true;
|
||||
|
||||
stylix.homeModule = {
|
||||
home-manager.sharedModules = [{
|
||||
gtk = {
|
||||
enable = true;
|
||||
inherit theme;
|
||||
font = config.stylix.fonts.sansSerif;
|
||||
};
|
||||
};
|
||||
}];
|
||||
|
||||
services.xserver.displayManager.lightdm.greeters.gtk.theme = theme;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -99,10 +99,10 @@ let theme = {
|
|||
};
|
||||
|
||||
in {
|
||||
stylix.homeModule = {
|
||||
home-manager.sharedModules = [{
|
||||
programs.helix = {
|
||||
settings.theme = "stylix";
|
||||
themes.stylix = theme;
|
||||
};
|
||||
};
|
||||
}];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
stylix.homeModule = {
|
||||
home-manager.sharedModules = [{
|
||||
programs.kitty = {
|
||||
font = config.stylix.fonts.monospace;
|
||||
|
||||
|
|
@ -39,5 +39,5 @@
|
|||
color15 = base07;
|
||||
};
|
||||
};
|
||||
};
|
||||
}];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ let
|
|||
error = base08;
|
||||
|
||||
in {
|
||||
stylix.homeModule = {
|
||||
home-manager.sharedModules = [{
|
||||
programs.qutebrowser.settings = {
|
||||
hints.border = background;
|
||||
colors = {
|
||||
|
|
@ -206,5 +206,5 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ let
|
|||
};
|
||||
|
||||
in {
|
||||
stylix.homeModule = {
|
||||
home-manager.sharedModules = [{
|
||||
wayland.windowManager.sway.config = {
|
||||
inherit fonts;
|
||||
|
||||
|
|
@ -52,7 +52,7 @@ in {
|
|||
|
||||
output."*".bg = "${config.stylix.image} fill";
|
||||
};
|
||||
};
|
||||
}];
|
||||
|
||||
# Merge this with your bar configuration using //config.lib.stylix.sway.bar
|
||||
lib.stylix.sway.bar = {
|
||||
|
|
|
|||
|
|
@ -28,8 +28,8 @@ let
|
|||
};
|
||||
|
||||
in {
|
||||
stylix.homeModule = {
|
||||
home-manager.sharedModules = [{
|
||||
programs.vim = vimOptions;
|
||||
programs.neovim = vimOptions;
|
||||
};
|
||||
}];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue