summaryrefslogtreecommitdiff
path: root/Com/RunServal
diff options
context:
space:
mode:
Diffstat (limited to 'Com/RunServal')
-rw-r--r--Com/RunServal/hardware.nix6
-rw-r--r--Com/RunServal/networking.nix29
2 files changed, 0 insertions, 35 deletions
diff --git a/Com/RunServal/hardware.nix b/Com/RunServal/hardware.nix
deleted file mode 100644
index 8c88cb7..0000000
--- a/Com/RunServal/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/RunServal/networking.nix b/Com/RunServal/networking.nix
deleted file mode 100644
index e13a6f5..0000000
--- a/Com/RunServal/networking.nix
+++ /dev/null
@@ -1,29 +0,0 @@
-{ lib, ... }: {
- # This file was populated at runtime with the networking
- # details gathered from the active system.
- networking = {
- nameservers = [
- "127.0.0.53"
- ];
- 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; }
- ];
- ipv4.routes = [ { address = "157.245.160.1"; prefixLength = 32; } ];
- ipv6.routes = [ { address = ""; prefixLength = 32; } ];
- };
- };
- };
- services.udev.extraRules = ''
- ATTR{address}=="26:2a:8b:b7:6a:fb", NAME="eth0"
- '';
-}