Compare commits
1 Commits
725ba42c78
...
68b58053d4
Author | SHA1 | Date |
---|---|---|
Jaculabilis | 68b58053d4 |
|
@ -174,6 +174,32 @@
|
|||
};
|
||||
users.groups.tvb = {};
|
||||
|
||||
/*
|
||||
users.users.guestbook = let
|
||||
sign-guestbook = pkgs.writeShellScriptBin "sign-guestbook" ''
|
||||
echo "Hello world!"
|
||||
''
|
||||
# Hack the shell path in since writeShellScriptBin doesn't take passthru
|
||||
// { shellPath = "/bin/sign-guestbook"; };
|
||||
in {
|
||||
group = "guestbook";
|
||||
password = "";
|
||||
description = "Guestbook login";
|
||||
shell = sign-guestbook;
|
||||
isNormalUser = true;
|
||||
createHome = false;
|
||||
home = "/var/empty";
|
||||
useDefaultShell = false;
|
||||
};
|
||||
users.groups.guestbook = {};
|
||||
services.openssh.extraConfig = ''
|
||||
Match user guestbook
|
||||
PasswordAuthentication yes
|
||||
PermitEmptyPasswords yes
|
||||
Match all
|
||||
PasswordAuthentication no
|
||||
'';*/
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
|
|
Loading…
Reference in New Issue