mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
add diskoConfigurations
This commit is contained in:
parent
4d8e6420e5
commit
a254150a88
5 changed files with 21 additions and 5 deletions
11
flake.nix
11
flake.nix
|
|
@ -67,6 +67,10 @@
|
|||
++ importAll (self + "/systems/" + name);
|
||||
}
|
||||
);
|
||||
mkDisko = names:
|
||||
lib.genAttrs names (
|
||||
name: (import (self + "/systems/" + name + "/disko.nix") inputs)
|
||||
);
|
||||
in
|
||||
{
|
||||
nixosConfigurations =
|
||||
|
|
@ -77,6 +81,13 @@
|
|||
"game-laptop"
|
||||
"moms-laptop"
|
||||
];
|
||||
diskoConfigurations =
|
||||
mkDisko
|
||||
[
|
||||
"gerg-desktop"
|
||||
"game-laptop"
|
||||
"moms-laptop"
|
||||
];
|
||||
}
|
||||
// flake-utils.lib.eachDefaultSystem (
|
||||
system: let
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue