1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 23:00:39 +02:00

feat: add elewrap to elevate telegraf permissions

This commit is contained in:
oddlama 2023-07-05 14:30:42 +02:00
parent a087b1f731
commit 7c3a40cd89
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
4 changed files with 327 additions and 37 deletions

View file

@ -13,6 +13,11 @@
inputs.nixpkgs.follows = "nixpkgs";
};
elewrap = {
url = "github:oddlama/elewrap";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
@ -68,6 +73,7 @@
outputs = {
self,
colmena,
elewrap,
nixpkgs,
microvm,
flake-utils,
@ -129,12 +135,15 @@
}
// flake-utils.lib.eachDefaultSystem (system: rec {
pkgs = import nixpkgs {
localSystem = system;
inherit system;
config.allowUnfree = true;
overlays =
import ./lib inputs
++ import ./pkgs/default.nix
++ [microvm.overlay];
++ [
microvm.overlay
elewrap.overlays.default
];
};
apps =