From 446054c1a876a66f89fc05b4fe4c519b27663f06 Mon Sep 17 00:00:00 2001 From: Emile Date: Fri, 1 Aug 2025 18:12:59 +0200 Subject: reenabled templates in flake --- flake.nix | 64 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 31 insertions(+), 33 deletions(-) diff --git a/flake.nix b/flake.nix index 426c52b..c755d26 100644 --- a/flake.nix +++ b/flake.nix @@ -88,11 +88,9 @@ { self, ... }: { nixpkgs.overlays = [ - # (final: prev: { - # inherit (self.packages.x86_64-linux) - # goapp-frontend - # ; - # }) + (final: prev: { + inherit (self.packages.x86_64-linux) goapp-frontend; + }) ]; } ) @@ -249,36 +247,36 @@ hydraJobs = { inherit (self) packages; # nixosConfigurations = helper.buildHosts self.nixosConfigurations; - # templates = helper.template-packages self.templates; + templates = helper.template-packages self.templates; }; # TODO(emile): templates - # templates = { - # # ; nix nix registry add hefe /Users/emile/Documents/hefe - # # ; nix flake init -t hefe#ctf - # ctf = { - # description = "A basic ctf env with pwn, rev, ... tools"; - # path = ./nix/templates/ctf; - # welcomeText = '' - # # CTF flake template - - # Run `nix develop` to get a shell with pwntools, pwndbg, pycryptodome, ... - - # Add packages in the flake as you like. - # ''; - # }; - # goapp = { - # description = "A basic golang service"; - # path = ./nix/templates/goapp; - # welcomeText = '' - # # A basic golang service - - # - using gorilla/mux - # ''; - # }; - - # # checks = builtins.mapAttrs (system: deployLib: - # # deployLib.deployChecks self.deploy) deploy-rs.lib; - # }; + templates = { + # ; nix nix registry add hefe /Users/emile/Documents/hefe + # ; nix flake init -t hefe#ctf + ctf = { + description = "A basic ctf env with pwn, rev, ... tools"; + path = ./nix/templates/ctf; + welcomeText = '' + # CTF flake template + + Run `nix develop` to get a shell with pwntools, pwndbg, pycryptodome, ... + + Add packages in the flake as you like. + ''; + }; + goapp = { + description = "A basic golang service"; + path = ./nix/templates/goapp; + welcomeText = '' + # A basic golang service + + - using gorilla/mux + ''; + }; + + # checks = builtins.mapAttrs (system: deployLib: + # deployLib.deployChecks self.deploy) deploy-rs.lib; + }; }; } -- cgit 1.4.1