dotfiles/provision/hosts/bulwark/configuration.nix

47 lines
1.1 KiB
Nix
Raw Normal View History

2024-12-21 14:31:57 -08:00
{ config, lib, pkgs, user, hostname, ... }:
2023-08-21 21:05:02 -07:00
{
2023-11-18 17:19:21 -08:00
imports = [
2023-10-13 21:06:28 -07:00
./steam-deck.nix
2023-09-02 11:06:41 -07:00
];
2023-08-21 21:05:02 -07:00
# Set networking options
2024-12-21 14:31:57 -08:00
networking.hostName = "${hostname}";
2023-08-21 21:05:02 -07:00
networking.firewall.checkReversePath = "loose";
networking.firewall.enable = false;
# Secrets
2024-07-21 16:37:12 -07:00
age.secrets."wireguard/bulwark".file = ../../secrets/wireguard/bulwark.age;
2024-07-21 13:07:07 -07:00
# Modules
2023-08-21 21:05:02 -07:00
modules = {
desktop = {
2024-10-24 20:36:57 -07:00
enable = true;
2024-10-20 00:32:46 -07:00
gnome.enable = true;
2023-08-21 21:05:02 -07:00
};
2023-09-02 09:04:05 -07:00
devel = {
notes.enable = true;
2023-09-02 09:04:05 -07:00
};
2023-08-21 21:05:02 -07:00
gaming = {
emulation.enable = true;
2024-09-30 10:15:37 -07:00
steam.enable = true;
2023-08-21 21:05:02 -07:00
};
programs = {
2024-09-30 10:35:46 -07:00
chezmoi.apply = true;
kitty.enable = true;
2024-10-26 19:35:43 -07:00
};
services = {
samba-client.enable = true;
ssh.enable = true;
syncthing = {
enable = true;
keyPath = ../../secrets/syncthing/bulwark/key.pem.age;
certPath = ../../secrets/syncthing/bulwark/cert.pem.age;
devices = {
"kestrel" = { id = "5WWL4FE-ARZ4FHP-J33HQCH-CZKEXLN-2RAY4KW-PDI754F-3HVPZYI-VC3ESAF"; };
2024-11-01 22:07:00 -07:00
"torus" = { id = "ZVABUCA-3SA5QKR-OZSCIS5-RDAHR2V-D4R4NFK-ZBYOKDP-6HQUG2M-BNL3DAO"; };
};
};
};
2024-07-21 17:28:06 -07:00
};
2023-08-21 21:05:02 -07:00
}