summaryrefslogtreecommitdiff
path: root/hosts/omega-relay/default.nix
diff options
context:
space:
mode:
authorJakub Stachurski <j.stachurski@student.utwente.nl>2026-01-02 23:17:56 +0100
committerJakub Stachurski <j.stachurski@student.utwente.nl>2026-01-02 23:17:56 +0100
commite25041e3722a716338a568a1395bb17c8e09e49c (patch)
tree424062de12e55213a12324ba4e916f43176abb4b /hosts/omega-relay/default.nix
parentdca35cc9f01b47974783a2ad2f40382ceb364a09 (diff)
Add omega-relay prototype host
Diffstat (limited to '')
-rw-r--r--hosts/omega-relay/default.nix43
1 files changed, 43 insertions, 0 deletions
diff --git a/hosts/omega-relay/default.nix b/hosts/omega-relay/default.nix
new file mode 100644
index 0000000..73bb853
--- /dev/null
+++ b/hosts/omega-relay/default.nix
@@ -0,0 +1,43 @@
+{ pkgs, lib, config, ...}: {
+ imports = [
+ ./firewall.nix
+ ./vm.nix
+ ];
+
+ addons = {
+ desktop.hyprland.enable = lib.mkForce false;
+ desktop.xfce.enable = lib.mkForce false;
+
+ virtialisation.guest = config.addons.virtualization.isTestVM;
+ gpg.enable = true;
+ };
+
+ boot.loader.grub = {
+ useOSProber = true;
+ };
+
+ networking.hostName = "omega-relay";
+ services.resolved = {
+ enable = true;
+ dnsovertls = "opportunistic";
+ };
+
+ services.openssh = {
+ enable = true;
+ ports = [ 22 ];
+ openFirewall = true;
+ allowSFTP = true;
+ settings = {
+ PasswordAuthentication = false;
+ AllowUsers = [ "wilkuu" ];
+ X11Forwarding = false;
+ PermitRootLogin = "no";
+ PrintMotd = true;
+ };
+ };
+
+
+
+
+
+}