diff --git a/flake.lock b/flake.lock index f98cf56..80c075c 100644 --- a/flake.lock +++ b/flake.lock @@ -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" }, diff --git a/hosts/hl-fwdesk/services/nbot.nix b/hosts/hl-fwdesk/services/nbot.nix index 3288a9f..f9ce203 100644 --- a/hosts/hl-fwdesk/services/nbot.nix +++ b/hosts/hl-fwdesk/services/nbot.nix @@ -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-*" ];