diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2024-02-22 15:39:38 -0700 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2024-02-22 15:39:38 -0700 |
| commit | f06c0cbefa7722680a0510a610cb321a9126a462 (patch) | |
| tree | 2a895052e1631f20ba49ae2eb6b1ffabd88af96c | |
| parent | 7a977be46240b1a4e67afc2354e92f6d966c3382 (diff) | |
better way to use docker in nix
| -rw-r--r-- | machines/khad/configuration.nix | 7 | ||||
| -rw-r--r-- | modules/users/defin.nix | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/machines/khad/configuration.nix b/machines/khad/configuration.nix index b807f0c..f718e55 100644 --- a/machines/khad/configuration.nix +++ b/machines/khad/configuration.nix @@ -98,9 +98,10 @@ jack.enable = true; }; - environment.systemPackages = with pkgs; [ - docker - ]; + # environment.systemPackages = with pkgs; [ + # docker + # ]; + virtualisation.docker.enable = true; # Enable touchpad support (enabled default in most desktopManager). # services.xserver.libinput.enable = true; diff --git a/modules/users/defin.nix b/modules/users/defin.nix index b437692..139845f 100644 --- a/modules/users/defin.nix +++ b/modules/users/defin.nix @@ -7,7 +7,7 @@ users.defin = { isNormalUser = true; description = "Devin Finlinson"; - extraGroups = [ "wheel" "builders" "video" "input"]; # Enable ‘sudo’ for the user. + extraGroups = [ "wheel" "builders" "video" "input" "docker"]; # (wheel) Enable ‘sudo’ for the user. shell = pkgs.nushell; hashedPassword = "$6$UljPNAdxZ22lP3Bc$8VaEAacZxtXM3Zji2IA7Jf5fXs9pFnAVQff1d8IbfFOKCvjibceyopOAjRXa8lXtpOSJgPW1OO1dzOspqhWnz0"; |
