fix(home): Fix module enable option def
Modules were being placed at <group>.<namespace>.<module> instead of <namespace>.<group>.<module>
This commit is contained in:
parent
1c6d295db6
commit
6a2b253f83
8 changed files with 8 additions and 8 deletions
|
@ -13,7 +13,7 @@ let
|
|||
inherit (config.${namespace}) theme;
|
||||
in
|
||||
{
|
||||
options.appearance = mkEnableModule "base";
|
||||
options = mkEnableModule "appearance.base";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
|
|
|
@ -12,7 +12,7 @@ let
|
|||
inherit (config.${namespace}) theme;
|
||||
in
|
||||
{
|
||||
options.appearance = mkEnableModule "gtk";
|
||||
options = mkEnableModule "appearance.gtk";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
gtk = {
|
||||
|
|
|
@ -13,7 +13,7 @@ let
|
|||
inherit (config.${namespace}) theme;
|
||||
in
|
||||
{
|
||||
options.appearance = mkEnableModule "qt";
|
||||
options = mkEnableModule "appearance.qt";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
xdg.configFile = mkIf (theme.colors.base == "rose-pine") {
|
||||
|
|
|
@ -13,7 +13,7 @@ let
|
|||
inherit (config.${namespace}) theme;
|
||||
in
|
||||
{
|
||||
options.programs = mkEnableModule "fish";
|
||||
options = mkEnableModule "programs.fish";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
|
|
|
@ -11,7 +11,7 @@ let
|
|||
cfg = config.${namespace}.programs.journalctl;
|
||||
in
|
||||
{
|
||||
options.programs = mkEnableModule "journalctl";
|
||||
options = mkEnableModule "programs.journalctl";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.shellAbbrs = {
|
||||
|
|
|
@ -12,7 +12,7 @@ let
|
|||
cfg = config.${namespace}.programs.neo;
|
||||
in
|
||||
{
|
||||
options.programs = mkEnableModule "neo";
|
||||
options = mkEnableModule "programs.neo";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
|
|
|
@ -11,7 +11,7 @@ let
|
|||
cfg = config.${namespace}.programs.systemctl;
|
||||
in
|
||||
{
|
||||
options.programs = mkEnableModule "systemctl";
|
||||
options = mkEnableModule "programs.systemctl";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.shellAbbrs = {
|
||||
|
|
|
@ -11,7 +11,7 @@ let
|
|||
cfg = config.${namespace}.xorg.xsession;
|
||||
in
|
||||
{
|
||||
options.xorg = mkEnableModule "xsession";
|
||||
options = mkEnableModule "xorg.xsession";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
xsession = {
|
||||
|
|
Loading…
Reference in a new issue