Fix home-manager for root
This commit is contained in:
parent
f4268d163b
commit
e6a8bbf95b
|
@ -1,4 +1,4 @@
|
|||
{ ... }:
|
||||
{ config, ... }:
|
||||
|
||||
{
|
||||
nix = {
|
||||
|
@ -15,8 +15,12 @@
|
|||
'';
|
||||
};
|
||||
|
||||
home-manager.users.root.programs.ssh = {
|
||||
home-manager.users.root = {
|
||||
home.stateVersion = config.system.stateVersion;
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
userKnownHostsFile = "~/.ssh/known_hosts ${../home/ssh/extra_known_hosts}";
|
||||
userKnownHostsFile =
|
||||
"~/.ssh/known_hosts ${../home/ssh/extra_known_hosts}";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue