config-perso/hive.nix
2024-03-13 11:11:16 +01:00

24 lines
499 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;
};
}