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