feat: added update app in flake

This commit is contained in:
Giulio De Pasquale 2025-07-14 09:55:43 +01:00
parent a2eb9e1566
commit cf04cd58d1

View File

@ -31,6 +31,7 @@
sysLinuxX64 = "x86_64-linux"; sysLinuxX64 = "x86_64-linux";
sysDarwin = "aarch64-darwin"; sysDarwin = "aarch64-darwin";
sysLinuxAarch = "aarch64-linux"; sysLinuxAarch = "aarch64-linux";
forAllSystems = nixpkgs.lib.genAttrs [ sysLinuxX64 sysLinuxAarch sysDarwin ];
wrapPkgsSystem = { system, cudaSupport ? false }: wrapPkgsSystem = { system, cudaSupport ? false }:
let let
@ -150,6 +151,15 @@
}; };
}; };
packages = forAllSystems (system:
let pkgs = nixpkgs.legacyPackages.${system}; in rec {
default = update;
update = pkgs.callPackage ./update.nix { };
});
defaultTemplate = self.templates.basicShell; defaultTemplate = self.templates.basicShell;
templates = { templates = {
basicShell = { basicShell = {