1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

etc: add known hash for /etc/shells

This commit is contained in:
Michael Hoang 2023-12-23 22:41:58 +11:00
parent 010a625bd7
commit 850eabce44
2 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,11 @@
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.
/bin/bash
/bin/csh
/bin/dash
/bin/ksh
/bin/sh
/bin/tcsh
/bin/zsh

View file

@ -41,5 +41,9 @@ in
${concatStringsSep "\n" cfg.shells}
'';
environment.etc."shells".knownSha256Hashes = [
"9d5aa72f807091b481820d12e693093293ba33c73854909ad7b0fb192c2db193" # macOS
];
};
}