this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

flake.nix: reduce duplication

yemou 79e44f92 43696b51

+6 -10
+6 -10
flake.nix
··· 13 13 templates = { 14 14 default = { 15 15 path = ./default; 16 - description = "Generic nix flake"; 17 - }; 18 - erlang = { 19 - path = ./erlang; 20 - description = "Erlang nix flake"; 21 - }; 22 - python = { 23 - path = ./python; 24 - description = "Python nix flake"; 16 + description = "generic nix flake"; 25 17 }; 26 - }; 18 + } 19 + // nixpkgs.lib.genAttrs [ "erlang" "python" ] (language: { 20 + path = ./${language}; 21 + description = "${language} nix flake"; 22 + }); 27 23 28 24 defaultTemplate = self.templates.default; 29 25 };