Ranni
This commit is contained in:
28
flake.nix
28
flake.nix
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user