Compare commits

..

8 Commits

Author SHA1 Message Date
7a850ecfbc
weasel: use tent cache 2025-10-02 15:57:14 +02:00
60b9ba4c82
Add nixfmt-rfc-style to common packages 2025-10-02 15:57:14 +02:00
1f3c3d0ff4
Add packages to user abonerib 2025-10-02 15:57:14 +02:00
7980d00495
Add nix-output-monitor to default packages 2025-10-02 15:57:13 +02:00
4539579576
Set fish shell for user abonerib 2025-10-02 15:57:13 +02:00
cb76e7da6d
weasel: create user folders in /var/lib/podman-users
/home is a nfs mount, which does not support extra filesystem arguments
needed to run podman. We need to have a local home.
2025-10-02 15:57:13 +02:00
41f8aea67e
weasel: add podman 2025-10-02 15:57:13 +02:00
91fa59e397
Enable nosv system feature 2025-10-02 15:57:13 +02:00
4 changed files with 12 additions and 13 deletions

View File

@ -11,7 +11,7 @@
./base/hw.nix
./base/net.nix
./base/nix.nix
./base/sys-devices.nix
./base/nosv.nix
./base/ntp.nix
./base/rev.nix
./base/ssh.nix

9
m/common/base/nosv.nix Normal file
View File

@ -0,0 +1,9 @@
{ ... }:
{
nix.settings.system-features = [ "nosv" ];
programs.nix-required-mounts.enable = true;
programs.nix-required-mounts.allowedPatterns.nosv.paths = [
"/sys/devices/system/cpu"
"/sys/devices/system/node"
];
}

View File

@ -1,9 +0,0 @@
{
nix.settings.system-features = [ "sys-devices" ];
programs.nix-required-mounts.enable = true;
programs.nix-required-mounts.allowedPatterns.sys-devices.paths = [
"/sys/devices/system/cpu"
"/sys/devices/system/node"
];
}

View File

@ -23,11 +23,11 @@
peers = [
# List of allowed peers.
{
{
name = "apex";
publicKey = "VwhcN8vSOzdJEotQTpmPHBC52x3Hbv1lkFIyKubrnUA=";
# List of IPs assigned to this peer within the tunnel subnet. Used to configure routing.
allowedIPs = [ "10.106.0.30/32" "10.0.40.7/32" ];
allowedIPs = [ "10.106.0.30/32" ];
}
{
name = "raccoon";
@ -40,7 +40,6 @@
networking.hosts = {
"10.106.0.30" = [ "apex" ];
"10.0.40.7" = [ "hut" ];
"10.106.0.236" = [ "raccoon" ];
"10.0.44.4" = [ "tent" ];
};