dotfiles/modules/shell/fish.nix

34 lines
565 B
Nix
Raw Normal View History

2022-01-14 14:48:03 +01:00
{ config, lib, options, pkgs, ... }:
with lib;
let
cfg = config.modules.shell.fish;
cfgDir = config.configDir;
in {
/*
options.modules.shell.fish = {
enable = mkOption {
type = types.bool;
default = false;
};
executable = mkOption {
type = types.str;
default = "${pkgs.fish}/bin/fish";
};
};
config = cfg.enable {
home._.programs.fish = {
enable = true;
};
home.configFile = {
"fish" = {
source = "${cfgDir}/fish";
2022-04-20 10:53:28 +02:00
target = "$HOME/.config/fish";
2022-01-14 14:48:03 +01:00
};
};
};
*/
}