disallow unfree by default

This commit is contained in:
xunuwu 2024-10-24 16:35:24 +02:00
parent 716e9e7ac2
commit 17e15e69d1
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
12 changed files with 27 additions and 46 deletions

View file

@ -19,6 +19,16 @@
# "resume_offset=3841492992" # fdisk -l
#];
nixpkgs.config = {
rocmSupport = true;
allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"steam"
"steam-original"
"apple_cursor" # bwuh this is NOT unfree!!
];
};
networking.interfaces.eno1.wakeOnLan.enable = true;
system.stateVersion = "23.11";

View file

@ -79,7 +79,7 @@
device = "/.swapvol/swapfile";
};
hardware.enableAllFirmware = true;
hardware.enableRedistributableFirmware = true;
services.xserver.videoDrivers = [
"amdgpu"