dotfiles/provision/hosts/bulwark/configuration.nix

49 lines
1.0 KiB
Nix
Raw Normal View History

{ config, lib, pkgs, user, ... }:
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
networking.hostName = "bulwark";
networking.firewall.checkReversePath = "loose";
networking.firewall.enable = false;
environment.systemPackages = with pkgs; [
];
# 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-07-21 17:28:06 -07:00
};
2023-08-21 21:05:02 -07:00
}