nixconfig/nixos/systems/yoga/configuration.nix

21 lines
494 B
Nix
Raw Normal View History

2023-07-01 11:21:43 +02:00
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
];
2023-07-01 13:04:46 +02:00
# Enable compression
2023-07-01 11:21:43 +02:00
fileSystems."/".options = [ "compress=zstd" ];
fileSystems."/home".options = [ "compress=zstd" ];
fileSystems."/nix".options = [ "compress=zstd" "noatime" ];
networking.hostName = "danacus-yoga"; # Define your hostname.
2023-07-01 13:42:13 +02:00
# Intel GPU only: enable VAAPI
hardware.opengl.extraPackages = with pkgs; [
intel-media-driver
];
2023-07-01 11:21:43 +02:00
}