WIP: pr-tracker
This commit is contained in:
parent
f6edd0d042
commit
0c9b25bc43
|
@ -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}"
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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;
|
||||||
|
|
BIN
hosts/maddy/secrets/generated/pr-tracker.age
Normal file
BIN
hosts/maddy/secrets/generated/pr-tracker.age
Normal file
Binary file not shown.
Loading…
Reference in a new issue