refactor(terminal): define unfree packages in terminal's configuration.nix

This commit is contained in:
Guz
2026-04-16 14:07:33 -03:00
parent 10eb8a3afc
commit f13748e009
3 changed files with 11 additions and 12 deletions

View File

@@ -1,5 +1,6 @@
{
config,
lib,
inputs,
pkgs,
self,
@@ -61,5 +62,15 @@
# Drawing Tablet
hardware.opentabletdriver.enable = true;
# Nixpkgs
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"obsidian"
"steam"
"steam-unwrapped"
"via"
"vivaldi"
];
environment.sessionVariables.NIXOS_OZONE_WL = "1";
}

View File

@@ -87,14 +87,6 @@
# Nix
nix.settings.experimental-features = ["nix-command" "flakes"];
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"obsidian"
"steam"
"steam-unwrapped"
"via"
"vivaldi"
];
# Bootloader
boot.loader.systemd-boot.enable = true;

View File

@@ -84,10 +84,6 @@
# Nix
nix.settings.experimental-features = ["nix-command" "flakes"];
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"via"
];
# Bootloader
boot.loader.grub.enable = lib.mkForce true;