NixOS deployment for LinuxLab
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
620 B

id:
{ lib, ... }:
with lib;
let
client = (import ../clients.nix).${id};
in
{
imports = [
./hardware.nix
./gpu.nix
./home.nix
./users.nix
./desktop.nix
./programs.nix
];
deployment = {
targetHost = "10.32.45.150";
tags = [ "client" ];
};
_module.args = {
inherit id client;
};
networking = {
hostName = mkForce "client-${id}";
useDHCP = mkForce true;
};
services.hardware.bolt.enable = true;
security.rtkit.enable = true;
services.avahi = {
enable = true;
nssmdns4 = true;
nssmdns6 = true;
};
system.stateVersion = "24.05";
}