diff --git a/nixos/desktopish/xmonad/xmonad-srid/overlay.nix b/nixos/desktopish/xmonad/xmonad-srid/overlay.nix index 979cd47..945e62e 100644 --- a/nixos/desktopish/xmonad/xmonad-srid/overlay.nix +++ b/nixos/desktopish/xmonad/xmonad-srid/overlay.nix @@ -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" { }); +} ) diff --git a/nixos/postgrest.nix b/nixos/postgrest.nix index 54ca2c6..a7b071f 100644 --- a/nixos/postgrest.nix +++ b/nixos/postgrest.nix @@ -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";