Skip to content

Commit e0bec9f

Browse files
committed
fix deprecated
Signed-off-by: San Nguyen <[email protected]>
1 parent d985433 commit e0bec9f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

modules/hyprland/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ in
1919
wayland.windowManager.hyprland.systemd.enable = true;
2020
wayland.windowManager.hyprland.systemd.variables = [ "--all" ];
2121
programs.zsh = {
22-
initExtra = ''
22+
initContent = ''
2323
. $HOME/.nix-config/modules/hyprland/hyprland.zsh
2424
'';
2525
};

modules/kitty/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ lib.mkMerge [
44
xdg.configFile."kitty".source = ./.;
55
xdg.configFile."kitty".recursive = true;
66
programs.zsh = {
7-
initExtra = ''
7+
initContent = ''
88
. $HOME/.config/kitty/kitty.zsh
99
'';
1010
};

modules/programs/kubeswitch.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ in
4040
lib.mkIf cfg.enable {
4141
home.packages = [ cfg.package ];
4242

43-
programs.bash.initExtra = ''
43+
programs.bash.initContent = ''
4444
source ${shell_files}/share/${cfg.command}_init.bash
4545
source ${shell_files}/share/${cfg.command}_completion.bash
4646
'';
4747

48-
programs.zsh.initExtra = ''
48+
programs.zsh.initContent = ''
4949
autoload -U +X compinit && compinit
5050
5151
source ${shell_files}/share/${cfg.command}_init.zsh

0 commit comments

Comments
 (0)