~ruther/nixos-config

ref: 3e080cbf95d6d1cbc4dd4b8fc3adf8a76e1256f3 nixos-config/modules/desktop/virtualisation/docker.nix -rw-r--r-- 419 bytes
3e080cbf — Frantisek Bohacek feat: force hide password in sugar dark ssdm theme 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# Docker
#

{ config, pkgs, user, ... }:

{
  virtualisation = {
    docker.enable = true;
  };

  users.groups.docker.members = [ "${user}" ];

  #environment = {
  #  interactiveShellInit = ''
  #    alias rtmp='docker start nginx-rtmp'
  #  '';                                                           # Alias to easily start container
  #};

  environment.systemPackages = with pkgs; [
    docker-compose
  ];
}