diff --git a/nixos/configs/default.nix b/nixos/configs/default.nix index b73110c..ccf3a9b 100644 --- a/nixos/configs/default.nix +++ b/nixos/configs/default.nix @@ -33,6 +33,7 @@ in nova-crypto = novaConfig (with mods; [ ivand cryptocurrency ]); nova-nonya = novaConfig (with mods; [ ivand anon cryptocurrency ]); nova-ai = novaConfig (with mods; [ ivand ai ]); + nova-containers = novaConfig (with mods; [ ivand containers ]); install-iso = configWithModules { modules = with mods; [ grub base shell wireless ]; }; vps = configWithModules { modules = with mods; [ base shell security vps mailserver nginx wireguard-output anonymous-dns firewall rest ]; }; stara-miner = configWithModules { modules = essential ++ [ mods.monero-miner ]; }; diff --git a/nixos/modules/default.nix b/nixos/modules/default.nix index 5e9d913..9c2016a 100644 --- a/nixos/modules/default.nix +++ b/nixos/modules/default.nix @@ -291,6 +291,16 @@ top @ { inputs, moduleWithSystem, ... }: { ai = moduleWithSystem (_: _: { services = { ollama.enable = true; }; }); + containers = moduleWithSystem (_: _: { + virtualisation.docker = { + storageDriver = "btrfs"; + rootless = { + enable = true; + setSocketVariable = true; + }; + }; + users.users.ivand.extraGroups = [ "docker" ]; + }); anon = moduleWithSystem (_: { pkgs, ... }: { environment.systemPackages = with pkgs; [ tor-browser ]; });