Working refactored (on a test server)

This commit is contained in:
Root
2021-02-25 20:45:50 +00:00
parent 372cf5fc6a
commit 42e01b0840
31 changed files with 400 additions and 194 deletions
+5 -2
View File
@@ -1,5 +1,6 @@
{ config, lib, pkgs, ... }:
with lib;
{
imports = [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> ];
@@ -53,7 +54,7 @@
};
};
services.autoScrub.enable = true;
services.zfs.autoScrub.enable = true;
swapDevices = [{ device = "/dev/disk/by-label/plato-swap"; }];
@@ -61,7 +62,9 @@
hardware.bluetooth.enable = false;
network = {
networking = {
hostId = substring 0 8 (fileContents /etc/machine-id);
macvlans = {
intif0 = {
interface = "enp1s0";