This commit is contained in:
天クマ 2026-04-08 08:50:30 -03:00
commit 03557090a1
2 changed files with 102 additions and 28 deletions

View file

@ -33,6 +33,12 @@
nix.gc.dates = "daily";
nix.gc.options = "--delete-older-than 5d";
nix.settings = {
substituters = [ "https://winapps.cachix.org/" ];
trusted-public-keys = [ "winapps.cachix.org-1:HI82jWrXZsQRar/PChgIx1unmuEsiQMQq+zt05CD36g=" ];
trusted-users = [ "adrian" ];
};
networking.hostName = "nixian"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@ -148,7 +154,7 @@
users.users.adrian = {
isNormalUser = true;
description = "Adrian Victor";
extraGroups = [ "networkmanager" "wheel" "lp"];
extraGroups = [ "libvirt" "networkmanager" "wheel" "lp"];
};
# Some programs need SUID wrappers, can be configured further or are
@ -181,6 +187,14 @@
# Or disable the firewall altogether.
networking.firewall.enable = false;
hardware.graphics = {
enable = true;
extraPackages = with pkgs; [
intel-media-driver # For Broadwell (2014) or newer processors. LIBVA_DRIVER_NAME=iHD
];
};
environment.sessionVariables = { LIBVA_DRIVER_NAME = "iHD"; };
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave