Browse Source

Enable docker on acernitro

main
parent
commit
62688c622f
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 5
      README.org
  2. 1
      flake.nix
  3. 4
      modules/docker.nix

5
README.org

@ -502,6 +502,7 @@ acernitro = nixpkgs.lib.nixosSystem {
<<module-x11>>
<<module-ssh>>
<<module-hugo>>
<<module-docker>>
<<module-flakes>>
<<module-cachix>>
<<module-nvidia>>
@ -1092,11 +1093,15 @@ Docker [fn:31] is a set of platform as a service that uses OS level virtualizati
{ config, pkgs, ... }:
{
# Enable the docker virutalization platform.
virtualisation.docker = {
enable = true;
enableOnBoot = true;
autoPrune.enable = true;
};
# Required for the `docker' command.
users.users.chris.extraGroups = [ "docker" ];
}
#+END_SRC

1
flake.nix

@ -47,6 +47,7 @@
./modules/x11.nix
./modules/ssh.nix
./modules/hugo.nix
./modules/docker.nix
./modules/flakes.nix
./modules/cachix.nix
./modules/nvidia.nix

4
modules/docker.nix

@ -1,9 +1,13 @@
{ config, pkgs, ... }:
{
# Enable the docker virutalization platform.
virtualisation.docker = {
enable = true;
enableOnBoot = true;
autoPrune.enable = true;
};
# Required for the `docker' command.
users.users.chris.extraGroups = [ "docker" ];
}
Loading…
Cancel
Save