ci: fix purity ()

This commit is contained in:
Jonas Chevalier 2020-11-25 18:34:51 +00:00 committed by GitHub
parent 5eee3864f3
commit 427602a3c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 5 deletions

View file

@ -7,8 +7,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v12
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v8
with:
name: nix-community

View file

@ -20,7 +20,7 @@ in {
nixpkgs.overlays = [
(self: super: {
queued-build-hook = (import sources.queued-build-hook {});
queued-build-hook = (import sources.queued-build-hook { pkgs = super; });
})
];

View file

@ -1,10 +1,10 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, ... }:
{ config, lib, pkgs, modulesPath, ... }:
{
imports = [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> ];
imports = [ "${modulesPath}/installer/scan/not-detected.nix" ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "sd_mod" ];
boot.kernelModules = [ "kvm-amd" ];