system/nixos/hosts/default.nix

80 lines
1.6 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;
in
{
home = {
system = "x86_64-linux";
extraModules = [
2022-11-18 14:22:59 +03:00
hardware.common-gpu-amd
2023-03-18 16:47:02 +03:00
../modules/nix.nix
../modules/wireguard-client.nix
2024-01-06 14:53:07 +03:00
../modules/octoprint.nix
../../home/users/jan
# ../../home/users/nas
2022-10-08 22:45:35 +03:00
];
extraHomeModule = { lib, pkgs, ... }: {
2023-10-18 16:24:02 +03:00
local.polybar.wifiDevice = "wlp3s0";
# local.alacritty.fontSize = 8.0;
2023-09-18 14:48:16 +03:00
local.wezterm.fontSize = 10.0;
};
specialArgs = {
extraJanHomeModule = { lib, pkgs, ... }: {
imports = [ ./home/xmonad_projects.secret.nix ];
home.packages = lib.mkAfter (with pkgs.unstable; [
# 3d programs
blender
cura
godot_4
# electronics
kicad-small
2024-04-04 15:11:28 +03:00
# librepcb
]);
};
};
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;
2023-07-31 10:51:47 +03:00
local.wezterm.fontSize = 10.0;
};
2023-11-30 23:56:37 +03:00
specialArgs = {
extraJanHomeModule = { lib, ... }: {
imports = [ ./asus-gl553vd/xmonad_projects.secret.nix ];
};
2023-11-30 23:56:37 +03:00
};
2022-10-08 22:45:35 +03:00
};
2022-10-13 07:47:31 +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
}