refactor(sys): systemModules -> ooknet

This commit is contained in:
ooks-io 2024-05-26 17:41:49 +12:00
parent 63c39a89ed
commit 104df464f9
52 changed files with 69 additions and 69 deletions

View file

@ -2,8 +2,8 @@
let
inherit (lib) mkIf;
adminShell = config.systemModules.host.admin.shell;
cfg = config.systemModules.shell.zsh;
adminShell = config.ooknet.host.admin.shell;
cfg = config.ooknet.shell.zsh;
in
{

View file

@ -2,12 +2,12 @@
let
inherit (lib) mkIf mkEnableOption;
adminShell = config.systemModules.host.admin.shell;
cfg = config.systemModules.shell.fish;
adminShell = config.ooknet.host.admin.shell;
cfg = config.ooknet.shell.fish;
in
{
options.systemModules.shell.fish.enable = mkEnableOption "Enable fish module";
options.ooknet.shell.fish.enable = mkEnableOption "Enable fish module";
config = mkIf (adminShell == "fish" || cfg.enable) {
programs.fish = {

View file

@ -2,13 +2,13 @@
let
inherit (lib) mkIf mkEnableOption;
adminShell = config.systemModules.host.admin.shell;
cfg = config.systemModules.shell.zsh;
adminShell = config.ooknet.host.admin.shell;
cfg = config.ooknet.shell.zsh;
in
{
options.systemModules.shell.zsh.enable = mkEnableOption "Enable zsh module";
options.ooknet.shell.zsh.enable = mkEnableOption "Enable zsh module";
config = mkIf (adminShell == "zsh" || cfg.enable) {
programs.zsh = {