opt in unfree

This commit is contained in:
♥ Minnie ♥ 2025-04-30 12:18:32 +08:00
parent 2c640816fc
commit c38f58067a
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
14 changed files with 17 additions and 850 deletions

View file

@ -14,7 +14,7 @@
outputs.overlays.unstable-packages
];
config = {
allowUnfree = true;
allowUnfree = false;
};
};

View file

@ -27,7 +27,6 @@
wget # download files from web
# Archive
unrar # extract roshal archive
unzip # extract zip archive
p7zip # extract 7z archive
];

View file

@ -1,4 +1,8 @@
{pkgs, ...}: {
{
pkgs,
lib,
...
}: {
fileSystems."/home/sajenim/.local/share/Steam" = {
device = "/dev/disk/by-label/data";
fsType = "btrfs";
@ -23,4 +27,10 @@
"d /home/sajenim/.local 0755 sajenim users -"
"d /home/sajenim/.local/share 0755 sajenim users -"
];
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"steam"
"steam-unwrapped"
];
}