Add module to configure sshd
This commit is contained in:
parent
14e269c02c
commit
59b58faeb5
4 changed files with 50 additions and 5 deletions
|
@ -1,4 +1,8 @@
|
|||
{lib, ...}: {
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
config = {
|
||||
pim = {
|
||||
cinnamon.enable = true;
|
||||
|
@ -6,8 +10,15 @@
|
|||
|
||||
facter.reportPath = ./facter.json;
|
||||
networking.hostName = "gamepc";
|
||||
users.users.pim.password = "";
|
||||
users.users.root.password = "";
|
||||
services.openssh.enable = true;
|
||||
|
||||
users.users = {
|
||||
root.password = "";
|
||||
pim = {
|
||||
openssh.authorizedKeys.keys = config.pim.ssh.keys.pim;
|
||||
password = "";
|
||||
};
|
||||
};
|
||||
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue