clean up unfree

This commit is contained in:
Cyryl Płotnicki 2021-06-12 16:15:00 +01:00
parent c71b538a09
commit 22decfa9b2
3 changed files with 6 additions and 14 deletions

View file

@ -7,8 +7,6 @@
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
hardware.enableAllFirmware = true;
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;
hardware.cpu.intel.updateMicrocode = true; hardware.cpu.intel.updateMicrocode = true;
hardware.pulseaudio = { hardware.pulseaudio = {
@ -34,7 +32,7 @@
services.printing = { services.printing = {
enable = true; enable = true;
drivers = with pkgs; [ epson-escpr samsung-unified-linux-driver splix ]; drivers = with pkgs; [ epson-escpr splix ];
}; };
hardware.printers.ensurePrinters = [{ hardware.printers.ensurePrinters = [{

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { config, pkgs, lib, ... }:
{ {
imports = imports =
[ [
@ -11,8 +11,10 @@
security.allowUserNamespaces = true; security.allowUserNamespaces = true;
environment.enableDebugInfo = true; environment.enableDebugInfo = true;
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [ 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"; i18n.defaultLocale = "en_GB.UTF-8";
@ -52,7 +54,7 @@
]; ];
package = pkgs.nixUnstable; package = pkgs.nixUnstable;
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes
''; '';
}; };

View file

@ -1,8 +0,0 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [
(wine.override { wineBuild = "wineWow"; }) winetricks
steam
];
}