dotfiles/provision/hosts/osprey/configuration.nix

52 lines
1.1 KiB
Nix
Raw Normal View History

{ config, pkgs, user, lib, ... }:
2023-07-10 17:52:34 -07:00
{
2023-10-07 09:33:26 -07:00
imports = [
];
2024-08-18 21:41:08 -07:00
# Use performance governor for sweet gaming performance!
powerManagement.cpuFreqGovernor = "performance";
2023-07-10 17:52:34 -07:00
# Set networking options
2024-10-16 08:54:54 -07:00
networking.hostName = "osprey";
2023-07-23 14:34:39 -07:00
networking.firewall.checkReversePath = "loose";
2023-08-21 21:05:02 -07:00
networking.firewall.enable = false;
2023-07-10 17:52:34 -07:00
2023-10-09 19:52:55 -07:00
# Enable docker
2023-10-09 21:23:12 -07:00
virtualisation.docker.enable = true;
2023-10-08 20:43:23 -07:00
environment.systemPackages = with pkgs; [
];
# Modules
2023-07-10 17:52:34 -07:00
modules = {
2023-09-12 21:34:40 -07:00
desktop = {
browser.enable = true;
2024-10-20 00:32:46 -07:00
gnome.enable = true;
2023-07-10 17:52:34 -07:00
};
devel = {
2023-10-09 21:34:11 -07:00
python.enable = true;
2023-09-17 21:41:32 -07:00
tooling.enable = true;
2023-07-10 17:52:34 -07:00
};
programs = {
2024-09-30 10:35:46 -07:00
chezmoi.apply = true;
kitty.enable = true;
};
2023-09-12 21:34:40 -07:00
services = {
2023-09-17 21:41:32 -07:00
peripherals.enable = true;
2023-09-12 21:34:40 -07:00
samba-client.enable = true;
2023-09-17 21:41:32 -07:00
virt-manager.enable = true;
2023-09-12 21:34:40 -07:00
};
system = {
ssh.enable = true;
2023-09-17 21:41:32 -07:00
terminal.enable = true;
2024-10-21 10:08:22 -07:00
wireguard-client = {
enable = true;
privateKeyFile = "/run/agenix/wireguard/osprey";
address = [ "192.168.3.3/24" ];
publicKey = "bd7bbZOngl/FTdBlnbIhgCLNf6yx5X8WjiRB7E1NEQQ=";
endpoint = "66.218.43.87";
};
2023-07-10 17:52:34 -07:00
};
};
}