feat: start docker on boot for styrak

This commit is contained in:
Nydragon 2024-07-17 00:41:01 +02:00
parent a30c101334
commit bd64afd986

View file

@ -1,6 +1,5 @@
{ {
modulesPath, modulesPath,
config,
lib, lib,
pkgs, pkgs,
... ...
@ -10,6 +9,7 @@
(modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
(modulesPath + "/profiles/qemu-guest.nix") (modulesPath + "/profiles/qemu-guest.nix")
./disk-config.nix ./disk-config.nix
../../modules/nix
]; ];
boot.loader.grub = { boot.loader.grub = {
# no need to set devices, disko will add all devices that have a EF02 partition to the list already # no need to set devices, disko will add all devices that have a EF02 partition to the list already
@ -29,7 +29,7 @@
]; ];
virtualisation.docker = { virtualisation.docker = {
enableOnBoot = false; enableOnBoot = true;
rootless = { rootless = {
enable = true; enable = true;
setSocketVariable = true; setSocketVariable = true;