Skip to content

Commit

Permalink
modules/nixos: fix eval
Browse files Browse the repository at this point in the history
  • Loading branch information
eclairevoyant committed Dec 22, 2024
1 parent e314d9d commit 661ed94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/nixos.nix
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@

config = {
target = mkDefault name;
source = mkIf (config.text != null) (mkDerivedConfig options.text (pkgs.writeTextFile {
inherit name;
inherit (config) text executable;
source = mkIf (config.text != null) (mkDerivedConfig options.text (text: pkgs.writeTextFile {
inherit name text;
inherit (config) executable;
}));
};
});
Expand Down

0 comments on commit 661ed94

Please sign in to comment.