Fix home-manager for root

This commit is contained in:
Artemis Tosini 2023-09-25 18:49:31 +00:00
parent f4268d163b
commit e6a8bbf95b
Signed by: artemist
GPG key ID: ADFFE553DCBB831E

View file

@ -1,4 +1,4 @@
{ ... }:
{ config, ... }:
{
nix = {
@ -15,8 +15,12 @@
'';
};
home-manager.users.root.programs.ssh = {
enable = true;
userKnownHostsFile = "~/.ssh/known_hosts ${../home/ssh/extra_known_hosts}";
home-manager.users.root = {
home.stateVersion = config.system.stateVersion;
programs.ssh = {
enable = true;
userKnownHostsFile =
"~/.ssh/known_hosts ${../home/ssh/extra_known_hosts}";
};
};
}