system/nixos/hosts/default.nix

57 lines
1.1 KiB
Nix

{ ... } @ inputs:
let
hardware = inputs.hardware.nixosModules;
in
{
home = {
system = "x86_64-linux";
extraModules = [
hardware.common-gpu-amd
../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";
targetHost = (import ./canigou/data.secret.nix).addr;
};
}