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

@ -23,17 +23,6 @@ in {
meta = {
nixpkgs = import inputs.nixpkgs {
system = "x86_64-linux";
config.allowUnfree = true;
};
nodeNixpkgs = {
nixdesk = import inputs.nixpkgs {
system = "x86_64-linux";
config = {
allowUnfree = true;
rocmSupport = true;
};
};
};
inherit specialArgs;
@ -115,7 +104,7 @@ in {
services.syncthing
services.virt.waydroid
#services.virt.virt-manager
services.virt.virt-manager
#network.wifi
#services.ollama
desktop.x11.nosleep

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"