ran nixpkgs-fmt

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-12-08 01:11:53 +05:30
parent aaf19ee844
commit e6cb5b2615
18 changed files with 87 additions and 75 deletions

View File

@@ -1,4 +1,4 @@
{config, ...}:
{ config, ... }:
{
boot = {
kernel.sysctl."net.ipv4.ip_forward" = 1;

View File

@@ -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";
}

View File

@@ -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;
}

View File

@@ -18,7 +18,7 @@
25
22001
22002
9898
9898
8999
99
] ++ (map (x: x.sourcePort) config.networking.nat.forwardPorts);