refactor(home): homeModules -> ooknet

This commit is contained in:
ooks-io 2024-05-30 22:02:18 +12:00
parent b81c929a0b
commit 1d1cb3092f
104 changed files with 214 additions and 255 deletions

View file

@ -1,6 +1,6 @@
{ config, lib, ... }:
let
cfg = config.homeModules.console.shell.bash;
cfg = config.ooknet.console.shell.bash;
in
{
config = lib.mkIf cfg.enable {

View file

@ -6,7 +6,7 @@
./zsh
];
options.homeModules.console.shell = {
options.ooknet.console.shell = {
fish = {
enable = lib.mkEnableOption "Enable fish configuration";
};

View file

@ -1,6 +1,6 @@
{ lib, config, ... }:
let
cfg = config.homeModules.console.shell.fish;
cfg = config.ooknet.console.shell.fish;
inherit (lib) mkIf;
hasPackage = pname: lib.any (p: p ? pname && p.pname == pname) config.home.packages;
hasEza = hasPackage "eza";

View file

@ -2,11 +2,11 @@
let
inherit (lib) mkIf mkEnableOption;
cfg = config.homeModules.console.shell.zsh;
cfg = config.ooknet.console.shell.zsh;
in
{
options.homeModules.console.shell.zsh.enable = mkEnableOption "";
options.ooknet.console.shell.zsh.enable = mkEnableOption "";
config = mkIf cfg.enable {
programs.zsh = {