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:
punkfairie 2024-11-16 11:39:47 -08:00
parent 1c6d295db6
commit 6a2b253f83
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696
8 changed files with 8 additions and 8 deletions

View file

@ -13,7 +13,7 @@ let
inherit (config.${namespace}) theme; inherit (config.${namespace}) theme;
in in
{ {
options.appearance = mkEnableModule "base"; options = mkEnableModule "appearance.base";
config = mkIf cfg.enable { config = mkIf cfg.enable {
home.packages = with pkgs; [ home.packages = with pkgs; [

View file

@ -12,7 +12,7 @@ let
inherit (config.${namespace}) theme; inherit (config.${namespace}) theme;
in in
{ {
options.appearance = mkEnableModule "gtk"; options = mkEnableModule "appearance.gtk";
config = mkIf cfg.enable { config = mkIf cfg.enable {
gtk = { gtk = {

View file

@ -13,7 +13,7 @@ let
inherit (config.${namespace}) theme; inherit (config.${namespace}) theme;
in in
{ {
options.appearance = mkEnableModule "qt"; options = mkEnableModule "appearance.qt";
config = mkIf cfg.enable { config = mkIf cfg.enable {
xdg.configFile = mkIf (theme.colors.base == "rose-pine") { xdg.configFile = mkIf (theme.colors.base == "rose-pine") {

View file

@ -13,7 +13,7 @@ let
inherit (config.${namespace}) theme; inherit (config.${namespace}) theme;
in in
{ {
options.programs = mkEnableModule "fish"; options = mkEnableModule "programs.fish";
config = mkIf cfg.enable { config = mkIf cfg.enable {
home.packages = with pkgs; [ home.packages = with pkgs; [

View file

@ -11,7 +11,7 @@ let
cfg = config.${namespace}.programs.journalctl; cfg = config.${namespace}.programs.journalctl;
in in
{ {
options.programs = mkEnableModule "journalctl"; options = mkEnableModule "programs.journalctl";
config = mkIf cfg.enable { config = mkIf cfg.enable {
home.shellAbbrs = { home.shellAbbrs = {

View file

@ -12,7 +12,7 @@ let
cfg = config.${namespace}.programs.neo; cfg = config.${namespace}.programs.neo;
in in
{ {
options.programs = mkEnableModule "neo"; options = mkEnableModule "programs.neo";
config = mkIf cfg.enable { config = mkIf cfg.enable {
home.packages = with pkgs; [ home.packages = with pkgs; [

View file

@ -11,7 +11,7 @@ let
cfg = config.${namespace}.programs.systemctl; cfg = config.${namespace}.programs.systemctl;
in in
{ {
options.programs = mkEnableModule "systemctl"; options = mkEnableModule "programs.systemctl";
config = mkIf cfg.enable { config = mkIf cfg.enable {
home.shellAbbrs = { home.shellAbbrs = {

View file

@ -11,7 +11,7 @@ let
cfg = config.${namespace}.xorg.xsession; cfg = config.${namespace}.xorg.xsession;
in in
{ {
options.xorg = mkEnableModule "xsession"; options = mkEnableModule "xorg.xsession";
config = mkIf cfg.enable { config = mkIf cfg.enable {
xsession = { xsession = {