40 lines
No EOL
738 B
Nix
40 lines
No EOL
738 B
Nix
# If a GUI is enabled, install GUI apps:
|
|
{ lib, pkgs, config, ... }: {
|
|
users.users.albert = {
|
|
packages = with pkgs; [
|
|
firefox
|
|
bitwarden
|
|
steam
|
|
lutris
|
|
vlc
|
|
];
|
|
};
|
|
|
|
imports = [
|
|
# Software configurations
|
|
../software/firefox.nix
|
|
];
|
|
|
|
# Enable sound with pipewire.
|
|
sound.enable = true;
|
|
hardware.pulseaudio.enable = false;
|
|
security.rtkit.enable = true;
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
};
|
|
|
|
# Configure keymap in X11
|
|
services.xserver = {
|
|
enable = true;
|
|
layout = "us";
|
|
xkbVariant = "";
|
|
|
|
# Enable nVidia drivers
|
|
videoDrivers = [ "nvidia" ];
|
|
autorun = true;
|
|
};
|
|
|
|
} |