110 lines
2 KiB
Nix
110 lines
2 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 ];
|
|
};
|
|
|
|
services.opensnitch.enable = true;
|
|
|
|
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;
|
|
pinentryPackage = pkgs.pinentry-curses;
|
|
# enableSSHSupport = true;
|
|
};
|
|
|
|
programs.fish.enable = true;
|
|
|
|
environment.sessionVariables = {
|
|
XDG_CONFIG_HOME = "$HOME/.config";
|
|
XDG_CACHE_HOME = "$HOME/.cache";
|
|
XDG_DATA_HOME = "$HOME/.local/share";
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
dig.dnsutils
|
|
file
|
|
firefox
|
|
foot
|
|
git
|
|
htop
|
|
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;
|
|
mullvad-vpn.package = pkgs.mullvad-vpn;
|
|
};
|
|
|
|
virtualisation.libvirtd.enable = true;
|
|
programs.dconf.enable = true;
|
|
|
|
system.stateVersion = "22.11";
|
|
}
|