nbot: bump to c2491e9 (4fdd292 → c2491e9)
Consolidate environmentFile handling in both hosts via nbot module.
This commit is contained in:
1 parent
dfd4ca06a2
commit
25a21d2f66
2 files changed
+5
-8
No files matched your search
Generated
+4
-4
@@ -2204,11 +2204,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1794253216,
|
||||
"narHash": "sha256-nS/kSCqzFFMqi6JcVwWE6dKfOUYAkA6XJ9s5ufH2840=",
|
||||
"lastModified": 1794319744,
|
||||
"narHash": "sha256-lxPN3OPVlExZYhmbQggV0yP7BhnScuWKISWghb0AXxU=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "4fdd29281814a399ba14540235f46be5b0db2820",
|
||||
"revCount": 1032,
|
||||
"rev": "c2491e9359246bbd563e5bcc6888baf53e11abc1",
|
||||
"revCount": 1153,
|
||||
"type": "git",
|
||||
"url": "ssh://git@github.com/asosnovsky/nbot.git"
|
||||
},
|
||||
|
||||
@@ -121,12 +121,9 @@ in
|
||||
drives = [ homes ];
|
||||
stateDir = "/var/lib/nbot";
|
||||
configFile = (pkgs.formats.toml { }).generate "nbot.toml" settings;
|
||||
environmentFile = map (name: config.age.secrets.${name}.path) secrets;
|
||||
};
|
||||
|
||||
# The module takes one env file; these add to it.
|
||||
systemd.services.nbot.serviceConfig.EnvironmentFile =
|
||||
map (name: config.age.secrets.${name}.path) secrets;
|
||||
|
||||
# Container links belong to systemd-networkd.
|
||||
networking.networkmanager.unmanaged = [ "interface-name:ve-*" ];
|
||||
networking.dhcpcd.denyInterfaces = [ "ve-*" ];
|
||||
|
||||
Reference in new issue
Block a user