add servicepoint tools
This commit is contained in:
parent
8394652443
commit
24a3148044
101
flake.lock
101
flake.lock
|
@ -89,6 +89,26 @@
|
||||||
"url": "https://git.lix.systems/lix-project/nixos-module/archive/2.92.0-3.tar.gz"
|
"url": "https://git.lix.systems/lix-project/nixos-module/archive/2.92.0-3.tar.gz"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"naersk": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1745925850,
|
||||||
|
"narHash": "sha256-cyAAMal0aPrlb1NgzMxZqeN1mAJ2pJseDhm2m6Um8T0=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "naersk",
|
||||||
|
"rev": "38bc60bbc157ae266d4a0c96671c6c742ee17a5f",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "naersk",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"niri": {
|
"niri": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"niri-stable": "niri-stable",
|
"niri-stable": "niri-stable",
|
||||||
|
@ -149,6 +169,36 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nix-filter": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1731533336,
|
||||||
|
"narHash": "sha256-oRam5PS1vcrr5UPgALW0eo1m/5/pls27Z/pabHNy2Ms=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "nix-filter",
|
||||||
|
"rev": "f7653272fd234696ae94229839a99b73c9ab7de0",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "nix-filter",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nix-filter_2": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1731533336,
|
||||||
|
"narHash": "sha256-oRam5PS1vcrr5UPgALW0eo1m/5/pls27Z/pabHNy2Ms=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "nix-filter",
|
||||||
|
"rev": "f7653272fd234696ae94229839a99b73c9ab7de0",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "nix-filter",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1746055187,
|
"lastModified": 1746055187,
|
||||||
|
@ -185,12 +235,63 @@
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"lix-module": "lix-module",
|
"lix-module": "lix-module",
|
||||||
|
"naersk": "naersk",
|
||||||
"niri": "niri",
|
"niri": "niri",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
|
"servicepoint-cli": "servicepoint-cli",
|
||||||
|
"servicepoint-simulator": "servicepoint-simulator",
|
||||||
"zerforschen-plus": "zerforschen-plus"
|
"zerforschen-plus": "zerforschen-plus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"servicepoint-cli": {
|
||||||
|
"inputs": {
|
||||||
|
"naersk": [
|
||||||
|
"naersk"
|
||||||
|
],
|
||||||
|
"nix-filter": "nix-filter",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1746866001,
|
||||||
|
"narHash": "sha256-6jqzJyBRXdwmd5SKIJTfbJ5pRVNshVNPzCtFqobRgTE=",
|
||||||
|
"ref": "refs/heads/main",
|
||||||
|
"rev": "e9d3b32f57674e06db1ebf0762bfd736e1f5ea31",
|
||||||
|
"revCount": 41,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.berlin.ccc.de/servicepoint/servicepoint-cli.git"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.berlin.ccc.de/servicepoint/servicepoint-cli.git"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"servicepoint-simulator": {
|
||||||
|
"inputs": {
|
||||||
|
"naersk": [
|
||||||
|
"naersk"
|
||||||
|
],
|
||||||
|
"nix-filter": "nix-filter_2",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1746268672,
|
||||||
|
"narHash": "sha256-IIgxxA5Fk1iLwXiCGbCLrVdduTDAA54DJ2gnfvCOMLQ=",
|
||||||
|
"ref": "refs/heads/main",
|
||||||
|
"rev": "33301a51bf501a6886ec2e1c6ad8111247141d2f",
|
||||||
|
"revCount": 108,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.berlin.ccc.de/servicepoint/servicepoint-simulator.git"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.berlin.ccc.de/servicepoint/servicepoint-simulator.git"
|
||||||
|
}
|
||||||
|
},
|
||||||
"systems": {
|
"systems": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681028828,
|
"lastModified": 1681028828,
|
||||||
|
|
49
flake.nix
49
flake.nix
|
@ -24,6 +24,23 @@
|
||||||
url = "git+https://git.berlin.ccc.de/vinzenz/zerforschen.plus";
|
url = "git+https://git.berlin.ccc.de/vinzenz/zerforschen.plus";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
naersk = {
|
||||||
|
url = "github:nix-community/naersk";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
|
servicepoint-cli = {
|
||||||
|
url = "git+https://git.berlin.ccc.de/servicepoint/servicepoint-cli.git";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
inputs.naersk.follows = "naersk";
|
||||||
|
};
|
||||||
|
|
||||||
|
servicepoint-simulator = {
|
||||||
|
url = "git+https://git.berlin.ccc.de/servicepoint/servicepoint-simulator.git";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
inputs.naersk.follows = "naersk";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
|
@ -35,6 +52,9 @@
|
||||||
niri,
|
niri,
|
||||||
zerforschen-plus,
|
zerforschen-plus,
|
||||||
nixpkgs-unstable,
|
nixpkgs-unstable,
|
||||||
|
servicepoint-cli,
|
||||||
|
servicepoint-simulator,
|
||||||
|
naersk,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
devices = {
|
devices = {
|
||||||
|
@ -54,11 +74,12 @@
|
||||||
rec {
|
rec {
|
||||||
nixosConfigurations = forDevice (
|
nixosConfigurations = forDevice (
|
||||||
device: system:
|
device: system:
|
||||||
let specialArgs = {
|
let
|
||||||
inherit inputs device;
|
specialArgs = {
|
||||||
pkgs-unstable = nixpkgs-unstable.legacyPackages."${system}";
|
inherit inputs device;
|
||||||
};
|
};
|
||||||
in nixpkgs.lib.nixosSystem {
|
in
|
||||||
|
nixpkgs.lib.nixosSystem {
|
||||||
inherit system specialArgs;
|
inherit system specialArgs;
|
||||||
modules =
|
modules =
|
||||||
[
|
[
|
||||||
|
@ -74,7 +95,11 @@
|
||||||
./hosts/${device}/imports.nix
|
./hosts/${device}/imports.nix
|
||||||
./hosts/${device}/configuration.nix
|
./hosts/${device}/configuration.nix
|
||||||
|
|
||||||
{ nixpkgs.overlays = [ overlays.unstable-packages ]; }
|
{
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
overlays.unstable-packages
|
||||||
|
];
|
||||||
|
}
|
||||||
]
|
]
|
||||||
++ (nixpkgs.lib.optionals (builtins.elem device homeDevices) [
|
++ (nixpkgs.lib.optionals (builtins.elem device homeDevices) [
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
|
@ -84,7 +109,12 @@
|
||||||
./modules/i18n.nix
|
./modules/i18n.nix
|
||||||
|
|
||||||
niri.nixosModules.niri
|
niri.nixosModules.niri
|
||||||
{ nixpkgs.overlays = [ niri.overlays.niri ]; }
|
{
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
niri.overlays.niri
|
||||||
|
overlays.servicepoint-packages
|
||||||
|
];
|
||||||
|
}
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
@ -96,6 +126,11 @@
|
||||||
config = prev.config;
|
config = prev.config;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
servicepoint-packages = final: prev: {
|
||||||
|
servicepoint-cli = servicepoint-cli.legacyPackages."${prev.system}".servicepoint-cli;
|
||||||
|
servicepoint-simulator =
|
||||||
|
servicepoint-simulator.legacyPackages."${prev.system}".servicepoint-simulator;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
formatter = {
|
formatter = {
|
||||||
|
|
|
@ -51,6 +51,9 @@
|
||||||
kikit
|
kikit
|
||||||
|
|
||||||
unstable.ut1999
|
unstable.ut1999
|
||||||
|
|
||||||
|
servicepoint-cli
|
||||||
|
servicepoint-simulator
|
||||||
];
|
];
|
||||||
|
|
||||||
home.file."policy.json" = {
|
home.file."policy.json" = {
|
||||||
|
|
Loading…
Reference in a new issue