summaryrefslogtreecommitdiff
path: root/nixos/services.nix
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2022-02-13 18:23:22 +0100
committerQuentin Aristote <quentin@aristote.fr>2022-02-13 18:23:22 +0100
commit89f7f41c43c8b9183230cdbbdde7c990faa677cb (patch)
tree08fcc08ed07e267ee7b92f291af181000e75b791 /nixos/services.nix
parent38a306430552c49c5fe5545ab15daaaa130f5634 (diff)
enable docker
Diffstat (limited to 'nixos/services.nix')
-rw-r--r--nixos/services.nix4
1 files changed, 3 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;
}