Clean up nix flake check
This commit is contained in:
@@ -68,6 +68,9 @@
|
|||||||
unstable = self.nixosConfigurations.jude.config.system.build.toplevel;
|
unstable = self.nixosConfigurations.jude.config.system.build.toplevel;
|
||||||
stable = self.nixosConfigurations.linode.config.system.build.toplevel;
|
stable = self.nixosConfigurations.linode.config.system.build.toplevel;
|
||||||
};
|
};
|
||||||
|
aarch64-linux = {
|
||||||
|
unstable = self.nixosConfigurations.nixos.config.system.build.toplevel;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nixosConfigurations = (import ./hosts { inherit inputs overlays; });
|
nixosConfigurations = (import ./hosts { inherit inputs overlays; });
|
||||||
@@ -97,7 +100,6 @@
|
|||||||
|
|
||||||
overlays = {
|
overlays = {
|
||||||
default = local_overlay;
|
default = local_overlay;
|
||||||
all = overlays;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
modules = import ./modules;
|
modules = import ./modules;
|
||||||
|
|||||||
+1
-1
@@ -18,7 +18,7 @@ let
|
|||||||
};
|
};
|
||||||
in channel.lib.nixosSystem {
|
in channel.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
specialArgs = { inherit nixpkgs inputs; };
|
specialArgs = { inherit nixpkgs inputs overlays; };
|
||||||
modules = [
|
modules = [
|
||||||
{
|
{
|
||||||
nixpkgs.overlays = overlays;
|
nixpkgs.overlays = overlays;
|
||||||
|
|||||||
@@ -8,8 +8,8 @@
|
|||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
|
|
||||||
# Configure keymap in X11
|
# Configure keymap in X11
|
||||||
services.xserver = {
|
services.xserver.xkb = {
|
||||||
layout = "us";
|
layout = "us";
|
||||||
xkbVariant = "";
|
variant = "";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -183,9 +183,9 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
# Configure keymap in X11
|
# Configure keymap in X11
|
||||||
xserver = {
|
xserver.xkb = {
|
||||||
layout = "us";
|
layout = "us";
|
||||||
xkbVariant = "";
|
variant = "";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ inputs, name, extra ? {}, packages ? [] }:
|
{ inputs, name, extra ? {}, packages ? [], overlays }:
|
||||||
|
|
||||||
({ config, pkgs, lib, ... }:
|
({ config, pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
@@ -15,7 +15,7 @@ lib.attrsets.recursiveUpdate {
|
|||||||
inputs.self.modules.nixosModule
|
inputs.self.modules.nixosModule
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.overlays = inputs.self.overlays.all;
|
nixpkgs.overlays = overlays;
|
||||||
|
|
||||||
age = {
|
age = {
|
||||||
identityPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
identityPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||||
|
|||||||
@@ -66,6 +66,9 @@
|
|||||||
configurationLimit = 10;
|
configurationLimit = 10;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
binfmt.emulatedSystems = [
|
||||||
|
"aarch64-linux"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, lib, inputs, ... }:
|
{ config, pkgs, lib, inputs, overlays, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
@@ -88,7 +88,7 @@ in {
|
|||||||
hostAddress = "192.168.201.1";
|
hostAddress = "192.168.201.1";
|
||||||
localAddress = "192.168.201.2";
|
localAddress = "192.168.201.2";
|
||||||
config = ((import ./container-runner.nix) {
|
config = ((import ./container-runner.nix) {
|
||||||
inherit inputs;
|
inherit inputs overlays;
|
||||||
name = "qemu";
|
name = "qemu";
|
||||||
packages = with pkgs; [ qemu_full qemu_kvm ];
|
packages = with pkgs; [ qemu_full qemu_kvm ];
|
||||||
extra = {
|
extra = {
|
||||||
@@ -122,7 +122,7 @@ in {
|
|||||||
hostAddress = "192.168.202.1";
|
hostAddress = "192.168.202.1";
|
||||||
localAddress = "192.168.202.2";
|
localAddress = "192.168.202.2";
|
||||||
config = ((import ./container-runner.nix) {
|
config = ((import ./container-runner.nix) {
|
||||||
inherit inputs;
|
inherit inputs overlays;
|
||||||
name = "vbox";
|
name = "vbox";
|
||||||
extra = {
|
extra = {
|
||||||
systemd.services.gitlab-runner.serviceConfig = {
|
systemd.services.gitlab-runner.serviceConfig = {
|
||||||
@@ -148,7 +148,7 @@ in {
|
|||||||
hostAddress = "192.168.203.1";
|
hostAddress = "192.168.203.1";
|
||||||
localAddress = "192.168.203.2";
|
localAddress = "192.168.203.2";
|
||||||
config = ((import ./container-runner.nix) {
|
config = ((import ./container-runner.nix) {
|
||||||
inherit inputs;
|
inherit inputs overlays;
|
||||||
name = "shell";
|
name = "shell";
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, lib, inputs, ... }:
|
{ config, lib, inputs, overlays, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
cfg = config.greg.containers;
|
cfg = config.greg.containers;
|
||||||
@@ -23,7 +23,7 @@ let
|
|||||||
container.builder
|
container.builder
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.overlays = inputs.self.overlays.all;
|
nixpkgs.overlays = overlays;
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
firewall.enable = true;
|
firewall.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user