ci: fix purity (#42)
This commit is contained in:
parent
5eee3864f3
commit
427602a3c2
3 changed files with 3 additions and 5 deletions
2
.github/workflows/nix.yml
vendored
2
.github/workflows/nix.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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; });
|
||||
})
|
||||
];
|
||||
|
||||
|
|
|
@ -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" ];
|
||||
|
|
Loading…
Add table
Reference in a new issue