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
|
bluetooth
|
||||||
ccache
|
ccache
|
||||||
corectrl
|
corectrl
|
||||||
|
docker
|
||||||
flatpak
|
flatpak
|
||||||
greetd
|
greetd
|
||||||
gui
|
gui
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@ in {
|
||||||
./system/bluetooth.nix
|
./system/bluetooth.nix
|
||||||
./system/ccache.nix
|
./system/ccache.nix
|
||||||
./system/corectrl.nix
|
./system/corectrl.nix
|
||||||
|
./system/docker.nix
|
||||||
./system/flatpak.nix
|
./system/flatpak.nix
|
||||||
./system/greetd.nix
|
./system/greetd.nix
|
||||||
./system/gui.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