diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-06-04 21:14:28 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-06-05 00:44:38 +0530 |
commit | e038eb08741a003dde903ffc5c12fa40cfcf1bf4 (patch) | |
tree | b736bbe82bf31b80c841bcf047890170c8cdce59 | |
parent | 65f71da77061339b4ed9b33508e95049a4e77cb4 (diff) |
os/server: init
-rw-r--r-- | os/common/configuration.nix | 5 | ||||
-rw-r--r-- | os/dspace/configuration.nix | 1 | ||||
-rw-r--r-- | os/fscusat/configuration.nix | 1 | ||||
-rw-r--r-- | os/kay/configuration.nix | 1 | ||||
-rw-r--r-- | os/lia/configuration.nix | 1 | ||||
-rw-r--r-- | os/server/configuration.nix | 6 |
6 files changed, 10 insertions, 5 deletions
diff --git a/os/common/configuration.nix b/os/common/configuration.nix index 8c89efb..615dbed 100644 --- a/os/common/configuration.nix +++ b/os/common/configuration.nix @@ -29,11 +29,6 @@ in { loader.timeout = 1; }; - services.openssh = { - enable = true; - settings.PasswordAuthentication = false; - }; - programs.bash.promptInit = '' if [ "$UID" -ne 0 ]; then PROMPT_COLOR="1;32m" diff --git a/os/dspace/configuration.nix b/os/dspace/configuration.nix index 0bcf330..ccbdfdf 100644 --- a/os/dspace/configuration.nix +++ b/os/dspace/configuration.nix @@ -6,6 +6,7 @@ in { imports = [ ../common/configuration.nix + ../server/configuration.nix ./hardware-configuration.nix ./modules/network.nix diff --git a/os/fscusat/configuration.nix b/os/fscusat/configuration.nix index e515783..d7a8e43 100644 --- a/os/fscusat/configuration.nix +++ b/os/fscusat/configuration.nix @@ -3,6 +3,7 @@ { imports = [ ../common/configuration.nix + ../server/configuration.nix ./hardware-configuration.nix ./modules/network.nix diff --git a/os/kay/configuration.nix b/os/kay/configuration.nix index 24cc246..24cd50d 100644 --- a/os/kay/configuration.nix +++ b/os/kay/configuration.nix @@ -3,6 +3,7 @@ { imports = [ ../common/configuration.nix + ../server/configuration.nix ./hardware-configuration.nix ./modules/network.nix diff --git a/os/lia/configuration.nix b/os/lia/configuration.nix index ab4c46b..64204a0 100644 --- a/os/lia/configuration.nix +++ b/os/lia/configuration.nix @@ -3,6 +3,7 @@ { imports = [ ../common/configuration.nix + ../server/configuration.nix ./hardware-configuration.nix ./modules/network diff --git a/os/server/configuration.nix b/os/server/configuration.nix new file mode 100644 index 0000000..8b1e5e9 --- /dev/null +++ b/os/server/configuration.nix @@ -0,0 +1,6 @@ +{ ... }: { + services.openssh = { + enable = true; + settings.PasswordAuthentication = false; + }; +} |