WIP: pr-tracker

This commit is contained in:
Patrick 2024-07-18 12:29:31 +02:00
parent f6edd0d042
commit 0c9b25bc43
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
5 changed files with 10 additions and 9 deletions

View file

@ -17,6 +17,11 @@ in {
mode = "0770"; mode = "0770";
}; };
}; };
age.secrets.pr-tracker = {
generator.script = "alnum";
inherit (config.services.maddy) group;
mode = "640";
};
age.secrets.resticpasswd = { age.secrets.resticpasswd = {
generator.script = "alnum"; generator.script = "alnum";
@ -90,6 +95,7 @@ in {
}; };
ensureCredentials = { ensureCredentials = {
"patrick@${domain}".passwordFile = config.age.secrets.patrickPasswd.path; "patrick@${domain}".passwordFile = config.age.secrets.patrickPasswd.path;
"pr-tracker@${domain}".passwordFile = config.age.secrets.pr-tracker.path;
}; };
ensureAccounts = [ ensureAccounts = [
"patrick@${domain}" "patrick@${domain}"

View file

@ -6,7 +6,7 @@
services.octoprint = { services.octoprint = {
port = 3000; port = 3000;
enable = true; enable = true;
plugins = ps: with ps; [ender3v2tempfix costestimation themeify dashboard displaylayerprogress]; plugins = ps: with ps; [ender3v2tempfix];
extraConfig = { extraConfig = {
accessControl = { accessControl = {
addRemoteUser = true; addRemoteUser = true;

View file

@ -8,9 +8,6 @@
./net.nix ./net.nix
./fs.nix ./fs.nix
]; ];
services.xserver = {
layout = "de";
};
boot.mode = "bios"; boot.mode = "bios";
boot.initrd.availableKernelModules = ["virtio_pci" "virtio_net" "virtio_scsi" "virtio_blk"]; boot.initrd.availableKernelModules = ["virtio_pci" "virtio_net" "virtio_scsi" "virtio_blk"];
nixpkgs.hostPlatform = "x86_64-linux"; nixpkgs.hostPlatform = "x86_64-linux";

View file

@ -21,12 +21,10 @@
]; ];
gateway = ["fe80::1"]; gateway = ["fe80::1"];
routes = [ routes = [
{routeConfig = {Destination = "172.31.1.1";};} {Destination = "172.31.1.1";}
{ {
routeConfig = { Gateway = "172.31.1.1";
Gateway = "172.31.1.1"; GatewayOnLink = true;
GatewayOnLink = true;
};
} }
]; ];
matchConfig.MACAddress = icfg.mac; matchConfig.MACAddress = icfg.mac;

Binary file not shown.