Move to multi-file nix config
This commit is contained in:
parent
40ae8fa74b
commit
f10c0a019b
8 changed files with 303 additions and 122 deletions
14
.config/nixos/profiles/virtualbox.nix
Normal file
14
.config/nixos/profiles/virtualbox.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
virtualisation.docker.enable = true;
|
||||
virtualisation.docker.storageDriver = "btrfs";
|
||||
|
||||
# Implicitly downloads virtualbox
|
||||
virtualisation.virtualbox.host.enable = true;
|
||||
users.extraGroups.vboxusers.members = [ "user-with-access-to-virtualbox" ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
];
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue