fix(treewide): deadnix
This commit is contained in:
parent
f7b3aba883
commit
5c055252ea
26 changed files with 44 additions and 26 deletions
17
home/modules/console/shell/fish/functions.nix
Normal file
17
home/modules/console/shell/fish/functions.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ lib, config, osConfig, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkIf;
|
||||
cfg = config.ooknet.shell.fish;
|
||||
admin = osConfig.ooknet.host.admin;
|
||||
in
|
||||
|
||||
{
|
||||
config = mkIf (cfg.enable || admin.shell == "fish") {
|
||||
programs.fish.functions = {
|
||||
man = ''
|
||||
:q
|
||||
''
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue