dotfiles/provision/hosts/osprey/configuration.nix
2024-10-21 10:51:21 -07:00

62 lines
1.3 KiB
Nix

{ config, pkgs, user, lib, ... }:
{
imports = [
];
# Use performance governor for sweet gaming performance!
powerManagement.cpuFreqGovernor = "performance";
# Set networking options
networking.hostName = "osprey";
networking.firewall.checkReversePath = "loose";
networking.firewall.enable = false;
# Enable docker
virtualisation.containers.enable = true;
virtualisation = {
podman = {
enable = true;
dockerCompat = true;
defaultNetwork.settings.dns_enabled = true;
};
};
environment.systemPackages = with pkgs; [
docker-compose
podman-tui
dive
];
# Modules
modules = {
desktop = {
browser.enable = true;
gnome.enable = true;
};
devel = {
python.enable = true;
tooling.enable = true;
};
programs = {
chezmoi.apply = true;
kitty.enable = true;
};
services = {
peripherals.enable = true;
samba-client.enable = true;
virt-manager.enable = true;
};
system = {
ssh.enable = true;
terminal.enable = true;
wireguard-client = {
enable = true;
host = "osprey";
address = [ "192.168.3.5/24" ];
publicKey = "bd7bbZOngl/FTdBlnbIhgCLNf6yx5X8WjiRB7E1NEQQ=";
endpoint = "66.218.43.87";
};
};
};
}