pass entire config fragment to levitate, not just services
to make it useful we need to be able to set packages, passwords, ssh keys etc
This commit is contained in:
@@ -141,9 +141,13 @@ in rec {
|
||||
e2fsprogs
|
||||
mtdutils
|
||||
(levitate.override {
|
||||
services = {
|
||||
inherit (config.services) dhcpc sshd;
|
||||
}; }
|
||||
)
|
||||
config = {
|
||||
services = {
|
||||
inherit (config.services) dhcpc sshd watchdog;
|
||||
};
|
||||
defaultProfile.packages = [ mtdutils ];
|
||||
users.root.openssh.authorizedKeys.keys = secrets.root.keys;
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user