system/nixos/hosts/default.nix

63 lines
1.2 KiB
Nix

{ ... } @ inputs:
let
hardware = inputs.hardware.nixosModules;
yagpt_tg_bot = inputs.yagpt_tg_bot.nixosModules;
in
{
home = {
system = "x86_64-linux";
extraModules = [
hardware.common-gpu-amd
yagpt_tg_bot.default
../modules/nix.nix
../modules/wireguard-client.nix
../../home/users/jan
../../home/users/nas
];
extraHomeModule = { ... }: {
local.polybar.wifiDevice = "wlp11s0f3u2";
local.alacritty.fontSize = 8.0;
};
};
asus-gl553vd = {
system = "x86_64-linux";
extraModules = [
hardware.common-cpu-intel
../modules/nix.nix
../modules/wireguard-client.nix
../../home/users/jan
../../home/users/nas
];
extraHomeModule = { ... }: {
local.polybar.wifiDevice = "wlp2s0";
local.alacritty.fontSize = 6.0;
};
};
magenta = {
system = "x86_64-linux";
targetHost = (import ./magenta/data.secret.nix).addr;
extraModules = [
inputs.mailserver.nixosModule
../modules/docker-stack.nix
];
};
canigou = {
system = "x86_64-linux";
extraModules = [
yagpt_tg_bot.default
];
targetHost = (import ./canigou/data.secret.nix).addr;
};
}