This commit is contained in:
2025-05-10 00:34:47 +01:00
parent 03011c7617
commit 0252a728d9
6 changed files with 354 additions and 3 deletions

View File

@@ -4,6 +4,8 @@
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.11";
agenix.url = "github:ryantm/agenix";
agenix.inputs.nixpkgs.follows = "nixpkgs";
@@ -30,6 +32,7 @@
outputs = {
nixpkgs,
nixpkgs-stable,
agenix,
devenv,
golink,
@@ -80,10 +83,19 @@
hostSystem = {
hostname,
headless,
np,
}:
lib.nixosSystem {
np.lib.nixosSystem {
inherit system;
inherit pkgs;
pkgs = import np {
inherit system;
config.allowUnfree = true;
overlays = overlays;
config.permittedInsecurePackages = [
"electron-25.9.0"
"jujutsu-0.23.0"
];
};
modules = [
{nixpkgs.overlays = overlays;}
@@ -112,30 +124,42 @@
dingbox = hostSystem {
hostname = "dingbox";
headless = false;
np = nixpkgs;
};
elderbug = hostSystem {
hostname = "elderbug";
headless = false;
np = nixpkgs;
};
miniding = hostSystem {
hostname = "miniding";
headless = false;
np = nixpkgs;
};
pingbox = hostSystem {
hostname = "pingbox";
headless = false;
np = nixpkgs;
};
dingserver = hostSystem {
hostname = "dingserver";
headless = true;
np = nixpkgs;
};
bigding = hostSystem {
hostname = "bigding";
headless = true;
np = nixpkgs;
};
sidon = hostSystem {
hostname = "sidon";
headless = false;
np = nixpkgs;
};
ranni = hostSystem {
hostname = "ranni";
headless = false;
np = nixpkgs-stable;
};
};
homeConfigurations = {