blob: 0223a3f62c3fe5007c2a446cdaf151914de79394 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ config, pkgs, lib, ... }: {
# Define a user account. Don't forget to set a password with 'passwd'.
users = {
users.root = {
isNormaluser = true;
hashedPassword = "$6$UljPNAdxZ22lP3Bc$8VaEAacZxtXM3Zji2IA7Jf5fXs9pFnAVQff1d8IbfFOKCvjibceyopOAjRXa8lXtpOSJgPW1OO1dzOspqhWnz0";
# oppenssh.authorizedKeys.keyFiles = [
# (builtins.fetchurl {
# url = "https://gitlab.com/dFinlinson.keys";
# sha256 = "0zzmma4zd7dm4sy6ikk03mqac8c5401l6xzfyqvk2v7ndxmd97l1";
# })
# ];
};
};
# Allow to run nix
nix.settings.allowed-users = [ "root" ];
}
|