omniflake/system/default.nix
2023-12-06 03:22:06 +01:00

101 lines
1.8 KiB
Nix

{ config, pkgs, ... }:
{
imports =
[
./interception-tools.nix
];
nix = {
settings.experimental-features = [ "nix-command" "flakes" ];
gc.automatic = true;
gc.dates = "weekly";
optimise.automatic = true;
};
zramSwap.enable = true;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.networkmanager.enable = true;
networking.firewall = {
enable = true;
allowedTCPPorts = [ 4000 ];
};
time.timeZone = "Europe/Berlin";
i18n.extraLocaleSettings = {
LC_TIME = "en_GB.UTF-8";
LC_CTYPE = "de_DE.UTF-8";
LC_PAPER = "de_DE.UTF-8";
};
users.users.till = {
isNormalUser = true;
description = "Till";
extraGroups = [
"wheel"
"networkmanager"
];
shell = pkgs.fish;
};
programs.steam = {
enable = true;
};
# sound.enable = true;
hardware.pulseaudio.enable = false;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
nixpkgs.config.allowUnfree = true;
nixpkgs.config.joypixels.acceptLicense = true;
programs.gnupg.agent = {
enable = true;
pinentryFlavor = "curses";
# enableSSHSupport = true;
};
programs.fish.enable = true;
environment.systemPackages = with pkgs; [
dig.dnsutils
file
firefox
foot
git
bottom
killall
neovim
pciutils
pwgen
tree
unzip
virt-manager
wget
];
fonts.packages = with pkgs; [
jetbrains-mono
joypixels
];
services = {
dbus.enable = true;
openssh.enable = true;
printing.enable = true;
mullvad-vpn.enable = true;
};
virtualisation.libvirtd.enable = true;
programs.dconf.enable = true;
system.stateVersion = "22.11";
}