Apps, refactor, clean up, remove librewolf
Refactors to use app.nix for easier extension. Removes librewolf from host, as it makes more sense on the user every time.
This commit is contained in:
parent
1f59950af8
commit
db7f132f6e
10 changed files with 27 additions and 80 deletions
|
|
@ -1,15 +0,0 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
options.virtualbox = {
|
||||
enable = lib.mkEnableOption "Enables virtualbox";
|
||||
extra-users = lib.mkOption { default = []; };
|
||||
};
|
||||
|
||||
config = lib.mkIf config.virtualbox.enable {
|
||||
virtualisation.virtualbox.host.enable = true;
|
||||
users.extraGroups.vboxusers.members = [
|
||||
config.user.name
|
||||
] ++ config.virtualbox.extra-users;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue