use builtins.currentSystem, sync some changes from template to original package

This commit is contained in:
jackjohn7 2026-04-12 03:27:32 -05:00
parent 5fa9ccb970
commit 687b99ae04
2 changed files with 14 additions and 2 deletions

View file

@ -46,7 +46,7 @@ def host_templates(name: str) -> dict[Path, str]:
{{ self, inputs, ... }}:
{{
flake.nixosConfigurations.{name} = inputs.nixpkgs.lib.nixosSystem {{
system = "x86_64-linux";
system = builtins.currentSystem;
modules = [
self.nixosModules.{name}Configuration
];