Skip to content

Commit

Permalink
systemd: fix creation of user service unit files (nix-community#2867)
Browse files Browse the repository at this point in the history
* systemd: fix creation of user service unit files

* helix: fix failing test due to file output format change

Co-authored-by: Nicolas Berbiche <nicolas@normie.dev>
  • Loading branch information
2 people authored and teto committed Jun 7, 2022
1 parent abaf785 commit a34a4e1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion modules/systemd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ let
source = pkgs.writeTextFile {
name = pathSafeName;
text = toSystemdIni serviceCfg;
destination = lib.escapeShellArg "/${filename}";
destination = "/${filename}";
} + "/${filename}";

wantedBy = target: {
Expand Down
3 changes: 0 additions & 3 deletions tests/modules/programs/helix/settings-expected.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
theme = "base16"

[keys]
[keys.normal]
[keys.normal.space]
q = ":q"
space = "file_picker"
Expand Down

0 comments on commit a34a4e1

Please sign in to comment.