From 992fa40c3b6a77d18d635f4886d59321b3e8ac5a Mon Sep 17 00:00:00 2001 From: Skyler Grey Date: Tue, 7 Oct 2025 20:17:05 +0000 Subject: [PATCH] fix(pm/server): disable zsh new user welcome Change-Id: unsyznronxyxuonvxwoolnqtsnsvluuz We can do this by redefining the function zsh calls to be a no-op... I haven't decided if we want this on user machines, but we definitely don't want it on servers Refs: https://discourse.nixos.org/t/zsh-configuration-for-new-users-keeps-recurring --- packetmix/systems/server/zsh.nix | 7 +++++++ packetmix/workspace.josh.license | 3 +++ 2 files changed, 10 insertions(+) create mode 100644 packetmix/systems/server/zsh.nix create mode 100644 packetmix/workspace.josh.license diff --git a/packetmix/systems/server/zsh.nix b/packetmix/systems/server/zsh.nix new file mode 100644 index 00000000..088d2546 --- /dev/null +++ b/packetmix/systems/server/zsh.nix @@ -0,0 +1,7 @@ +# SPDX-FileCopyrightText: 2025 FreshlyBakedCake +# +# SPDX-License-Identifier: MIT + +{ + programs.zsh.shellInit = "zsh-newuser-install() { true }"; +} diff --git a/packetmix/workspace.josh.license b/packetmix/workspace.josh.license new file mode 100644 index 00000000..d698a125 --- /dev/null +++ b/packetmix/workspace.josh.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2025 FreshlyBakedCake + +SPDX-License-Identifier: CC0-1.0 -- 2.43.0