move unfree allow list to default.nix

This commit is contained in:
smayzy 2025-07-08 14:23:13 +02:00
parent 53cad02771
commit 77ba5cf04e
2 changed files with 10 additions and 10 deletions

View File

@ -53,16 +53,6 @@
xdg.portal.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"steam"
"steam-original"
"steam-unwrapped"
"steam-run"
"obsidian"
"nvidia-x11"
"nvidia-settings"
];
programs.steam.enable = true;
environment.systemPackages = with pkgs; [

View File

@ -10,4 +10,14 @@
# Timzone and locales (same for all machines so I put it here)
i18n.defaultLocale = "en_US.UTF-8";
time.timeZone = "Europe/Paris";
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"steam"
"steam-original"
"steam-unwrapped"
"steam-run"
"obsidian"
"nvidia-x11"
"nvidia-settings"
];
}