Update FredOS-Gaming.nix
This commit is contained in:
parent
dd4511a298
commit
6e8e12a575
1 changed files with 12 additions and 5 deletions
|
|
@ -1,11 +1,12 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
{
|
{
|
||||||
config = lib.mkIf (config.networking.hostName == "FredOS-Gaming") {
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
# The module is returning the result of lib.mkIf, which is a config attribute set.
|
||||||
|
(lib.mkIf (config.networking.hostName == "FredOS-Gaming") {
|
||||||
|
|
||||||
nixpkgs.config.packageOverrides = pkgs: {
|
nixpkgs.config.packageOverrides = pkgs: {
|
||||||
pkgs = pkgs // {
|
pkgs = pkgs // {
|
||||||
# This is where you pull in 32-bit packages
|
|
||||||
# We access the i686-linux architecture set:
|
|
||||||
lib32 = pkgs.pkgsi686Linux.pkgs;
|
lib32 = pkgs.pkgsi686Linux.pkgs;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -15,10 +16,16 @@
|
||||||
adwaita-icon-theme
|
adwaita-icon-theme
|
||||||
nix-index
|
nix-index
|
||||||
libdecor
|
libdecor
|
||||||
pkgs.lib32.libdecor # CORRECTED LINE
|
pkgs.lib32.libdecor # The fixed lib32 reference
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enables Vulkan and OpenGL drivers
|
# ... all other configuration attributes ...
|
||||||
|
|
||||||
|
# The end of the attributes set:
|
||||||
|
# (The outer parentheses close the `lib.mkIf` expression)
|
||||||
|
})
|
||||||
|
|
||||||
|
# Enables Vulkan and OpenGL drivers
|
||||||
hardware.graphics = {
|
hardware.graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enable32Bit = true;
|
enable32Bit = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue