Skip to content

Commit

Permalink
hosts (srv-prod-2): Configure a shell for user nextcloud
Browse files Browse the repository at this point in the history
Otherwise interactive and non-interactive SSH sessions do not work which
breaks the nextcloud-sync script introduced in
4fb7d74.
  • Loading branch information
britter committed Nov 29, 2024
1 parent cb92e3b commit f6936df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion systems/x86_64-linux/srv-prod-2/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
};
};

users.users.nextcloud.openssh.authorizedKeys.keyFiles = [../srv-test-2/ssh_srv-test-2_ed25519_key.pub];
users.users.nextcloud = {
openssh.authorizedKeys.keyFiles = [../srv-test-2/ssh_srv-test-2_ed25519_key.pub];
useDefaultShell = true;
};

# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
Expand Down

0 comments on commit f6936df

Please sign in to comment.