aboutsummaryrefslogtreecommitdiff
path: root/hosts/vps/configuration.nix
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-05-30 02:52:33 +0200
committerschererleander <leander@schererleander.de>2025-05-30 02:52:33 +0200
commitc231c72a934dcf93cae381dfce8580343867ca2e (patch)
treeffda4992befc70330febc20f74d52d935d618d65 /hosts/vps/configuration.nix
parent3e81f999049b1b8abf5865223b2f37af972a6616 (diff)
add vps config
Diffstat (limited to 'hosts/vps/configuration.nix')
-rw-r--r--hosts/vps/configuration.nix15
1 files changed, 9 insertions, 6 deletions
diff --git a/hosts/vps/configuration.nix b/hosts/vps/configuration.nix
index 7955650..1b341e1 100644
--- a/hosts/vps/configuration.nix
+++ b/hosts/vps/configuration.nix
@@ -1,6 +1,15 @@
{ ... }:
{
+ imports = [
+ ./hardware-configuration.nix
+ ];
+
+ boot.tmp.cleanOnBoot = true;
+ zramSwap.enable = true;
+ networking.hostName = "my-vps";
+ networking.domain = "";
+
users.users.administrator = {
isNormalUser = true;
password = "admin";
@@ -9,12 +18,6 @@
services.openssh = {
enable = true;
- ports = [ 345687 ];
- settings = {
- PasswordAuthentication = false;
- X11Forwarding = false;
- PermitRootLogin = "yes";
- };
};
services.nginx = {