system/docker: init

This commit is contained in:
Cilly Leang 2026-03-08 18:12:28 +11:00
parent 09aceb18f4
commit 12a1843587
Signed by: cilly
GPG key ID: 6500251E087653C9
3 changed files with 15 additions and 0 deletions

View file

@ -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
View file

@ -0,0 +1,13 @@
{ pkgs, ... }: {
virtualisation.docker = {
enable = true;
storageDriver = "btrfs";
rootless = {
enable = true;
setSocketVariable = true;
};
};
environment.systemPackages = [
pkgs.docker-compose
];
}