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 keepassxc
krita krita
riot-desktop riot-desktop
steam
mpv mpv
mumble mumble
libreoffice-fresh libreoffice-fresh
@ -20,10 +19,10 @@
enable = true; enable = true;
extensions = with pkgs.nur.repos.rycee.firefox-addons; [ extensions = with pkgs.nur.repos.rycee.firefox-addons; [
keepassxc-browser keepassxc-browser
ublock-origin ublock-origin
umatrix umatrix
cookie-autodelete cookie-autodelete
dark-night-mode dark-night-mode
]; ];
}; };

View file

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

View file

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