miku: Replace packageOverrides with an overlay
This commit is contained in:
parent
6cd0324cbf
commit
e3c5c694a6
@ -1,7 +1,6 @@
|
||||
{ config, pkgs, modulesPath, lib, fetchGit, ... }:
|
||||
|
||||
let
|
||||
unstable = (import ../modules/unstable.nix config);
|
||||
customPkgs = import ../packages/overlay.nix;
|
||||
in {
|
||||
imports = [
|
||||
@ -79,15 +78,16 @@ in {
|
||||
propagatedBuildInputs = old.propagatedBuildInputs ++ [ prev.gsound ];
|
||||
});
|
||||
})
|
||||
|
||||
# Unstable, NUR, ...
|
||||
(final: prev: {
|
||||
unstable = (import ../modules/unstable.nix config);
|
||||
nur = (import ../modules/nur.nix pkgs);
|
||||
})
|
||||
|
||||
customPkgs
|
||||
];
|
||||
|
||||
nixpkgs.config.packageOverrides = pkgs: {
|
||||
unstable = unstable;
|
||||
nur = (import ../modules/nur.nix pkgs);
|
||||
};
|
||||
|
||||
security = {
|
||||
pam.loginLimits = [
|
||||
{
|
||||
@ -259,7 +259,7 @@ in {
|
||||
enable = true;
|
||||
qemuOvmf = true;
|
||||
#qemuRunAsRoot = false;
|
||||
qemuPackage = unstable.qemu;
|
||||
qemuPackage = pkgs.unstable.qemu;
|
||||
qemuVerbatimConfig = ''
|
||||
seccomp_sandbox = 0
|
||||
cgroup_device_acl = [
|
||||
|
Loading…
Reference in New Issue
Block a user