config-perso/hive.nix

34 lines
824 B
Nix

let
mods = import ./modules;
users = import ./users;
in {
meta.nixpkgs = <nixpkgs>;
meta.specialArgs = {
inherit mods users;
};
defaults = { pkgs, ... }: {
imports = [
(import <home-manager/nixos>)
];
boot.tmp.useTmpfs = true;
};
kat-probook = { name, nodes, ... }: {
imports = [
./machines/kat-probook/configuration.nix
users.root
users.catvayor
];
deployment.allowLocalDeployment = true;
networking.hostName = name;
};
kat-r86s = { name, nodes, ... }: {
imports = [
./machines/kat-r86s/configuration.nix
users.root
];
networking.hostName = name;
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAA16foz+XzwKwyIR4wFgNIAE3Y7AfXyEsUZFVVz8Rie catvayor@katvayor"
];
};
}