dotfiles/os/dev/default.nix

18 lines
423 B
Nix
Raw Normal View History

{ pkgs, lib, config, ... }:
{
2024-10-01 15:17:11 +02:00
config = lib.mkMerge [
(lib.mkIf config.frogeye.dev.docker {
virtualisation.docker.enable = true;
users.users.geoffrey.extraGroups = [ "docker" ];
})
(lib.mkIf config.frogeye.dev.vm {
virtualisation = {
libvirtd.enable = true;
spiceUSBRedirection.enable = true;
};
users.extraGroups.libvirtd.members = [ "geoffrey" ];
})
];
}