system/docker: init
This commit is contained in:
parent
09aceb18f4
commit
12a1843587
3 changed files with 15 additions and 0 deletions
|
|
@ -17,6 +17,7 @@
|
|||
bluetooth
|
||||
ccache
|
||||
corectrl
|
||||
docker
|
||||
flatpak
|
||||
greetd
|
||||
gui
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ in {
|
|||
./system/bluetooth.nix
|
||||
./system/ccache.nix
|
||||
./system/corectrl.nix
|
||||
./system/docker.nix
|
||||
./system/flatpak.nix
|
||||
./system/greetd.nix
|
||||
./system/gui.nix
|
||||
|
|
|
|||
13
modules/system/docker.nix
Normal file
13
modules/system/docker.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ pkgs, ... }: {
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
storageDriver = "btrfs";
|
||||
rootless = {
|
||||
enable = true;
|
||||
setSocketVariable = true;
|
||||
};
|
||||
};
|
||||
environment.systemPackages = [
|
||||
pkgs.docker-compose
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue