diff --git a/home/services/default.nix b/home/services/default.nix index 0948945..a9d18ff 100644 --- a/home/services/default.nix +++ b/home/services/default.nix @@ -1,5 +1,20 @@ -{ ... }: +{ lib, config, ... }: { + # TODO: There's probably some fancy nix attr mapping that can be done to set + # these once and convert them to aliases or abbrs depending on shell. + programs.fish.shellAbbrs = + lib.mkIf (config.programs.fish.enable && config.programs.fish.preferAbbrs) + { + jf = { + position = "command"; + expansion = "sudo journalctl --follow --unit"; + }; + je = { + position = "command"; + expansion = "sudo journalctl --pager-end --unit"; + }; + }; + imports = [ ./clipboard.nix ./dunst.nix