From faa762401d914d6deb03ab4e0eb570fe24da8c78 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Fri, 26 Jan 2024 00:54:06 +0300 Subject: [PATCH] Home : Disable Docker autostart. --- .config/linux/system/home/Configuration.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.config/linux/system/home/Configuration.nix b/.config/linux/system/home/Configuration.nix index 30cf5f7..74c7e3d 100644 --- a/.config/linux/system/home/Configuration.nix +++ b/.config/linux/system/home/Configuration.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: { imports = [ @@ -36,9 +36,13 @@ fileSystems."/storage/hot" = { device = "/dev/storage/hot"; fsType = "ext4"; - options = [ "nofail" ]; + options = [ "noauth" "nofail" ]; }; + # Disable Docker autostart. + systemd.services.docker.wantedBy = lib.mkForce [ ]; + systemd.sockets.docker.wantedBy = lib.mkForce [ ]; + # Do not touch ever. system.stateVersion = "23.11"; }