summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorGrisha Shipunov2025-08-15 21:50:18 +0200
committerGrisha Shipunov2025-08-15 21:50:18 +0200
commit2e6e12741e0f1f3dc1d3a90ac9e691e3900e3b88 (patch)
treec3b638a45eda610d94e8716630049a1a5a9b8ef7 /hosts
parenta17f4c1910550ee2fdb799f4a178ce9d29d02208 (diff)
reformat
Diffstat (limited to 'hosts')
-rw-r--r--hosts/auth/default.nix22
-rw-r--r--hosts/conduwuit/default.nix22
-rw-r--r--hosts/forgejo/default.nix22
-rw-r--r--hosts/immich/default.nix22
-rw-r--r--hosts/miniflux/default.nix22
-rw-r--r--hosts/radicale/default.nix22
-rw-r--r--hosts/stream/default.nix20
-rw-r--r--hosts/toaster/network/mullvad.nix34
8 files changed, 93 insertions, 93 deletions
diff --git a/hosts/auth/default.nix b/hosts/auth/default.nix
index 05ca8c3..c0b4791 100644
--- a/hosts/auth/default.nix
+++ b/hosts/auth/default.nix
@@ -26,17 +26,17 @@ in
mac = mac;
}
];
- shares =
- [
- {
- source = "/nix/store";
- mountPoint = "/nix/.ro-store";
- tag = "store";
- proto = "virtiofs";
- socket = "store.socket";
- }
- ]
- ++ map
+ shares = [
+ {
+ source = "/nix/store";
+ mountPoint = "/nix/.ro-store";
+ tag = "store";
+ proto = "virtiofs";
+ socket = "store.socket";
+ }
+ ]
+ ++
+ map
(dir: {
source = dir;
mountPoint = "/${dir}";
diff --git a/hosts/conduwuit/default.nix b/hosts/conduwuit/default.nix
index 59beed8..a8ce1fb 100644
--- a/hosts/conduwuit/default.nix
+++ b/hosts/conduwuit/default.nix
@@ -26,17 +26,17 @@ in
mac = mac;
}
];
- shares =
- [
- {
- source = "/nix/store";
- mountPoint = "/nix/.ro-store";
- tag = "store";
- proto = "virtiofs";
- socket = "store.socket";
- }
- ]
- ++ map
+ shares = [
+ {
+ source = "/nix/store";
+ mountPoint = "/nix/.ro-store";
+ tag = "store";
+ proto = "virtiofs";
+ socket = "store.socket";
+ }
+ ]
+ ++
+ map
(dir: {
source = dir;
mountPoint = "/${dir}";
diff --git a/hosts/forgejo/default.nix b/hosts/forgejo/default.nix
index f6de473..37466b2 100644
--- a/hosts/forgejo/default.nix
+++ b/hosts/forgejo/default.nix
@@ -27,17 +27,17 @@ in
mac = mac;
}
];
- shares =
- [
- {
- source = "/nix/store";
- mountPoint = "/nix/.ro-store";
- tag = "store";
- proto = "virtiofs";
- socket = "store.socket";
- }
- ]
- ++ map
+ shares = [
+ {
+ source = "/nix/store";
+ mountPoint = "/nix/.ro-store";
+ tag = "store";
+ proto = "virtiofs";
+ socket = "store.socket";
+ }
+ ]
+ ++
+ map
(dir: {
source = dir;
mountPoint = "/${dir}";
diff --git a/hosts/immich/default.nix b/hosts/immich/default.nix
index 337984f..e097bf5 100644
--- a/hosts/immich/default.nix
+++ b/hosts/immich/default.nix
@@ -26,17 +26,17 @@ in
mac = mac;
}
];
- shares =
- [
- {
- source = "/nix/store";
- mountPoint = "/nix/.ro-store";
- tag = "store";
- proto = "virtiofs";
- socket = "store.socket";
- }
- ]
- ++ map
+ shares = [
+ {
+ source = "/nix/store";
+ mountPoint = "/nix/.ro-store";
+ tag = "store";
+ proto = "virtiofs";
+ socket = "store.socket";
+ }
+ ]
+ ++
+ map
(dir: {
source = dir;
mountPoint = "/${dir}";
diff --git a/hosts/miniflux/default.nix b/hosts/miniflux/default.nix
index d80f5b2..f5c5102 100644
--- a/hosts/miniflux/default.nix
+++ b/hosts/miniflux/default.nix
@@ -26,17 +26,17 @@ in
mac = mac;
}
];
- shares =
- [
- {
- source = "/nix/store";
- mountPoint = "/nix/.ro-store";
- tag = "store";
- proto = "virtiofs";
- socket = "store.socket";
- }
- ]
- ++ map
+ shares = [
+ {
+ source = "/nix/store";
+ mountPoint = "/nix/.ro-store";
+ tag = "store";
+ proto = "virtiofs";
+ socket = "store.socket";
+ }
+ ]
+ ++
+ map
(dir: {
source = dir;
mountPoint = "/${dir}";
diff --git a/hosts/radicale/default.nix b/hosts/radicale/default.nix
index 5b918b2..1f10f43 100644
--- a/hosts/radicale/default.nix
+++ b/hosts/radicale/default.nix
@@ -26,17 +26,17 @@ in
mac = mac;
}
];
- shares =
- [
- {
- source = "/nix/store";
- mountPoint = "/nix/.ro-store";
- tag = "store";
- proto = "virtiofs";
- socket = "store.socket";
- }
- ]
- ++ map
+ shares = [
+ {
+ source = "/nix/store";
+ mountPoint = "/nix/.ro-store";
+ tag = "store";
+ proto = "virtiofs";
+ socket = "store.socket";
+ }
+ ]
+ ++
+ map
(dir: {
source = dir;
mountPoint = "/${dir}";
diff --git a/hosts/stream/default.nix b/hosts/stream/default.nix
index 4543466..04e10a1 100644
--- a/hosts/stream/default.nix
+++ b/hosts/stream/default.nix
@@ -27,16 +27,16 @@ in
mac = mac;
}
];
- shares =
- [
- {
- source = "/nix/store";
- mountPoint = "/nix/.ro-store";
- tag = "store";
- proto = "virtiofs";
- }
- ]
- ++ map
+ shares = [
+ {
+ source = "/nix/store";
+ mountPoint = "/nix/.ro-store";
+ tag = "store";
+ proto = "virtiofs";
+ }
+ ]
+ ++
+ map
(dir: {
source = dir;
mountPoint = "/${dir}";
diff --git a/hosts/toaster/network/mullvad.nix b/hosts/toaster/network/mullvad.nix
index 54fec8d..85cca77 100644
--- a/hosts/toaster/network/mullvad.nix
+++ b/hosts/toaster/network/mullvad.nix
@@ -54,23 +54,23 @@
"::"
];
- routingPolicyRules =
- [
- {
- Family = "both";
- FirewallMark = 34952; # 0x8888
- InvertRule = true;
- Table = "1000";
- Priority = 100;
- }
- {
- Family = "both";
- SuppressPrefixLength = 0;
- Table = "main";
- Priority = 90;
- }
- ]
- ++ map
+ routingPolicyRules = [
+ {
+ Family = "both";
+ FirewallMark = 34952; # 0x8888
+ InvertRule = true;
+ Table = "1000";
+ Priority = 100;
+ }
+ {
+ Family = "both";
+ SuppressPrefixLength = 0;
+ Table = "main";
+ Priority = 90;
+ }
+ ]
+ ++
+ map
(net: {
# only route global addresses over VPN
Priority = 80;