general desktop tweaks

This commit is contained in:
Gabriel Simmer 2024-02-05 13:11:32 +00:00
parent afe5ab1f41
commit 94b5e3615d
Signed by: arch
SSH key fingerprint: SHA256:m3OEcdtrnBpMX+2BDGh/byv3hrCekCLzDYMdvGEKPPQ

View file

@ -24,8 +24,11 @@
};
time.hardwareClockInLocalTime = true;
hardware.cpu.amd.updateMicrocode = true;
hardware = {
cpu.amd.updateMicrocode = true;
bluetooth.enable = true;
bluetooth.powerOnBoot = true;
};
nix = {
settings = {
experimental-features = [ "nix-command" "flakes" ];
@ -47,8 +50,8 @@
enable = true;
allowedUDPPortRanges = [ { from = 27031; to = 27036; } ];
allowedTCPPortRanges = [ { from = 27036; to = 27037; } ];
allowedTCPPorts = [ 7000 7100 22000 8000 3000 ];
allowedUDPPorts = [ 6000 6001 7011 41641 3478 22000 21027 ];
allowedTCPPorts = [ 7000 7100 7001 22000 8000 3000 9943 9944 ];
allowedUDPPorts = [ 69 6000 6001 7011 41641 3478 22000 21027 9943 9944 ];
trustedInterfaces = [ "enp4s0" "tailscale0" "docker0" ];
checkReversePath = "loose";
};
@ -133,12 +136,14 @@
drivers = [ pkgs.gutenprint pkgs.gutenprintBin ];
};
avahi = {
nssmdns = true;
nssmdns4 = true;
enable = true;
publish = {
enable = true;
userServices = true;
domain = true;
workstation = true;
hinfo = true;
};
};
};
@ -218,6 +223,7 @@
enableDefaultPackages = true;
};
systemd.packages = with pkgs; [ cloudflare-warp ];
environment = {
shells = with pkgs; [ zsh fish ];
systemPackages = with pkgs; [
@ -241,16 +247,17 @@
libnotify
emojione
swtpm
cloudflare-warp
pcscliteWithPolkit.out
];
};
environment.plasma5.excludePackages = with pkgs.libsForQt5; [
elisa
okular
oxygen
khelpcenter
konsole
plasma-browser-integration
print-manager
];