Make the RequiredBy items in the nix.mount of steam-deck planner in [Install] (#455)

This commit is contained in:
Ana Hobden 2023-05-09 07:52:11 -07:00 committed by GitHub
parent 08ef3bb82a
commit 217c3683bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -154,8 +154,6 @@ impl Planner for SteamDeck {
Requires=nix-directory.service\n\
ConditionPathIsDirectory=/nix\n\
DefaultDependencies=no\n\
RequiredBy=nix-daemon.service\n\
RequiredBy=nix-daemon.socket\n\
\n\
[Mount]\n\
What={persistence}\n\
@ -163,6 +161,10 @@ impl Planner for SteamDeck {
Type=none\n\
DirectoryMode=0755\n\
Options=bind\n\
\n\
[Install]\n\
RequiredBy=nix-daemon.service\n\
RequiredBy=nix-daemon.socket\n
",
persistence = persistence.display(),
);