@@ -1,4 +1,4 @@
|
||||
{config, ...}:
|
||||
{ config, ... }:
|
||||
{
|
||||
boot = {
|
||||
kernel.sysctl."net.ipv4.ip_forward" = 1;
|
||||
|
@@ -1,14 +1,14 @@
|
||||
{lib, config, ...}:
|
||||
{ lib, config, ... }:
|
||||
{
|
||||
imports =
|
||||
[
|
||||
./networking.nix
|
||||
./hardware.nix
|
||||
./boot.nix
|
||||
./services.nix
|
||||
./mailserver.nix
|
||||
./stuff.nix
|
||||
];
|
||||
imports =
|
||||
[
|
||||
./networking.nix
|
||||
./hardware.nix
|
||||
./boot.nix
|
||||
./services.nix
|
||||
./mailserver.nix
|
||||
./stuff.nix
|
||||
];
|
||||
|
||||
system.stateVersion = "21.11";
|
||||
}
|
||||
|
@@ -2,17 +2,19 @@
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/profiles/qemu-guest.nix")
|
||||
[
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/d91adce2-9059-4a8a-86e7-dee6ecc85b2b";
|
||||
{
|
||||
device = "/dev/disk/by-uuid/d91adce2-9059-4a8a-86e7-dee6ecc85b2b";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{
|
||||
device="/swapfile";
|
||||
{
|
||||
device = "/swapfile";
|
||||
size = 7168;
|
||||
priority = 0;
|
||||
}
|
||||
|
@@ -18,7 +18,7 @@
|
||||
25
|
||||
22001
|
||||
22002
|
||||
9898
|
||||
9898
|
||||
8999
|
||||
99
|
||||
] ++ (map (x: x.sourcePort) config.networking.nat.forwardPorts);
|
||||
|
Reference in New Issue
Block a user