config-perso/hive.nix

25 lines
499 B
Nix
Raw Normal View History

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;
};
}