summaryrefslogtreecommitdiff
path: root/Com/Simatime/Serval
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-04-03 16:43:51 -0700
committerBen Sima <ben@bsima.me>2020-04-03 16:43:51 -0700
commit0d37af4eba374c41a9ad3fa8d2f2251ddb6b58c5 (patch)
tree2fe862376d983f1b5470a2181defe0142c1b4560 /Com/Simatime/Serval
parentc472472df38e0dcb4abe5745d8fdec48d7e4590b (diff)
Rename Serval to Prod
Diffstat (limited to 'Com/Simatime/Serval')
-rw-r--r--Com/Simatime/Serval/Test.scm11
-rw-r--r--Com/Simatime/Serval/configuration.nix11
-rwxr-xr-xCom/Simatime/Serval/hardware.nix6
-rwxr-xr-xCom/Simatime/Serval/networking.nix28
4 files changed, 0 insertions, 56 deletions
diff --git a/Com/Simatime/Serval/Test.scm b/Com/Simatime/Serval/Test.scm
deleted file mode 100644
index 44e88c0..0000000
--- a/Com/Simatime/Serval/Test.scm
+++ /dev/null
@@ -1,11 +0,0 @@
-(define-module (Com Simatime Serval Test)
- #:use-module (Com Simatime Serval)
- #:use-module (Com Simatime core)
- #:use-module (Com Simatime Test))
-
-(comment
- ;; TODO: make this a real test
- (let ((kit (Kit "test-kit" "/nix/path" "/nix/config"
- "123.456.0.0" 80 "127.0.0.1" #t)))
- (testing "ser-deser are opposite functions"
- (equal? kit (deserialize (serialize kit))))))
diff --git a/Com/Simatime/Serval/configuration.nix b/Com/Simatime/Serval/configuration.nix
deleted file mode 100644
index d5ad02f..0000000
--- a/Com/Simatime/Serval/configuration.nix
+++ /dev/null
@@ -1,11 +0,0 @@
-{ config, pkgs, ... }:
-{
- networking.firewall.allowedTCPPorts = [ 22 80 443 ];
- services.que-server = {
- enable = true;
- domain = "que.run";
- port = 3000;
- package = pkgs.biz.que-server;
- };
- services.nginx.enable = true;
-}
diff --git a/Com/Simatime/Serval/hardware.nix b/Com/Simatime/Serval/hardware.nix
deleted file mode 100755
index 8c88cb7..0000000
--- a/Com/Simatime/Serval/hardware.nix
+++ /dev/null
@@ -1,6 +0,0 @@
-{ ... }:
-{
- imports = [ <nixpkgs/nixos/modules/profiles/qemu-guest.nix> ];
- boot.loader.grub.device = "/dev/vda";
- fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; };
-}
diff --git a/Com/Simatime/Serval/networking.nix b/Com/Simatime/Serval/networking.nix
deleted file mode 100755
index 79fbe27..0000000
--- a/Com/Simatime/Serval/networking.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-{ lib, ... }: {
- # This file was populated at runtime with the networking
- # details gathered from the active system.
- networking = {
- nameservers = [
- "67.207.67.2"
- "67.207.67.3"
- ];
- defaultGateway = "157.245.160.1";
- defaultGateway6 = "";
- dhcpcd.enable = false;
- usePredictableInterfaceNames = lib.mkForce true;
- interfaces = {
- eth0 = {
- ipv4.addresses = [
- { address="157.245.167.217"; prefixLength=20; }
- { address="10.46.0.8"; prefixLength=16; }
- ];
- ipv6.addresses = [
- { address="fe80::242a:8bff:feb7:6afb"; prefixLength=64; }
- ];
- };
- };
- };
- services.udev.extraRules = ''
- ATTR{address}=="26:2a:8b:b7:6a:fb", NAME="eth0"
- '';
-}