mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
47 lines
970 B
Nix
47 lines
970 B
Nix
{ config, pkgs, user, lib, hostname, ... }:
|
|
{
|
|
# Use performance governor for sweet gaming performance!
|
|
powerManagement.cpuFreqGovernor = "performance";
|
|
|
|
# Set networking options
|
|
networking.hostName = "${hostname}";
|
|
networking.firewall.checkReversePath = false;
|
|
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
|
|
uhd
|
|
gnuradio
|
|
];
|
|
|
|
# Modules
|
|
modules = {
|
|
desktop = {
|
|
enable = true;
|
|
gnome.enable = true;
|
|
};
|
|
programs = {
|
|
appgate-sdp.enable = true;
|
|
chezmoi.apply = true;
|
|
kitty.enable = true;
|
|
virt-manager.enable = true;
|
|
};
|
|
services = {
|
|
samba-client.enable = true;
|
|
ssh.enable = true;
|
|
};
|
|
};
|
|
}
|