hosts/denna: enable sound/video etc.
Anirudh Oppiliappan x@icyphox.sh
Sun, 09 Jun 2024 19:48:00 +0300
1 files changed,
23 insertions(+),
13 deletions(-)
jump to
M
hosts/denna/configuration.nix
→
hosts/denna/configuration.nix
@@ -19,15 +19,28 @@
i18n.defaultLocale = "en_US.UTF-8"; i18n.extraLocaleSettings = { - LC_ADDRESS = "fi_FI.UTF-8"; - LC_IDENTIFICATION = "fi_FI.UTF-8"; - LC_MEASUREMENT = "fi_FI.UTF-8"; - LC_MONETARY = "fi_FI.UTF-8"; - LC_NAME = "fi_FI.UTF-8"; - LC_NUMERIC = "fi_FI.UTF-8"; - LC_PAPER = "fi_FI.UTF-8"; - LC_TELEPHONE = "fi_FI.UTF-8"; - LC_TIME = "fi_FI.UTF-8"; + LC_ADDRESS = "en_US.UTF-8"; + LC_IDENTIFICATION = "en_US.UTF-8"; + LC_MEASUREMENT = "en_US.UTF-8"; + LC_MONETARY = "en_US.UTF-8"; + LC_NAME = "en_US.UTF-8"; + LC_NUMERIC = "en_US.UTF-8"; + LC_PAPER = "en_US.UTF-8"; + LC_TELEPHONE = "en_US.UTF-8"; + LC_TIME = "en_US.UTF-8"; + }; + + sound.enable = true; + hardware.pulseaudio.enable = true; + hardware.opengl = { + enable = true; + extraPackages = with pkgs; [ + intel-media-driver + vaapiIntel + vaapiVdpau + libvdpau-va-gl + intel-compute-runtime + ]; }; users.users.icy = {@@ -37,11 +50,8 @@ extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [ ]; }; - # Allow unfree packages nixpkgs.config.allowUnfree = true; - # List packages installed in system profile. To search, run: - # $ nix search wget environment.systemPackages = with pkgs; [ vim wget@@ -71,7 +81,7 @@ };
}; nix.settings.experimental-features = [ "nix-command" "flakes" ]; - system.stateVersion = "24.05"; # Did you read the comment? + system.stateVersion = "24.05"; }