aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-11-26 16:13:21 +0100
committerKarel Kočí <cynerd@email.cz>2022-11-26 16:13:21 +0100
commit9284a95a9098ff32ea5b2864ed6123df21bc1d22 (patch)
treec31abfe6b64df731d21a744f7543f7c9e573cc6c
parent50b97c08cbe37d1fe96f1c05bcfb180ea0eb2119 (diff)
downloadnixos-personal-9284a95a9098ff32ea5b2864ed6123df21bc1d22.tar.gz
nixos-personal-9284a95a9098ff32ea5b2864ed6123df21bc1d22.tar.bz2
nixos-personal-9284a95a9098ff32ea5b2864ed6123df21bc1d22.zip
nixos/ridcully: add access to the adm network
-rw-r--r--nixos/machine/ridcully.nix5
-rw-r--r--nixos/modules/generic.nix2
2 files changed, 6 insertions, 1 deletions
diff --git a/nixos/machine/ridcully.nix b/nixos/machine/ridcully.nix
index 30b8de1..ad31e82 100644
--- a/nixos/machine/ridcully.nix
+++ b/nixos/machine/ridcully.nix
@@ -46,6 +46,11 @@ with lib;
};
};
+ networking.vlans."enp6s0.adm" = {
+ id = 2;
+ interface = "enp6s0";
+ };
+
services.syncthing = {
enable = true;
user = mkDefault "cynerd";
diff --git a/nixos/modules/generic.nix b/nixos/modules/generic.nix
index a7816ed..dafeb16 100644
--- a/nixos/modules/generic.nix
+++ b/nixos/modules/generic.nix
@@ -48,7 +48,7 @@ in {
coreutils binutils psmisc progress lshw file vde2
ldns wget
gnumake
- exfat exfatprogs
+ exfat exfatprogs ntfs3g
nix-index
usbutils pciutils