cli/thefuck.nix: init
This commit is contained in:
parent
a8522b5779
commit
d4cedfa954
1 changed files with 24 additions and 0 deletions
24
modules/programs/cli/thefuck.nix
Normal file
24
modules/programs/cli/thefuck.nix
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (config.modules.other.system) username;
|
||||||
|
inherit (lib) mkIf;
|
||||||
|
cfg = config.modules.system.programs.oh-my-posh;
|
||||||
|
in {
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
home-manager.users.${username} = {
|
||||||
|
programs.thefuck = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.thefuck;
|
||||||
|
enableInstantMode = true;
|
||||||
|
enableNushellIntegration = true;
|
||||||
|
enableBashIntegration = true;
|
||||||
|
enableFishIntegration = true;
|
||||||
|
enableZshIntegration = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue