diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2023-11-20 05:49:43 -0700 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2023-11-20 05:49:43 -0700 |
| commit | 96a618e44b8926fe0a2091ab03c31d0426d52b54 (patch) | |
| tree | ce8fdf9223219b43a3e822226fd0ce61c7b9804a /modules/users/root.nix | |
| parent | 2fb6e7eb04f4d731db8ca09ced6aa56703e75dbf (diff) | |
renamed folder for faster typing and thinking
Diffstat (limited to 'modules/users/root.nix')
| -rw-r--r-- | modules/users/root.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/users/root.nix b/modules/users/root.nix new file mode 100644 index 0000000..aba99c1 --- /dev/null +++ b/modules/users/root.nix @@ -0,0 +1,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://git.wormcar.gay/devinf.keys"; + # sha256 = "14d35z9r6gakfavf5qljjk2iv8cm09n3x2ajgbs91b1hsga3midk"; + # }) + # ]; + }; + }; + + # Allow to run nix + nix.settings.allowed-users = [ "root" ]; +} |
