globably allow unfree packages
This commit is contained in:
parent
ae83977fc6
commit
1279022a66
|
@ -60,14 +60,6 @@ in
|
|||
services.printing.enable = true;
|
||||
services.printing.drivers = with pkgs; [ splix ];
|
||||
|
||||
|
||||
programs.steam.enable = true;
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
"steam"
|
||||
"steam-original"
|
||||
"steam-runtime"
|
||||
];
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
environment.systemPackages = with pkgs; [ vim wget curl git ];
|
||||
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
{lib, ...}: {
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
"steam"
|
||||
"steam-original"
|
||||
"steam-runtime"
|
||||
];
|
||||
programs.steam.enable = true;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
{pkgs,lib, ...}:{
|
||||
|
||||
# Allow via to be used ( it has an unfree license )
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "via" ];
|
||||
|
||||
{config, pkgs,lib, ...}:{
|
||||
# Load udev Rules for via
|
||||
services.udev.packages = [ pkgs.via ];
|
||||
|
||||
}
|
||||
|
|
|
@ -10,23 +10,18 @@
|
|||
../modules/sound.nix
|
||||
../modules/ssh.nix
|
||||
../modules/steam.nix
|
||||
# ../modules/via.nix broken
|
||||
../modules/via.nix
|
||||
../modules/virtualbox.nix
|
||||
../modules/borgbackup.nix
|
||||
#../secrets/remote-builder.nix
|
||||
../users/fleaz.nix
|
||||
];
|
||||
|
||||
# needed for Steam and VIA
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# GTK settings stuff for e.g. themes
|
||||
programs.dconf.enable = true;
|
||||
|
||||
|
||||
# Temporary hacks that don't deserve their own module
|
||||
|
||||
networking.extraHosts =
|
||||
''
|
||||
10.10.37.2 bart2.fleaz.me
|
||||
'';
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue