Enable nixseparatedebuginfod module

The module is only enabled on Hut and Eudy because we noticed activity
on the debuginfod service even if no debug session was active.

Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
This commit is contained in:
Aleix Roca Nonell 2023-12-01 19:57:04 +01:00 committed by Rodrigo Arias Mallo
parent 82f5d828c2
commit a92432cf5a
5 changed files with 72 additions and 1 deletions

View File

@ -64,6 +64,24 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1685518550,
"narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -101,11 +119,48 @@
"type": "github" "type": "github"
} }
}, },
"nixseparatedebuginfod": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1699185600,
"narHash": "sha256-jxU+5plCvsOJYEdLQTi7sKOOAnndin2sslYOF0Ys66g=",
"owner": "symphorien",
"repo": "nixseparatedebuginfod",
"rev": "232591f5274501b76dbcd83076a57760237fcd64",
"type": "github"
},
"original": {
"owner": "symphorien",
"repo": "nixseparatedebuginfod",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"agenix": "agenix", "agenix": "agenix",
"bscpkgs": "bscpkgs", "bscpkgs": "bscpkgs",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs",
"nixseparatedebuginfod": "nixseparatedebuginfod"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
} }
} }
}, },

View File

@ -5,6 +5,8 @@
agenix.inputs.nixpkgs.follows = "nixpkgs"; agenix.inputs.nixpkgs.follows = "nixpkgs";
bscpkgs.url = "git+https://git.sr.ht/~rodarima/bscpkgs"; bscpkgs.url = "git+https://git.sr.ht/~rodarima/bscpkgs";
bscpkgs.inputs.nixpkgs.follows = "nixpkgs"; bscpkgs.inputs.nixpkgs.follows = "nixpkgs";
nixseparatedebuginfod.url = "github:symphorien/nixseparatedebuginfod";
nixseparatedebuginfod.inputs.nixpkgs.follows = "nixpkgs";
}; };
outputs = { self, nixpkgs, agenix, bscpkgs, ... }: outputs = { self, nixpkgs, agenix, bscpkgs, ... }:

View File

@ -10,6 +10,7 @@
./fs.nix ./fs.nix
./users.nix ./users.nix
./slurm.nix ./slurm.nix
../module/debuginfod.nix
]; ];
# Select this using the ID to avoid mismatches # Select this using the ID to avoid mismatches

View File

@ -5,6 +5,7 @@
../common/main.nix ../common/main.nix
../module/ceph.nix ../module/ceph.nix
../module/debuginfod.nix
./gitlab-runner.nix ./gitlab-runner.nix
./monitoring.nix ./monitoring.nix
./nfs.nix ./nfs.nix

12
m/module/debuginfod.nix Normal file
View File

@ -0,0 +1,12 @@
{ theFlake, ... }:
let
nixseparatedebuginfod = theFlake.inputs.nixseparatedebuginfod;
in
{
imports = [
nixseparatedebuginfod.nixosModules.default
];
services.nixseparatedebuginfod.enable = true;
}