flake: use host prefix for darwin and nixos configuations
This commit is contained in:
parent
9d6e3792c1
commit
82a0180414
1 changed files with 2 additions and 2 deletions
|
@ -123,11 +123,11 @@
|
|||
checks =
|
||||
let
|
||||
darwinConfigurations = lib.mapAttrs' (
|
||||
name: config: lib.nameValuePair name config.config.system.build.toplevel
|
||||
name: config: lib.nameValuePair "host-${name}" config.config.system.build.toplevel
|
||||
) ((lib.filterAttrs (_: config: config.pkgs.system == system)) self.darwinConfigurations);
|
||||
devShells = lib.mapAttrs' (n: lib.nameValuePair "devShell-${n}") self'.devShells;
|
||||
nixosConfigurations = lib.mapAttrs' (
|
||||
name: config: lib.nameValuePair "nixos-${name}" config.config.system.build.toplevel
|
||||
name: config: lib.nameValuePair "host-${name}" config.config.system.build.toplevel
|
||||
) ((lib.filterAttrs (_: config: config.pkgs.system == system)) self.nixosConfigurations);
|
||||
in
|
||||
darwinConfigurations
|
||||
|
|
Loading…
Add table
Reference in a new issue