Configure ssh keys
This commit is contained in:
parent
d3debcc799
commit
3e350bc425
1 changed files with 7 additions and 4 deletions
|
|
@ -64,10 +64,13 @@
|
|||
}
|
||||
];
|
||||
};
|
||||
users.users.root.openssh.authorizedKeys.keyFiles = [
|
||||
../../ssh_keys/phfroidmont-laptop.pub
|
||||
|
||||
users.users.${config.user.name} = {
|
||||
openssh.authorizedKeys.keyFiles = [
|
||||
../../ssh_keys/phfroidmont-desktop.pub
|
||||
../../ssh_keys/phfroidmont-stellaris.pub
|
||||
];
|
||||
};
|
||||
|
||||
# Allow to externally control MPD
|
||||
networking.firewall.allowedTCPPorts = [ 6600 ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue