Harald Hoyer
86e5539c2f
In systems/x86_64-linux/x1/default.nix, 'docker' has been added to user.extraGroups. This allows the current user to manage Docker without needing root access.
31 lines
554 B
Nix
31 lines
554 B
Nix
{ pkgs, lib, ... }:
|
|
with lib;
|
|
with lib.metacfg;
|
|
{
|
|
imports = [ ./hardware-configuration.nix ];
|
|
|
|
metacfg = {
|
|
base.enable = true;
|
|
gui.enable = true;
|
|
nix-ld.enable = true;
|
|
nix.enable = true;
|
|
podman.enable = true;
|
|
secureboot.enable = true;
|
|
user.extraGroups = [ "docker" ];
|
|
};
|
|
|
|
virtualisation = {
|
|
docker.enable = true;
|
|
libvirtd.enable = true;
|
|
podman.dockerCompat = false;
|
|
};
|
|
|
|
system.autoUpgrade = {
|
|
enable = true;
|
|
operation = "boot";
|
|
allowReboot = false;
|
|
};
|
|
|
|
system.stateVersion = "23.11";
|
|
}
|