summaryrefslogtreecommitdiff
path: root/machines/doretta/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/doretta/default.nix')
-rw-r--r--machines/doretta/default.nix66
1 files changed, 35 insertions, 31 deletions
diff --git a/machines/doretta/default.nix b/machines/doretta/default.nix
index 2290868..dc3d4aa 100644
--- a/machines/doretta/default.nix
+++ b/machines/doretta/default.nix
@@ -8,7 +8,9 @@
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
- ./website.nix
+
+ # ./website.nix
+ ../../modules/nixos/binary-cache.nix
../../modules/nixos/nix-common.nix
../../modules/nixos/environment.nix
@@ -16,6 +18,8 @@
../../modules/nixos/system-packages.nix
# microvm.host
+ ../../modules/nixos/minecraft-server.nix
+
../../modules/users/defin.nix
../../modules/users/git.nix
../../modules/users/root.nix
@@ -54,35 +58,35 @@
# mac = "02:00:00:00:00:01";
# }];
};
- systemd.network = {
- enable = true;
-
- netdevs."10-microvm" = {
- netdevConfig = {
- Name = "microvm";
- Kind = "bridge";
- };
- };
- networks = {
- "10-microvm" = {
- matchConfig.Name = "microvm";
- networkConfig = {
- DHCPServer = true;
- # IPv6SendRA = true;
- };
- addresses = [ {
- Address = "10.0.0.1/24"; # } {
- # Address = "fd12:3456:789a::1/64";
- } ];
- # ipv6Prefixes = [{ Prefix = "fd12:3456:789a::/64"; }];
- # ipv6PREF64Prefixes = [{ Prefix = "fd12:3456:789a::/64"; }];
- };
- "11-microvm" = {
- matchConfig.Name = "vm-*";
- # Attach to the bridge that was configured above
- networkConfig.Bridge = "microvm";
- };
- };
+ # systemd.network = {
+ # enable = true;
+
+ # netdevs."10-microvm" = {
+ # netdevConfig = {
+ # Name = "microvm";
+ # Kind = "bridge";
+ # };
+ # };
+ # networks = {
+ # "10-microvm" = {
+ # matchConfig.Name = "microvm";
+ # networkConfig = {
+ # DHCPServer = true;
+ # # IPv6SendRA = true;
+ # };
+ # addresses = [ {
+ # Address = "10.0.0.1/24"; # } {
+ # # Address = "fd12:3456:789a::1/64";
+ # } ];
+ # # ipv6Prefixes = [{ Prefix = "fd12:3456:789a::/64"; }];
+ # # ipv6PREF64Prefixes = [{ Prefix = "fd12:3456:789a::/64"; }];
+ # };
+ # "11-microvm" = {
+ # matchConfig.Name = "vm-*";
+ # # Attach to the bridge that was configured above
+ # networkConfig.Bridge = "microvm";
+ # };
+ # };
# "20-lan" = {
# matchConfig.Type = "ether";
@@ -117,7 +121,7 @@
# Kind = "bridge";
# };
# };
- };
+ # };
# Set your time zone.
time.timeZone = "US/Mountain";