WIP: debug mycelium nixos container on containerd
This commit is contained in:
parent
6a22e605ce
commit
9d2311bcac
2 changed files with 5 additions and 5 deletions
|
@ -159,17 +159,16 @@
|
||||||
'');
|
'');
|
||||||
|
|
||||||
systemd.services.testing-credentials = {
|
systemd.services.testing-credentials = {
|
||||||
description = "testing credentials";
|
|
||||||
wantedBy = ["multi-user.target"];
|
wantedBy = ["multi-user.target"];
|
||||||
path = [pkgs.coreutils];
|
path = [pkgs.coreutils];
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
SyslogIdentifier = "testing-credential";
|
# SyslogIdentifier = "testing-credentials";
|
||||||
StateDirectory = "testing-credentials";
|
# StateDirectory = "testing-credentials";
|
||||||
DynamicUser = true;
|
# DynamicUser = true;
|
||||||
# User = "tc";
|
# User = "tc";
|
||||||
# ProtectHome = true;
|
# ProtectHome = true;
|
||||||
ProtectSystem = true;
|
# ProtectSystem = true;
|
||||||
# LoadCredential = [
|
# LoadCredential = [
|
||||||
# "mycelium-keyfile:${self.nixosConfigurations.default.config.services.mycelium.keyFile}"
|
# "mycelium-keyfile:${self.nixosConfigurations.default.config.services.mycelium.keyFile}"
|
||||||
# "hosts:/etc/hosts"
|
# "hosts:/etc/hosts"
|
||||||
|
@ -241,6 +240,7 @@
|
||||||
# this is read by the `/init` script and prevents various incompatible commands like mount, etc.
|
# this is read by the `/init` script and prevents various incompatible commands like mount, etc.
|
||||||
# the value of this doesn't seem to matter as long as it's not an empty string.
|
# the value of this doesn't seem to matter as long as it's not an empty string.
|
||||||
"container=nerd"
|
"container=nerd"
|
||||||
|
"SYSTEMD_LOG_LEVEL=debug"
|
||||||
];
|
];
|
||||||
volumes = {
|
volumes = {
|
||||||
# "/var/lib/private/mycelium/key.bin" = {};
|
# "/var/lib/private/mycelium/key.bin" = {};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue