From 6e340f6a45887a307118db68fed9781f8fd99740 Mon Sep 17 00:00:00 2001 From: joy Date: Thu, 8 Aug 2024 17:25:49 +0200 Subject: [PATCH] unfree NOOOOOOOOOOOOOOOOOOOOOo --- hosts/desktop/default.nix | 12 +----------- hosts/desktop/unfree.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+), 11 deletions(-) create mode 100644 hosts/desktop/unfree.nix diff --git a/hosts/desktop/default.nix b/hosts/desktop/default.nix index b99beb6..5ebd220 100644 --- a/hosts/desktop/default.nix +++ b/hosts/desktop/default.nix @@ -1,15 +1,5 @@ -{ inputs, lib, pkgs, ... }: +{ inputs, ... }: { - programs.steam.enable = true; - nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ - "steam" - ]; - environment.systemPackages = with pkgs; [ - prismlauncher - mangohud - lutris - ]; - networking.hostName = "desktop"; networking.networkmanager.enable = true; services.hardware.openrgb.enable = true; diff --git a/hosts/desktop/unfree.nix b/hosts/desktop/unfree.nix new file mode 100644 index 0000000..1ca38ec --- /dev/null +++ b/hosts/desktop/unfree.nix @@ -0,0 +1,12 @@ +{ pkgs, lib, ... }: +{ + nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ + "steam" + ]; + programs.steam.enable = true; + environment.systemPackages = with pkgs; [ + prismlauncher + mangohud + lutris + ]; +}