File tree Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 485
485
networking . firewall . enable = true ;
486
486
networking . nameservers = [ "8.8.8.8" "8.8.4.4" ] ;
487
487
virtualisation . virtualbox . host . enable = true ;
488
- virtualisation . docker . enable = false ;
488
+ virtualisation . containers . enable = true ;
489
489
virtualisation . podman . enable = true ;
490
- virtualisation . podman . dockerSocket . enable = true ;
490
+ virtualisation . podman . dockerCompat = true ;
491
491
virtualisation . podman . defaultNetwork . settings . dns_enabled = true ;
492
492
users . extraGroups . vboxusers . members = [ config . services . functora . userName ] ;
493
493
networking . extraHosts = blocked-hosts ;
500
500
"wheel"
501
501
"input"
502
502
"uinput"
503
- "docker"
504
503
"podman"
505
504
"plugdev"
506
505
"adbusers"
Original file line number Diff line number Diff line change 91
91
config = mkIf config . services . "${ srv } " . enable {
92
92
virtualisation . oci-containers . containers . ${ srv } = {
93
93
image = img ;
94
+ #
95
+ # TODO : remove after bugfix https://github.com/NixOS/nixpkgs/issues/272480
96
+ #
97
+ extraOptions = [ "--network=host" ] ;
94
98
volumes =
95
99
( map ( x : x + ":" + x + ":ro" ) cfg )
96
100
++ ( map ( x : x + ":" + x ) mnt ) ;
Original file line number Diff line number Diff line change 56
56
password = password ;
57
57
extraGroups = [
58
58
"wheel"
59
- "docker "
59
+ "podman "
60
60
] ;
61
61
} ;
62
62
} ;
@@ -102,7 +102,10 @@ in {
102
102
settings . PermitRootLogin = "no" ;
103
103
} ;
104
104
#
105
- # Docker
105
+ # Containers
106
106
#
107
- virtualisation . docker . enable = true ;
107
+ virtualisation . containers . enable = true ;
108
+ virtualisation . podman . enable = true ;
109
+ virtualisation . podman . dockerCompat = true ;
110
+ virtualisation . podman . defaultNetwork . settings . dns_enabled = true ;
108
111
}
Submodule prv updated from 82e9951 to 1b521f9
You can’t perform that action at this time.
0 commit comments