mirror of
https://github.com/nmasur/dotfiles
synced 2026-06-03 10:43:58 +00:00
start to split nix into modules
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
{ config, ... }: {
|
||||
|
||||
config = {
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
driSupport32Bit = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./common.nix ./lutris.nix ];
|
||||
|
||||
config = {
|
||||
|
||||
# League of Legends anti-cheat
|
||||
boot.kernel.sysctl = { "abi.vsyscall32" = 0; };
|
||||
|
||||
environment.systemPackages = with pkgs; [ openssl dconf ];
|
||||
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
imports = [ ./common.nix ];
|
||||
|
||||
config = { environment.systemPackages = with pkgs; [ lutris amdvlk wine ]; };
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{ config, pkgs, ... }: {
|
||||
|
||||
imports = [ ./common.nix ];
|
||||
|
||||
config = {
|
||||
hardware.steam-hardware.enable = true;
|
||||
environment.systemPackages = with pkgs; [ steam ];
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user