Skip to content

Commit fdb964a

Browse files
committed
add alejandra
1 parent dd75e0c commit fdb964a

File tree

1 file changed

+99
-63
lines changed

1 file changed

+99
-63
lines changed

modules/home-manager/base/default.nix

Lines changed: 99 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
{ pkgs, inputs, config, lib, ... }:
1+
{
2+
pkgs,
3+
inputs,
4+
config,
5+
lib,
6+
...
7+
}:
28

39
let
410
username = config.home.username;
@@ -14,7 +20,10 @@ in
1420
];
1521

1622
nix.settings = {
17-
experimental-features = [ "flakes" "nix-command" ];
23+
experimental-features = [
24+
"flakes"
25+
"nix-command"
26+
];
1827
};
1928

2029
home.stateVersion = "23.05";
@@ -23,57 +32,61 @@ in
2332
programs.home-manager.enable = true;
2433

2534
# Packages that should be installed to the user profile.
26-
home.packages = with pkgs; [
27-
argocd
28-
asciinema
29-
awscli2
30-
bat
31-
bottom
32-
bun
33-
cachix
34-
cheat
35-
cmctl
36-
dig
37-
duf
38-
fd
39-
file
40-
fluxcd
41-
fx
42-
gh
43-
gnumake
44-
htop
45-
httpie
46-
iftop
47-
iperf3
48-
jq
49-
kubectl
50-
kubernetes-helm
51-
kubeseal
52-
k9s
53-
lazydocker
54-
mc
55-
nil
56-
nix-tree
57-
nixd
58-
nixfmt-rfc-style
59-
nixpkgs-fmt
60-
nnn
61-
nodejs
62-
ookla-speedtest
63-
opentofu
64-
ranger
65-
rename
66-
ripgrep
67-
ruff
68-
sshfs
69-
tabview
70-
unzip
71-
uv
72-
wget
73-
yt-dlp
74-
] ++ [
75-
inputs.agenix.packages."${pkgs.stdenv.system}".default
76-
];
35+
home.packages =
36+
with pkgs;
37+
[
38+
argocd
39+
alejandra
40+
asciinema
41+
awscli2
42+
bat
43+
bottom
44+
bun
45+
cachix
46+
cheat
47+
cmctl
48+
dig
49+
duf
50+
fd
51+
file
52+
fluxcd
53+
fx
54+
gh
55+
gnumake
56+
htop
57+
httpie
58+
iftop
59+
iperf3
60+
jq
61+
kubectl
62+
kubernetes-helm
63+
kubeseal
64+
k9s
65+
lazydocker
66+
mc
67+
nil
68+
nix-tree
69+
nixd
70+
nixfmt-rfc-style
71+
nixpkgs-fmt
72+
nnn
73+
nodejs
74+
ookla-speedtest
75+
opentofu
76+
ranger
77+
rename
78+
ripgrep
79+
ruff
80+
sshfs
81+
tabview
82+
unzip
83+
uv
84+
wget
85+
yt-dlp
86+
]
87+
++ [
88+
inputs.agenix.packages."${pkgs.stdenv.system}".default
89+
];
7790

7891
catppuccin.flavor = "macchiato";
7992
catppuccin.fzf.enable = true;
@@ -101,7 +114,13 @@ in
101114
syntaxHighlighting.enable = true;
102115
oh-my-zsh = {
103116
enable = true;
104-
plugins = [ "git" "gh" "composer" "rsync" "aws" ];
117+
plugins = [
118+
"git"
119+
"gh"
120+
"composer"
121+
"rsync"
122+
"aws"
123+
];
105124
};
106125
initContent = ''
107126
### Fix slowness of pastes with zsh-syntax-highlighting.zsh
@@ -193,20 +212,36 @@ in
193212
show_startup_tips = false;
194213
keybinds = {
195214
"move" = {
196-
unbind = { _args = [ "Ctrl h" ]; };
197-
"bind \"Ctrl m\"" = { SwitchToMode = "Normal"; };
215+
unbind = {
216+
_args = [ "Ctrl h" ];
217+
};
218+
"bind \"Ctrl m\"" = {
219+
SwitchToMode = "Normal";
220+
};
198221
};
199222
"shared_except \"move\" \"locked\"" = {
200-
unbind = { _args = [ "Ctrl h" ]; };
201-
"bind \"Ctrl m\"" = { SwitchToMode = "Move"; };
223+
unbind = {
224+
_args = [ "Ctrl h" ];
225+
};
226+
"bind \"Ctrl m\"" = {
227+
SwitchToMode = "Move";
228+
};
202229
};
203230
"session" = {
204-
unbind = { _args = [ "Ctrl o" ]; };
205-
"bind \"Ctrl u\"" = { SwitchToMode = "Normal"; };
231+
unbind = {
232+
_args = [ "Ctrl o" ];
233+
};
234+
"bind \"Ctrl u\"" = {
235+
SwitchToMode = "Normal";
236+
};
206237
};
207238
"shared_except \"session\" \"locked\"" = {
208-
unbind = { _args = [ "Ctrl o" ]; };
209-
"bind \"Ctrl u\"" = { SwitchToMode = "Session"; };
239+
unbind = {
240+
_args = [ "Ctrl o" ];
241+
};
242+
"bind \"Ctrl u\"" = {
243+
SwitchToMode = "Session";
244+
};
210245
};
211246
};
212247
};
@@ -242,6 +277,7 @@ in
242277
font.normal.family = "MesloLGSDZ Nerd Font";
243278
font.size = 18;
244279
env.TERM = "xterm-256color";
245-
} // lib.importTOML ./config/alacritty-catppuccin-mocha.toml;
280+
}
281+
// lib.importTOML ./config/alacritty-catppuccin-mocha.toml;
246282
};
247283
}

0 commit comments

Comments
 (0)