diff --git a/flake.nix b/flake.nix index 110994e..853c443 100644 --- a/flake.nix +++ b/flake.nix @@ -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 diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index 6fa9818..f37a966 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -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.