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