This commit is contained in:
nx2
2024-03-22 13:12:09 +01:00
parent 312a40351d
commit b2feb47e00
3 changed files with 14 additions and 3 deletions

View File

@@ -15,7 +15,7 @@
./system-modules/hsmw.nix ./system-modules/hsmw.nix
./system-modules/health_reminder.nix ./system-modules/health_reminder.nix
./system-modules/davmail.nix ./system-modules/davmail.nix
# ./system-modules/docker.nix ./system-modules/docker.nix
]; ];

View File

@@ -58,13 +58,12 @@
nodejs nodejs
onnxruntime speedtest-go
(pkgs.python3.withPackages (python-pkgs: [ (pkgs.python3.withPackages (python-pkgs: [
python-pkgs.ipython python-pkgs.ipython
python-pkgs.pipdeptree python-pkgs.pipdeptree
python-pkgs.requests python-pkgs.requests
python-pkgs.onnxruntime
])) ]))
(writeShellScriptBin "nxrbs-nix" '' (writeShellScriptBin "nxrbs-nix" ''
set -e set -e

12
system-modules/docker.nix Normal file
View 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" ];
}