From c7dc0fd50986a353a814cd65360a8ee17c5186a0 Mon Sep 17 00:00:00 2001 From: Fernando Ayats Date: Tue, 17 May 2022 14:03:58 +0200 Subject: [PATCH] nix: misc tweaks to flake --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index 1102d007..506b89bb 100644 --- a/flake.nix +++ b/flake.nix @@ -23,6 +23,7 @@ in { packages = genSystems (system: { wlroots = pkgsFor.${system}.wlroots.overrideAttrs (prev: { + version = inputs.wlroots.lastModifiedDate; src = inputs.wlroots; }); default = pkgsFor.${system}.callPackage ./default.nix { @@ -30,5 +31,8 @@ inherit (self.packages.${system}) wlroots; }; }); + formatter = genSystems (system: pkgsFor.${system}.alejandra); + # TODO Provide a nixos module for easy installation + # nixosModules.default = import ./module.nix; }; }