pkgs: extract lohr from 'services/lohr'

This commit is contained in:
Bruno BELANYI 2021-04-19 17:58:53 +00:00
parent b06f265291
commit e6d46b3c59
3 changed files with 24 additions and 5 deletions

View file

@ -7,11 +7,7 @@ let
domain = config.networking.domain;
lohrDomain = "lohr.${config.networking.domain}";
lohrPkg =
let
flake = builtins.getFlake "github:alarsyo/lohr?rev=6c4a496ede8d7209be13d2bd597eef0789992fc3";
in
flake.defaultPackage."x86_64-linux"; # FIXME: use correct system
lohrPkg = pkgs.ambroisie.lohr;
in
{
options.my.services.lohr = with lib; {