refactor(home): homeModules -> ooknet
This commit is contained in:
parent
b81c929a0b
commit
1d1cb3092f
104 changed files with 214 additions and 255 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
./zsh
|
||||
];
|
||||
|
||||
options.homeModules.console.shell = {
|
||||
options.ooknet.console.shell = {
|
||||
fish = {
|
||||
enable = lib.mkEnableOption "Enable fish configuration";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue