├── .gitattributes ├── .gitignore ├── Makefile ├── README.md ├── db ├── create_or_update_db.sh ├── create_or_update_roles.sh └── migrations │ ├── 000.sql │ ├── 001.sql │ └── 002.sql ├── default.nix ├── hs-pkgs ├── README.md ├── nixtodo-api-client │ ├── Setup.hs │ ├── cabal.config │ ├── nixtodo-api-client.cabal │ ├── shell.nix │ └── src │ │ └── Nixtodo │ │ └── Api │ │ └── Client.hs ├── nixtodo-api │ ├── Setup.hs │ ├── nixtodo-api.cabal │ ├── shell.nix │ └── src │ │ └── Nixtodo │ │ └── Api.hs ├── nixtodo-backend │ ├── Setup.hs │ ├── nixtodo-backend.cabal │ ├── shell.nix │ └── src │ │ ├── Nixtodo │ │ └── Backend │ │ │ ├── Db.hs │ │ │ ├── Db │ │ │ └── Types.hs │ │ │ ├── IndexTemplater.hs │ │ │ └── WebServer.hs │ │ └── nixtodo-backend.hs └── nixtodo-frontend │ ├── Setup.hs │ ├── cabal.config │ ├── index.html.mustache │ ├── nixtodo-frontend.cabal │ ├── override.nix │ ├── shell.nix │ ├── src │ ├── Servant │ │ └── Client │ │ │ └── Ghcjs │ │ │ └── Extended.hs │ └── nixtodo-frontend.hs │ └── static │ ├── default.css │ ├── favicon.ico │ ├── haskell.png │ ├── nix.png │ └── style.css ├── jobset.nix ├── modules ├── README.md ├── backend │ ├── README.md │ ├── db.nix │ ├── default.nix │ └── server.nix ├── base.nix ├── cache.nixtodo.com-public-key ├── default.nix ├── github.com-rsa_key.pub ├── hydra.nix ├── nixtodo-net │ ├── README.md │ ├── aws.nix │ ├── containerized.nix │ └── default.nix └── users │ ├── bas │ └── .ssh │ │ └── id_rsa.pub │ └── peti │ └── .ssh │ └── id_rsa.pub ├── nix ├── README.md ├── haskell-overrides.nix ├── haskell │ ├── servant-client-core │ │ └── default.nix │ ├── servant-client-ghcjs │ │ └── default.nix │ ├── servant-client │ │ └── default.nix │ ├── servant-server │ │ └── default.nix │ ├── servant-swagger │ │ └── default.nix │ └── servant │ │ └── default.nix └── overlay.nix ├── nixpkgs.nix ├── release.nix ├── secrets ├── README.md ├── cache.nixtodo.com-secret-key ├── devops-hydra-password ├── dhparams.pem ├── hydra-github.id_rsa ├── hydra-github.id_rsa.pub ├── postgresql-nixtodo-role-password └── state.nixops └── spec.json /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | result 3 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/README.md -------------------------------------------------------------------------------- /db/create_or_update_db.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/db/create_or_update_db.sh -------------------------------------------------------------------------------- /db/create_or_update_roles.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/db/create_or_update_roles.sh -------------------------------------------------------------------------------- /db/migrations/000.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/db/migrations/000.sql -------------------------------------------------------------------------------- /db/migrations/001.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/db/migrations/001.sql -------------------------------------------------------------------------------- /db/migrations/002.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/db/migrations/002.sql -------------------------------------------------------------------------------- /default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/default.nix -------------------------------------------------------------------------------- /hs-pkgs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/hs-pkgs/README.md -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-api-client/Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-api-client/cabal.config: -------------------------------------------------------------------------------- 1 | compiler: ghcjs -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-api-client/nixtodo-api-client.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/hs-pkgs/nixtodo-api-client/nixtodo-api-client.cabal -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-api-client/shell.nix: -------------------------------------------------------------------------------- 1 | (import ../..).haskell.packages.ghcjsHEAD.nixtodo-api-client.env 2 | -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-api-client/src/Nixtodo/Api/Client.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/hs-pkgs/nixtodo-api-client/src/Nixtodo/Api/Client.hs -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-api/Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-api/nixtodo-api.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/hs-pkgs/nixtodo-api/nixtodo-api.cabal -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-api/shell.nix: -------------------------------------------------------------------------------- 1 | (import ../..).haskellPackages.nixtodo-api.env 2 | -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-api/src/Nixtodo/Api.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/hs-pkgs/nixtodo-api/src/Nixtodo/Api.hs -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-backend/Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-backend/nixtodo-backend.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/hs-pkgs/nixtodo-backend/nixtodo-backend.cabal -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-backend/shell.nix: -------------------------------------------------------------------------------- 1 | (import ../..).haskellPackages.nixtodo-backend.env 2 | -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-backend/src/Nixtodo/Backend/Db.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/hs-pkgs/nixtodo-backend/src/Nixtodo/Backend/Db.hs -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-backend/src/Nixtodo/Backend/Db/Types.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/hs-pkgs/nixtodo-backend/src/Nixtodo/Backend/Db/Types.hs -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-backend/src/Nixtodo/Backend/IndexTemplater.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/hs-pkgs/nixtodo-backend/src/Nixtodo/Backend/IndexTemplater.hs -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-backend/src/Nixtodo/Backend/WebServer.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/hs-pkgs/nixtodo-backend/src/Nixtodo/Backend/WebServer.hs -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-backend/src/nixtodo-backend.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/hs-pkgs/nixtodo-backend/src/nixtodo-backend.hs -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-frontend/Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-frontend/cabal.config: -------------------------------------------------------------------------------- 1 | compiler: ghcjs -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-frontend/index.html.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/hs-pkgs/nixtodo-frontend/index.html.mustache -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-frontend/nixtodo-frontend.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/hs-pkgs/nixtodo-frontend/nixtodo-frontend.cabal -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-frontend/override.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/hs-pkgs/nixtodo-frontend/override.nix -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-frontend/shell.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/hs-pkgs/nixtodo-frontend/shell.nix -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-frontend/src/Servant/Client/Ghcjs/Extended.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/hs-pkgs/nixtodo-frontend/src/Servant/Client/Ghcjs/Extended.hs -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-frontend/src/nixtodo-frontend.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/hs-pkgs/nixtodo-frontend/src/nixtodo-frontend.hs -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-frontend/static/default.css: -------------------------------------------------------------------------------- 1 | .disabled { 2 | opacity: 0.8; 3 | } 4 | -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-frontend/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/hs-pkgs/nixtodo-frontend/static/favicon.ico -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-frontend/static/haskell.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/hs-pkgs/nixtodo-frontend/static/haskell.png -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-frontend/static/nix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/hs-pkgs/nixtodo-frontend/static/nix.png -------------------------------------------------------------------------------- /hs-pkgs/nixtodo-frontend/static/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/hs-pkgs/nixtodo-frontend/static/style.css -------------------------------------------------------------------------------- /jobset.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/jobset.nix -------------------------------------------------------------------------------- /modules/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/modules/README.md -------------------------------------------------------------------------------- /modules/backend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/modules/backend/README.md -------------------------------------------------------------------------------- /modules/backend/db.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/modules/backend/db.nix -------------------------------------------------------------------------------- /modules/backend/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/modules/backend/default.nix -------------------------------------------------------------------------------- /modules/backend/server.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/modules/backend/server.nix -------------------------------------------------------------------------------- /modules/base.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/modules/base.nix -------------------------------------------------------------------------------- /modules/cache.nixtodo.com-public-key: -------------------------------------------------------------------------------- 1 | cache.nixtodo.com-1:MvqEKuqrFuDTTjkyekH+MJZHHEU+NHUTuudmNVgwhgI= -------------------------------------------------------------------------------- /modules/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/modules/default.nix -------------------------------------------------------------------------------- /modules/github.com-rsa_key.pub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/modules/github.com-rsa_key.pub -------------------------------------------------------------------------------- /modules/hydra.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/modules/hydra.nix -------------------------------------------------------------------------------- /modules/nixtodo-net/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/modules/nixtodo-net/README.md -------------------------------------------------------------------------------- /modules/nixtodo-net/aws.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/modules/nixtodo-net/aws.nix -------------------------------------------------------------------------------- /modules/nixtodo-net/containerized.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/modules/nixtodo-net/containerized.nix -------------------------------------------------------------------------------- /modules/nixtodo-net/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/modules/nixtodo-net/default.nix -------------------------------------------------------------------------------- /modules/users/bas/.ssh/id_rsa.pub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/modules/users/bas/.ssh/id_rsa.pub -------------------------------------------------------------------------------- /modules/users/peti/.ssh/id_rsa.pub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/modules/users/peti/.ssh/id_rsa.pub -------------------------------------------------------------------------------- /nix/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/nix/README.md -------------------------------------------------------------------------------- /nix/haskell-overrides.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/nix/haskell-overrides.nix -------------------------------------------------------------------------------- /nix/haskell/servant-client-core/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/nix/haskell/servant-client-core/default.nix -------------------------------------------------------------------------------- /nix/haskell/servant-client-ghcjs/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/nix/haskell/servant-client-ghcjs/default.nix -------------------------------------------------------------------------------- /nix/haskell/servant-client/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/nix/haskell/servant-client/default.nix -------------------------------------------------------------------------------- /nix/haskell/servant-server/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/nix/haskell/servant-server/default.nix -------------------------------------------------------------------------------- /nix/haskell/servant-swagger/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/nix/haskell/servant-swagger/default.nix -------------------------------------------------------------------------------- /nix/haskell/servant/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/nix/haskell/servant/default.nix -------------------------------------------------------------------------------- /nix/overlay.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/nix/overlay.nix -------------------------------------------------------------------------------- /nixpkgs.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/nixpkgs.nix -------------------------------------------------------------------------------- /release.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/release.nix -------------------------------------------------------------------------------- /secrets/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/secrets/README.md -------------------------------------------------------------------------------- /secrets/cache.nixtodo.com-secret-key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/secrets/cache.nixtodo.com-secret-key -------------------------------------------------------------------------------- /secrets/devops-hydra-password: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/secrets/devops-hydra-password -------------------------------------------------------------------------------- /secrets/dhparams.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/secrets/dhparams.pem -------------------------------------------------------------------------------- /secrets/hydra-github.id_rsa: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/secrets/hydra-github.id_rsa -------------------------------------------------------------------------------- /secrets/hydra-github.id_rsa.pub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/secrets/hydra-github.id_rsa.pub -------------------------------------------------------------------------------- /secrets/postgresql-nixtodo-role-password: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/secrets/postgresql-nixtodo-role-password -------------------------------------------------------------------------------- /secrets/state.nixops: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/secrets/state.nixops -------------------------------------------------------------------------------- /spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/basvandijk/nixtodo/HEAD/spec.json --------------------------------------------------------------------------------