Added docker to nix config

This commit is contained in:
Random936 2024-06-14 12:56:18 -07:00
parent 6a3503794c
commit 396efda36a
2 changed files with 5 additions and 1 deletions

View File

@ -14,6 +14,7 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
feh feh
dconf dconf
docker
discord discord
pavucontrol pavucontrol
google-chrome google-chrome

View File

@ -93,12 +93,15 @@
syntaxHighlighting.enable = true; syntaxHighlighting.enable = true;
}; };
# Docker configuration
virtualisation.docker.enable = true;
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.random = { users.users.random = {
isNormalUser = true; isNormalUser = true;
useDefaultShell = true; useDefaultShell = true;
description = "random"; description = "random";
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [ "networkmanager" "wheel" "docker" ];
packages = with pkgs; []; packages = with pkgs; [];
}; };