Skip to content

Commit 2e92974

Browse files
committed
zsh fixes
1 parent 1644743 commit 2e92974

File tree

7 files changed

+10
-16
lines changed

7 files changed

+10
-16
lines changed

.gitattributes

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
*.age filter=age diff=age
2-
/users/mbund/cli/p10k.zsh linguist-vendored
2+
/users/mbund/cli/p10k-config/p10k.zsh linguist-vendored

core/default.nix

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
./nix.nix
55
./networking.nix
66
./openssh.nix
7-
./zsh.nix
87
];
98

109
boot.kernelParams = [ "log_buf_len=10M" ];

core/zsh.nix

-8
This file was deleted.
File renamed without changes.

users/mbund/cli/zsh.nix

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@
2828
};
2929
}
3030
{
31-
file = "powerlevel10k.zsh-theme";
3231
name = "powerlevel10k";
33-
src = "${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k";
32+
src = pkgs.zsh-powerlevel10k;
33+
file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
3434
}
3535
{
36-
file = "p10k.zsh";
3736
name = "powerlevel10k-config";
38-
src = ./p10k.zsh;
37+
src = ./p10k-config;
38+
file = "p10k.zsh";
3939
}
4040
];
4141

users/mbund/default.nix

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ config, lib, pkgs, self, impermanence, ... }:
1+
{ config, lib, self, impermanence, ... }:
22
with lib;
33
let
44
theme = "catppuccin";
@@ -36,7 +36,6 @@ in
3636
openssh.authorizedKeys.keys = [
3737
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM2kbXZV9yOofK3s37lz5DDogOIp9EKuUxaOhVdczKDr"
3838
];
39-
shell = mkIf config.programs.zsh.enable pkgs.zsh;
4039
uid = 1000;
4140

4241
passwordFile = config.age.secrets.mbundPassword.path;

users/mbund/terminals.nix

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ in
77
programs.alacritty = {
88
enable = true;
99
settings = {
10+
shell.program = "zsh";
11+
1012
window = {
1113
decorations = "none";
1214
dynamic_padding = true;
@@ -59,6 +61,8 @@ in
5961
font.name = font;
6062
font.size = 11;
6163
settings = {
64+
shell = "zsh";
65+
6266
dynamic_background_opacity = "yes";
6367
hide_window_decorations = "yes";
6468

0 commit comments

Comments
 (0)