Disable VBox extension pack and remove locked input

This commit is contained in:
Lgmrszd 2024-05-11 01:22:17 +03:00
parent 3b6dd1f5f8
commit 985f36d555
No known key found for this signature in database
GPG key ID: 9396B8BA6FBB14DE
2 changed files with 0 additions and 22 deletions

View file

@ -8,9 +8,7 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
# separate inputs to lock some packages
# locked - stuff to be updated very unfrequently
# fresh - mostly desktop apps
nixpkgs-locked.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-fresh.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-23.11";
# nix-index-database.url = "github:nix-community/nix-index-database";
@ -31,7 +29,6 @@
outputs = inputs@{
nixpkgs,
nixpkgs-locked,
nixpkgs-fresh,
nixpkgs-stable,
# nix-index-database,
@ -42,17 +39,6 @@
}:
let
system = "x86_64-linux";
overlay-locked = final: prev:
let
locked = import nixpkgs-locked {
inherit system;
config.allowUnfree = true;
};
in
{
inherit locked;
virtualbox = locked.virtualbox;
};
overlay-fresh = final: prev: {
fresh = import nixpkgs-fresh {
inherit system;
@ -73,7 +59,6 @@
# glfw = final.stable.glfw;
# };
my-overlays = [
overlay-locked
overlay-fresh
overlay-stable
overlay-vaapiIntel
@ -88,12 +73,6 @@
};
modules = [
({ config, pkgs, ... }: { nixpkgs.overlays = my-overlays; })
{
disabledModules = [ "virtualisation/virtualbox-host.nix" ];
imports = [
(nixpkgs-locked + "/nixos/modules/virtualisation/virtualbox-host.nix")
];
}
# nur.nixosModules.nur
# inputs.nh.nixosModules.default
./hosts/laptop/configuration.nix

View file

@ -166,7 +166,6 @@ in
virtualisation.waydroid.enable = true;
virtualisation.virtualbox.host.enable = true;
virtualisation.virtualbox.host.package = pkgs.virtualbox;
virtualisation.virtualbox.host.enableExtensionPack = true;
users.extraGroups.vboxusers.members = [ "lgm" ];
networking.hostName = "lgm-nixos"; # Define your hostname.