From d461c60390b5bc8a2f13ee10c0260023c9bcad92 Mon Sep 17 00:00:00 2001 From: milahu Date: Thu, 8 Sep 2022 20:36:30 +0200 Subject: [PATCH] flake.nix: add dwarffs --- flake.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 8108b71..e7d488c 100644 --- a/flake.nix +++ b/flake.nix @@ -2,13 +2,17 @@ inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; #inputs.nixpkgs.url = "path:/home/jon/projects/nixpkgs"; inputs.hydra.url = "github:NixOS/hydra"; + inputs.dwarffs.url = "github:edolstra/dwarffs"; - outputs = { self, nixpkgs, hydra }: { + outputs = { self, nixpkgs, hydra, dwarffs }: { nixosConfigurations.server = nixpkgs.lib.nixosSystem rec { system = "x86_64-linux"; modules = [ ./configuration.nix + # https://github.com/edolstra/dwarffs + # auto-fetch debug info files for gdb + dwarffs.nixosModules.dwarffs ]; specialArgs = { inherit (hydra.packages.${system}) hydra;