Clean up nix flake check
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ inputs, name, extra ? {}, packages ? [] }:
|
||||
{ inputs, name, extra ? {}, packages ? [], overlays }:
|
||||
|
||||
({ config, pkgs, lib, ... }:
|
||||
let
|
||||
@@ -15,7 +15,7 @@ lib.attrsets.recursiveUpdate {
|
||||
inputs.self.modules.nixosModule
|
||||
];
|
||||
|
||||
nixpkgs.overlays = inputs.self.overlays.all;
|
||||
nixpkgs.overlays = overlays;
|
||||
|
||||
age = {
|
||||
identityPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
|
||||
@@ -66,6 +66,9 @@
|
||||
configurationLimit = 10;
|
||||
};
|
||||
};
|
||||
binfmt.emulatedSystems = [
|
||||
"aarch64-linux"
|
||||
];
|
||||
};
|
||||
nixpkgs.config = {
|
||||
allowUnfree = true;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, lib, inputs, ... }:
|
||||
{ config, pkgs, lib, inputs, overlays, ... }:
|
||||
|
||||
let
|
||||
|
||||
@@ -88,7 +88,7 @@ in {
|
||||
hostAddress = "192.168.201.1";
|
||||
localAddress = "192.168.201.2";
|
||||
config = ((import ./container-runner.nix) {
|
||||
inherit inputs;
|
||||
inherit inputs overlays;
|
||||
name = "qemu";
|
||||
packages = with pkgs; [ qemu_full qemu_kvm ];
|
||||
extra = {
|
||||
@@ -122,7 +122,7 @@ in {
|
||||
hostAddress = "192.168.202.1";
|
||||
localAddress = "192.168.202.2";
|
||||
config = ((import ./container-runner.nix) {
|
||||
inherit inputs;
|
||||
inherit inputs overlays;
|
||||
name = "vbox";
|
||||
extra = {
|
||||
systemd.services.gitlab-runner.serviceConfig = {
|
||||
@@ -148,7 +148,7 @@ in {
|
||||
hostAddress = "192.168.203.1";
|
||||
localAddress = "192.168.203.2";
|
||||
config = ((import ./container-runner.nix) {
|
||||
inherit inputs;
|
||||
inherit inputs overlays;
|
||||
name = "shell";
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user