mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-11 17:36:07 +08:00
run treefmt
This commit is contained in:
parent
53f9a16a5a
commit
958d729a16
2 changed files with 16 additions and 15 deletions
|
|
@ -1,12 +1,12 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
(self: super:
|
||||
let
|
||||
justFuckingBuild = drv: with pkgs.haskell.lib; dontHaddock (dontCheck drv);
|
||||
in
|
||||
{
|
||||
xmonad = justFuckingBuild (self.callHackage "xmonad" "0.17.0" { });
|
||||
xmonad-contrib = justFuckingBuild (self.callHackage "xmonad-contrib" "0.17.0" { });
|
||||
xmonad-extras = justFuckingBuild (self.callHackage "xmonad-extras" "0.17.0" { });
|
||||
}
|
||||
let
|
||||
justFuckingBuild = drv: with pkgs.haskell.lib; dontHaddock (dontCheck drv);
|
||||
in
|
||||
{
|
||||
xmonad = justFuckingBuild (self.callHackage "xmonad" "0.17.0" { });
|
||||
xmonad-contrib = justFuckingBuild (self.callHackage "xmonad-contrib" "0.17.0" { });
|
||||
xmonad-extras = justFuckingBuild (self.callHackage "xmonad-extras" "0.17.0" { });
|
||||
}
|
||||
)
|
||||
|
|
|
|||
|
|
@ -31,13 +31,14 @@ in
|
|||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart =
|
||||
let pgrstConf = pkgs.writeText "pgrst.conf" ''
|
||||
db-uri = "postgres://postgres@localhost/postgres"
|
||||
db-schema = "chronicle"
|
||||
# TODO: change when going production
|
||||
db-anon-role = "postgres"
|
||||
server-port = 7000
|
||||
'';
|
||||
let
|
||||
pgrstConf = pkgs.writeText "pgrst.conf" ''
|
||||
db-uri = "postgres://postgres@localhost/postgres"
|
||||
db-schema = "chronicle"
|
||||
# TODO: change when going production
|
||||
db-anon-role = "postgres"
|
||||
server-port = 7000
|
||||
'';
|
||||
in
|
||||
"${postgrest}/bin/postgrest ${pgrstConf}";
|
||||
Restart = "always";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue