Something went wrong. Try again.
Flake for my desktop, laptop, and my homelab.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ flake.aspects.fish = { nixos.programs.fish.enable = true;
homeManager = { # keep-sorted start config, lib, pkgs, # keep-sorted end ... }: let inherit (lib) # keep-sorted start concatStringsSep mkOption types # keep-sorted end ;
cfg = config.programs.fish; in { options.programs.fish.interactiveShellInitSnippets = mkOption { description = "Fish snippets concatenated into interactiveShellInit.";
type = types.listOf types.lines; default = []; };
config = { programs.fish = { enable = true;
interactiveShellInit = concatStringsSep "\n" cfg.interactiveShellInitSnippets;
binds = { # keep-sorted start "alt-d".erase = true; "alt-e".erase = true; "alt-l".erase = true; # keep-sorted end }; };
home.packages = [pkgs.file]; }; }; };}