All my system configs and packages in one repo
1{
2 config,
3 lib,
4 pkgs,
5 ...
6}:
7{
8
9 programs.fish.enable = true;
10 users.users.leah.shell = config.programs.fish.package;
11
12 hjem.users.leah.rum.programs = {
13 direnv.integrations.fish.enable = true;
14 starship.integrations.fish.enable = true;
15 };
16
17 hjem.users.leah.rum.programs.fish = {
18 enable = true;
19 inherit (config.programs.fish) package;
20
21 abbrs = {
22 ls = "eza";
23 ll = "eza -l";
24 la = "eza -a";
25 lt = "eza --tree";
26 lla = "eza -la";
27 };
28
29 config = ''
30 function eza --wraps eza
31 command eza --git --icons=auto $argv
32 end
33 '';
34 };
35}