mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2024-12-22 16:09:50 +01:00
Disable VBox extension pack and remove locked input
This commit is contained in:
parent
3b6dd1f5f8
commit
985f36d555
2 changed files with 0 additions and 22 deletions
21
flake.nix
21
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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue