Format with nixfmt-rfc
This commit is contained in:
parent
8c9f699269
commit
a90a9c3a8e
60 changed files with 1756 additions and 1039 deletions
|
|
@ -1,4 +1,11 @@
|
|||
{ lib, config, options, pkgs, ... }: {
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
options,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.mods.fish = {
|
||||
enable = lib.mkOption {
|
||||
default = true;
|
||||
|
|
@ -7,8 +14,8 @@
|
|||
description = "Enables fish";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf config.mods.fish.enable
|
||||
(lib.optionalAttrs (options ? programs.fish) {
|
||||
config = lib.mkIf config.mods.fish.enable (
|
||||
lib.optionalAttrs (options ? programs.fish) {
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
shellInit = ''
|
||||
|
|
@ -147,5 +154,6 @@
|
|||
direnv hook fish | source
|
||||
'';
|
||||
};
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue