mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-05 20:56:33 +05:30
refactor: seperate modules
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
../../modules/droid/sshd.nix
|
||||
];
|
||||
|
||||
services.openssh = {
|
||||
tux.services.openssh = {
|
||||
enable = true;
|
||||
ports = [8022];
|
||||
authorizedKeys = [
|
||||
|
@ -24,7 +24,7 @@
|
||||
sshd-start-bin = "sshd-start";
|
||||
|
||||
# real config
|
||||
cfg = config.services.openssh;
|
||||
cfg = config.tux.services.openssh;
|
||||
|
||||
pathOfKeyOf = type: "${keysFolder}/ssh_host_${type}_key";
|
||||
|
||||
@ -56,7 +56,7 @@
|
||||
'';
|
||||
in {
|
||||
options = {
|
||||
services.openssh = {
|
||||
tux.services.openssh = {
|
||||
enable = lib.mkEnableOption ''
|
||||
Whether to enable the OpenSSH secure shell daemon, which
|
||||
allows secure remote logins.
|
||||
|
Reference in New Issue
Block a user