dotfiles/provision/hosts/osprey/configuration.nix

47 lines
970 B
Nix
Raw Normal View History

2024-12-21 14:31:57 -08:00
{ config, pkgs, user, lib, hostname, ... }:
2023-07-10 17:52:34 -07:00
{
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-12-21 14:31:57 -08:00
networking.hostName = "${hostname}";
networking.firewall.checkReversePath = false;
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
2024-10-21 10:19:32 -07:00
virtualisation.containers.enable = true;
virtualisation = {
podman = {
enable = true;
dockerCompat = true;
defaultNetwork.settings.dns_enabled = true;
};
};
2023-10-08 20:43:23 -07:00
environment.systemPackages = with pkgs; [
2024-10-21 10:19:32 -07:00
docker-compose
podman-tui
dive
2024-11-12 15:02:58 -08:00
uhd
gnuradio
];
# Modules
2023-07-10 17:52:34 -07:00
modules = {
2023-09-12 21:34:40 -07:00
desktop = {
2024-10-24 20:36:57 -07:00
enable = true;
2024-10-20 00:32:46 -07:00
gnome.enable = true;
2023-07-10 17:52:34 -07:00
};
programs = {
2024-11-12 11:51:33 -08:00
appgate-sdp.enable = true;
2024-09-30 10:35:46 -07:00
chezmoi.apply = true;
kitty.enable = true;
2024-10-26 19:05:14 -07:00
virt-manager.enable = true;
};
2023-09-12 21:34:40 -07:00
services = {
samba-client.enable = true;
ssh.enable = true;
2023-07-10 17:52:34 -07:00
};
};
}