system/nixos/hosts/default.nix

76 lines
1.4 KiB
Nix
Raw Normal View History

2022-10-12 01:41:32 +03:00
{ ... } @ inputs:
2022-10-08 22:45:35 +03:00
let
hardware = inputs.hardware.nixosModules;
yagpt_tg_bot = inputs.yagpt_tg_bot.nixosModules;
2022-10-08 22:45:35 +03:00
in
{
home = {
system = "x86_64-linux";
extraModules = [
2022-11-18 14:22:59 +03:00
hardware.common-gpu-amd
yagpt_tg_bot.default
2023-03-18 16:47:02 +03:00
../modules/nix.nix
../modules/wireguard-client.nix
../../home/users/jan
../../home/users/nas
2022-10-08 22:45:35 +03:00
];
extraHomeModule = { ... }: {
local.polybar.wifiDevice = "wlp11s0f3u2";
local.alacritty.fontSize = 8.0;
};
2022-10-08 22:45:35 +03:00
};
2022-10-09 14:56:08 +03:00
asus-gl553vd = {
2022-10-08 22:45:35 +03:00
system = "x86_64-linux";
extraModules = [
hardware.common-cpu-intel
2023-03-18 16:47:02 +03:00
../modules/nix.nix
../modules/wireguard-client.nix
../../home/users/jan
../../home/users/nas
2022-10-08 22:45:35 +03:00
];
extraHomeModule = { ... }: {
local.polybar.wifiDevice = "wlp2s0";
local.alacritty.fontSize = 6.0;
};
2022-10-08 22:45:35 +03:00
};
2022-10-13 07:47:31 +03:00
magenta = {
system = "x86_64-linux";
2023-03-02 16:00:19 +03:00
targetHost = (import ./magenta/data.secret.nix).addr;
2022-10-13 23:11:12 +03:00
extraModules = [
inputs.mailserver.nixosModule
2023-03-18 16:47:02 +03:00
../modules/docker-stack.nix
2022-10-13 23:11:12 +03:00
];
2022-10-13 07:47:31 +03:00
};
2023-03-02 13:09:07 +03:00
canigou = {
system = "x86_64-linux";
extraModules = [
yagpt_tg_bot.default
];
2023-03-02 16:00:19 +03:00
targetHost = (import ./canigou/data.secret.nix).addr;
2023-03-02 13:09:07 +03:00
};
2023-07-28 17:08:13 +03:00
istal = {
system = "x86_64-linux";
targetHost = (import ./istal/data.secret.nix).addr;
};
2023-07-29 17:21:48 +03:00
tatos = {
system = "x86_64-linux";
targetHost = (import ./tatos/data.secret.nix).addr;
};
2022-10-08 22:45:35 +03:00
}