Docker!
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
./system-modules/hsmw.nix
|
||||
./system-modules/health_reminder.nix
|
||||
./system-modules/davmail.nix
|
||||
# ./system-modules/docker.nix
|
||||
./system-modules/docker.nix
|
||||
|
||||
];
|
||||
|
||||
|
||||
3
home.nix
3
home.nix
@@ -58,13 +58,12 @@
|
||||
|
||||
nodejs
|
||||
|
||||
onnxruntime
|
||||
speedtest-go
|
||||
|
||||
(pkgs.python3.withPackages (python-pkgs: [
|
||||
python-pkgs.ipython
|
||||
python-pkgs.pipdeptree
|
||||
python-pkgs.requests
|
||||
python-pkgs.onnxruntime
|
||||
]))
|
||||
(writeShellScriptBin "nxrbs-nix" ''
|
||||
set -e
|
||||
|
||||
12
system-modules/docker.nix
Normal file
12
system-modules/docker.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
lazydocker
|
||||
];
|
||||
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
users.users.nx2.extraGroups = [ "docker" ];
|
||||
users.extraGroups.docker.members = [ "username-with-access-to-socket" ];
|
||||
}
|
||||
Reference in New Issue
Block a user