From 22decfa9b212353afb46eff849d9186c09cb554d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 12 Jun 2021 16:15:00 +0100 Subject: [PATCH] clean up unfree --- nixos/common-hardware.nix | 4 +--- nixos/common.nix | 8 +++++--- nixos/games.nix | 8 -------- 3 files changed, 6 insertions(+), 14 deletions(-) delete mode 100644 nixos/games.nix diff --git a/nixos/common-hardware.nix b/nixos/common-hardware.nix index 747cf95a..4953481f 100644 --- a/nixos/common-hardware.nix +++ b/nixos/common-hardware.nix @@ -7,8 +7,6 @@ networking.networkmanager.enable = true; - hardware.enableAllFirmware = true; - hardware.enableRedistributableFirmware = true; hardware.cpu.intel.updateMicrocode = true; hardware.pulseaudio = { @@ -34,7 +32,7 @@ services.printing = { enable = true; - drivers = with pkgs; [ epson-escpr samsung-unified-linux-driver splix ]; + drivers = with pkgs; [ epson-escpr splix ]; }; hardware.printers.ensurePrinters = [{ diff --git a/nixos/common.nix b/nixos/common.nix index 73e18fe3..47e089bc 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: { imports = [ @@ -11,8 +11,10 @@ security.allowUserNamespaces = true; environment.enableDebugInfo = true; + + nixpkgs.config.allowUnfree = true; environment.systemPackages = with pkgs; [ - wget git gnupg curl tmux htop atop home-manager pciutils powertop fd dnsutils usbutils + wget git gnupg curl tmux htop atop home-manager pciutils powertop fd dnsutils usbutils veracrypt ]; i18n.defaultLocale = "en_GB.UTF-8"; @@ -52,7 +54,7 @@ ]; package = pkgs.nixUnstable; extraOptions = '' - experimental-features = nix-command flakes + experimental-features = nix-command flakes ''; }; diff --git a/nixos/games.nix b/nixos/games.nix deleted file mode 100644 index 7259d950..00000000 --- a/nixos/games.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ config, pkgs, ... }: - -{ - home.packages = with pkgs; [ - (wine.override { wineBuild = "wineWow"; }) winetricks - steam - ]; -}