2024-03-13 11:11:16 +01:00
|
|
|
let
|
|
|
|
mods = import ./modules;
|
|
|
|
users = import ./users;
|
|
|
|
in {
|
2024-03-12 17:26:16 +01:00
|
|
|
meta.nixpkgs = <nixpkgs>;
|
2024-03-13 11:11:16 +01:00
|
|
|
meta.specialArgs = {
|
|
|
|
inherit mods users;
|
|
|
|
};
|
2024-03-12 17:26:16 +01:00
|
|
|
defaults = { pkgs, ... }: {
|
|
|
|
imports = [
|
|
|
|
(import <home-manager/nixos>)
|
|
|
|
];
|
|
|
|
boot.tmp.useTmpfs = true;
|
|
|
|
};
|
|
|
|
kat-probook = { name, nodes, ... }: {
|
|
|
|
imports = [
|
|
|
|
./machines/kat-probook/configuration.nix
|
2024-03-13 11:11:16 +01:00
|
|
|
users.root
|
|
|
|
users.catvayor
|
2024-03-12 17:26:16 +01:00
|
|
|
];
|
|
|
|
deployment.allowLocalDeployment = true;
|
|
|
|
networking.hostName = name;
|
|
|
|
};
|
2024-03-15 10:46:02 +01:00
|
|
|
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"
|
|
|
|
];
|
|
|
|
};
|
2024-03-12 17:26:16 +01:00
|
|
|
}
|