fix: add user to docker group

This commit is contained in:
Noa Aarts 2024-06-28 09:26:15 +02:00
parent 58c4b4c5e5
commit 56af1421b0
2 changed files with 2 additions and 7 deletions

View file

@ -125,7 +125,6 @@
# Configure console keymap
console.keyMap = "us-acentos";
users.groups.nixpow.members = [ "root" ];
# Define a user account. Don't forget to set a password with passwd.
users.users = {
root = {
@ -134,7 +133,7 @@
noa = {
isNormalUser = true;
description = "Noa Aarts";
extraGroups = [ "networkmanager" "wheel" "nixpow" ];
extraGroups = [ "networkmanager" "wheel" "docker" ];
hashedPassword = "$6$rounds=512400$Zip3xoK2zcoR4qEL$N13YTHO5tpWfx2nKb1sye.ZPwfoRtMQ5f3YrMZqKzzoFoSSHHJ.l5ulCEa9HygFxZmBtPnwlseFEtl8ERnwF50";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBFemc4Pzp7I0y8FHxgRO/c/ReBmXuqXR6CWqbhiQ+0t noa@Noas_flaptop"

View file

@ -56,11 +56,7 @@
};
noa = {
isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user.
packages = with pkgs; [
firefox
tree
];
extraGroups = [ "networkmanager" "wheel" "docker" ];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINWtje7dGqyrBY7PLq6DANvUR6yfungQNsXGkTO6PP6/ noa@NoasPCArch"
];