refactor(sys): systemModules -> ooknet
This commit is contained in:
parent
63c39a89ed
commit
104df464f9
52 changed files with 69 additions and 69 deletions
|
|
@ -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
|
||||
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue