This commit is contained in:
Lucy Hochkamp 2025-09-17 09:02:08 +02:00
parent e986986e79
commit 53c7532351
No known key found for this signature in database
10 changed files with 131 additions and 107 deletions

View file

@ -5,6 +5,12 @@
lib,
...
}:
let
unfuckWifi = pkgs.writeShellScript "unfuckWifi" ''
modprobe -r mt7921e
modprobe mt7921e
'';
in
{
nixpkgs.system = "x86_64-linux";
imports = [ ./hardware-configuration.nix ];
@ -22,6 +28,12 @@
services.vsmartcard-vpcd.enable = true;
hardware.gpgSmartcards.enable = true;
networking.firewall.interfaces."tailscale0".allowedTCPPorts = [ 35963 ];
security.wrappers.unfuck-wifi = {
owner = "root";
group = "root";
setuid = true;
source = unfuckWifi;
};
environment.systemPackages = with pkgs; [
aerc
@ -47,6 +59,7 @@
pencil2d
python311Packages.brother-ql
ptouch-print
];
time.timeZone = "Europe/Berlin";