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