From 8e9e525aa1a32ba835b87280ce83f820f21bd735 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Wed, 27 Mar 2024 20:54:17 +0000 Subject: [PATCH] Add groups --- machines/talos/configuration.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/machines/talos/configuration.nix b/machines/talos/configuration.nix index b6a308b..7822c16 100644 --- a/machines/talos/configuration.nix +++ b/machines/talos/configuration.nix @@ -62,12 +62,20 @@ # Enable sensors hardware.sensor.iio.enable = true; + hardware.opengl.extraPackages = [ + intel-media-driver + ]; + # Define a user account. Don't forget to set a password with ‘passwd’. users = { defaultUserShell = pkgs.zsh; users.nikdoof = { isNormalUser = true; - extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. + extraGroups = + [ + "wheel" + "video" + ]; shell = pkgs.zsh; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHWO2qwHaPaQs46na4Aa6gMkw5QqRHUMGQphtgAcDJOw"