1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-30 19:54:43 +00:00

Merge pull request #837 from Enzime/add/shells

etc: add known hash for `/etc/shells`
This commit is contained in:
Domen Kožar 2023-12-24 10:54:00 +00:00 committed by GitHub
commit f454cff5fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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
];
};
}