nix-config/users/root/default.nix

29 lines
576 B
Nix
Raw Normal View History

2023-05-18 11:47:55 +02:00
{
pkgs,
2024-12-20 20:40:27 +01:00
globals,
2024-11-26 18:14:27 +01:00
lib,
minimal,
2023-05-18 11:47:55 +02:00
...
2024-07-26 22:12:48 +02:00
}:
{
2023-05-18 11:47:55 +02:00
users.users.root = {
shell = pkgs.zsh;
openssh.authorizedKeys.keys = [
2023-10-07 01:01:35 +02:00
# Patrick
2023-05-18 11:47:55 +02:00
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDZixkix0KfKuq7Q19whS5FQQg51/AJGB5BiNF/7h/LM"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHxD4GOrwrBTG4/qQhm5hoSB2CP7W9g1LPWP11oLGOjQ"
];
2024-12-20 20:40:27 +01:00
inherit (globals.users.root) hashedPassword;
2023-05-18 11:47:55 +02:00
};
2024-11-26 18:14:27 +01:00
imports = lib.optionals (!minimal) [
2024-10-31 15:09:23 +01:00
../patrick/alias.nix
../patrick/theme.nix
../patrick/programs/nvim
../patrick/programs/pager.nix
../patrick/programs/zsh
];
2023-05-18 11:47:55 +02:00
}