started draft for installer
This commit is contained in:
parent
c487b26112
commit
9d88822266
5 changed files with 94 additions and 15 deletions
|
@ -55,6 +55,16 @@ in {
|
|||
(lib.mkUnless condition no)
|
||||
];
|
||||
|
||||
mkNixosInstaller = host: userKeys:
|
||||
nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
{
|
||||
# TODO: authorized keys for all users
|
||||
}
|
||||
../configurations/nixos/${host}
|
||||
];
|
||||
};
|
||||
|
||||
mkNixosSystem = host:
|
||||
nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs outputs util;};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue