From 6e9a8e4f24be6d8e2ceb3d427130c8a8f33d7fe2 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 20 Dec 2023 22:07:09 +0800 Subject: [PATCH] files/mutable-files: update example --- modules/home-manager/files/mutable-files.nix | 24 +++++++++----------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/modules/home-manager/files/mutable-files.nix b/modules/home-manager/files/mutable-files.nix index 2990f127..bba54d47 100644 --- a/modules/home-manager/files/mutable-files.nix +++ b/modules/home-manager/files/mutable-files.nix @@ -92,19 +92,17 @@ in missing. ''; default = { }; - example = lib.literalExpression '' - { - "library/dotfiles" = { - url = "https://github.com/foo-dogsquared/dotfiles.git"; - type = "git"; - }; - - "library/projects/keys" = { - url = "https://example.com/file.zip"; - type = "archive"; - }; - } - ''; + example = { + "library/dotfiles" = { + url = "https://github.com/foo-dogsquared/dotfiles.git"; + type = "git"; + }; + + "library/projects/keys" = { + url = "https://example.com/file.zip"; + type = "archive"; + }; + }; }; config = lib.mkIf (cfg != { }) {