system/nixos/hosts/default.nix

69 lines
1.4 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 = { lib, pkgs, ... }: {
local.polybar.wifiDevice = "wlp3s0";
# local.alacritty.fontSize = 8.0;
local.wezterm.fontSize = 10.0;
};
specialArgs = {
extraJanHomeModule = { lib, pkgs, ... }: {
home.packages = lib.mkAfter (with pkgs.unstable; [
# 3d programs
blender
cura
# electronics
kicad-small
]);
};
};
};
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;
local.wezterm.fontSize = 10.0;
};
};
istal = {
system = "x86_64-linux";
targetHost = (import ./istal/data.secret.nix).addr;
};
tatos = {
system = "x86_64-linux";
targetHost = (import ./tatos/data.secret.nix).addr;
};
}