Move games related config to a dedicated file

This commit is contained in:
Paul-Henri Froidmont 2020-03-08 18:13:32 +01:00
parent 6cfc51616c
commit 35d1888bbd
4 changed files with 16 additions and 6 deletions

11
configs/games.nix Normal file
View file

@ -0,0 +1,11 @@
{ config, lib, pkgs, ... }:
{
hardware.opengl.driSupport32Bit = true;
home-manager.users.froidmpa = {pkgs, config, ...}: {
home.packages = with pkgs; [
steam
lutris
vulkan-tools
];
};
}

View file

@ -11,7 +11,6 @@
keepassxc
krita
riot-desktop
steam
mpv
mumble
libreoffice-fresh

View file

@ -30,7 +30,6 @@
sound.enable = true;
hardware.pulseaudio.enable = true;
hardware.opengl.driSupport32Bit = true;
hardware.pulseaudio.support32Bit = true;
users.users.froidmpa = {

View file

@ -4,6 +4,7 @@
./hardware-configuration.nix
../../configs/system.nix
../../configs/user.nix
../../configs/games.nix
];
fileSystems."/home/froidmpa/Nextcloud" = {