diff options
Diffstat (limited to 'nix/.config/systemd/user')
l--------- | nix/.config/systemd/user/default.target.wants/ipfs.service | 1 | ||||
l--------- | nix/.config/systemd/user/emacs.service | 1 | ||||
-rw-r--r-- | nix/.config/systemd/user/ipfs.service | 10 |
3 files changed, 12 insertions, 0 deletions
diff --git a/nix/.config/systemd/user/default.target.wants/ipfs.service b/nix/.config/systemd/user/default.target.wants/ipfs.service new file mode 120000 index 0000000..63ddeda --- /dev/null +++ b/nix/.config/systemd/user/default.target.wants/ipfs.service @@ -0,0 +1 @@ +/home/cee/.config/systemd/user/ipfs.service \ No newline at end of file diff --git a/nix/.config/systemd/user/emacs.service b/nix/.config/systemd/user/emacs.service new file mode 120000 index 0000000..f6b71e8 --- /dev/null +++ b/nix/.config/systemd/user/emacs.service @@ -0,0 +1 @@ +/nix/store/6j0xw99ihkx2hw0nyklanydgb3bczfpb-unit-emacs.service/emacs.service \ No newline at end of file diff --git a/nix/.config/systemd/user/ipfs.service b/nix/.config/systemd/user/ipfs.service new file mode 100644 index 0000000..673a093 --- /dev/null +++ b/nix/.config/systemd/user/ipfs.service @@ -0,0 +1,10 @@ +[Unit] +Description=IPFS daemon +After=network.target + +[Service] +ExecStart=/run/current-system/sw/bin/ipfs daemon +Restart=on-failure + +[Install] +WantedBy=default.target |