omniflake/system/default.nix

91 lines
1.6 KiB
Nix

{ config, pkgs, ... }:
{
imports =
[
./interception-tools.nix
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
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; [
neovim
wget
git
firefox
foot
htop
killall
pciutils
virt-manager
];
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";
}