use builtins.currentSystem, sync some changes from template to original package
This commit is contained in:
parent
5fa9ccb970
commit
687b99ae04
2 changed files with 14 additions and 2 deletions
|
|
@ -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
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue