summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorwucke13 <wucke13@gmail.com>2019-10-03 22:24:15 +0200
committerwucke13 <wucke13@gmail.com>2019-11-02 21:33:18 +0100
commit29ac2262253cb2d1d330ed261353b98d3e03c706 (patch)
tree0158921b7c3b3be56ae146f2392f337432ee2bb8 /nixos/modules/system
parentd1270ac85b811c476ae3bff22a60b11b1788b7db (diff)
systemd: adding support for systemd-importd
Adding `systemd-importd` to the build, so that `machinectl`s `import-.*`
may actually do anything. Currently they fail with

```
Failed to transfer image: The name org.freedesktop.import1 was not provided by any .service files
```
as `systemd-importd` is not built. Also registers the regarding dbus
api and service in the systemd module.
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/systemd.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index 33b350902a1a3..9e3c6149f9223 100644
--- a/nixos/modules/system/boot/systemd.nix
+++ b/nixos/modules/system/boot/systemd.nix
@@ -63,6 +63,7 @@ let
       "systemd-logind.service"
       "autovt@.service"
       "systemd-user-sessions.service"
+      "dbus-org.freedesktop.import1.service"
       "dbus-org.freedesktop.machine1.service"
       "user@.service"
       "user-runtime-dir@.service"
@@ -145,6 +146,7 @@ let
       "user.slice"
       "machine.slice"
       "machines.target"
+      "systemd-importd.service"
       "systemd-machined.service"
       "systemd-nspawn@.service"