summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixos/services.nix4
-rw-r--r--nixos/users.nix1
2 files changed, 4 insertions, 1 deletions
diff --git a/nixos/services.nix b/nixos/services.nix
index 19f61ff..665477c 100644
--- a/nixos/services.nix
+++ b/nixos/services.nix
@@ -14,8 +14,10 @@
# Update the system.
@daily root ${pkgs.nix}/bin/nix-channel --update; ${pkgs.nixos-rebuild}/bin/nixos-rebuild switch
# Update virtual environments
- @daily qaristote find /home/qaristote -type d -name .nix-gc-roots -execdir ${pkgs.direnv}/bin/direnv reload \;
+ @daily qaristote find /home/qaristote -type d -name .nix-gc-roots -execdir ${pkgs.direnv}/bin/direnv exec . true \;
'';
};
};
+
+ virtualisation.docker.enable = true;
}
diff --git a/nixos/users.nix b/nixos/users.nix
index f9254a7..2b1a630 100644
--- a/nixos/users.nix
+++ b/nixos/users.nix
@@ -8,6 +8,7 @@ in {
"wheel" # Enable ‘sudo’ for the user.
"audio"
"networkmanager"
+ "docker"
];
};