1
Fork 0

feat: added deno and a few aliases

This commit is contained in:
Matei Adriel 2020-05-29 12:29:33 +03:00
parent f2c8b5812c
commit 625fb1c2f7
6 changed files with 36 additions and 21 deletions

View file

@ -13,9 +13,14 @@
''; '';
initialScript = pkgs.writeText "backend-initScript" '' initialScript = pkgs.writeText "backend-initScript" ''
CREATE ROLE adrielus WITH LOGIN PASSWORD '\' CREATEDB; CREATE ROLE adrielus WITH
LOGIN
SUPERUSER
INHERIT
CREATEDB
CREATEROLE
REPLICATION;
# lunarbox db
CREATE DATABASE lunarbox; CREATE DATABASE lunarbox;
GRANT ALL PRIVILEGES ON DATABASE lunarbox TO adrielus; GRANT ALL PRIVILEGES ON DATABASE lunarbox TO adrielus;
''; '';

View file

@ -1 +1,7 @@
{ ls = "exa -l"; } {
ls = "exa -l";
sl = "sl -e";
# Render git repo using gource
"git render" = "gource -f -s 1 -c 4 --key";
}

View file

@ -7,6 +7,7 @@ in {
with nodePackages; with nodePackages;
with fromNpm; [ with fromNpm; [
node node
deno
node2nix node2nix
pnpm pnpm

View file

@ -20,6 +20,7 @@ in {
# unstable stuff # unstable stuff
brave = unstable.brave; brave = unstable.brave;
vscodium = unstable.vscodium; vscodium = unstable.vscodium;
deno = unstable.deno;
}) })
]; ];

View file

@ -19,5 +19,7 @@
}; };
}; };
services.fractalart.enable = true;
hardware.opengl.enable = true; hardware.opengl.enable = true;
} }

View file

@ -5,10 +5,10 @@
"homepage": "", "homepage": "",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "3b3eebbdfd77c92980a2575b0a7f44415e5c29e8", "rev": "445eb76b526a0aca365018c10e73c22cf3b1ae42",
"sha256": "1wpvchdgr3fn3m4wjywff6d427ykn6hjm6rmbq23fnjapf2vljbx", "sha256": "1jw7g8kd4g5y771z0kxckznlja9gi4msnivhd2fysn510f1h665n",
"type": "tarball", "type": "tarball",
"url": "https://github.com/nix-community/NUR/archive/3b3eebbdfd77c92980a2575b0a7f44415e5c29e8.tar.gz", "url": "https://github.com/nix-community/NUR/archive/445eb76b526a0aca365018c10e73c22cf3b1ae42.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"agnoster": { "agnoster": {
@ -41,10 +41,10 @@
"homepage": "", "homepage": "",
"owner": "xzfc", "owner": "xzfc",
"repo": "cached-nix-shell", "repo": "cached-nix-shell",
"rev": "9bd1649452280c20b4978bc0122208e2c6cd46f0", "rev": "4db8af0c653620e192c59d7d8ed227e4ffd8f54c",
"sha256": "1wn5srs27l3csidlhyavgfc99hxs5nwii6m8dgizkyqkjcrwp85p", "sha256": "1ni671wr2lrvyz6myaz3v4llrjvq4jc1ygw1m7rvnadzyf3va3lw",
"type": "tarball", "type": "tarball",
"url": "https://github.com/xzfc/cached-nix-shell/archive/9bd1649452280c20b4978bc0122208e2c6cd46f0.tar.gz", "url": "https://github.com/xzfc/cached-nix-shell/archive/4db8af0c653620e192c59d7d8ed227e4ffd8f54c.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"easy-purescript-nix": { "easy-purescript-nix": {
@ -53,10 +53,10 @@
"homepage": "", "homepage": "",
"owner": "justinwoo", "owner": "justinwoo",
"repo": "easy-purescript-nix", "repo": "easy-purescript-nix",
"rev": "d4879bfd2b595d7fbd37da1a7bea5d0361975eb3", "rev": "0ba91d9aa9f7421f6bfe4895677159a8a999bf20",
"sha256": "0kzwg3mwziwx378kvbzhayy65abvk1axi12zvf2f92cs53iridwh", "sha256": "1baq7mmd3vjas87f0gzlq83n2l1h3dlqajjqr7fgaazpa9xgzs7q",
"type": "tarball", "type": "tarball",
"url": "https://github.com/justinwoo/easy-purescript-nix/archive/d4879bfd2b595d7fbd37da1a7bea5d0361975eb3.tar.gz", "url": "https://github.com/justinwoo/easy-purescript-nix/archive/0ba91d9aa9f7421f6bfe4895677159a8a999bf20.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"home-manager": { "home-manager": {
@ -65,10 +65,10 @@
"homepage": "https://rycee.gitlab.io/home-manager/", "homepage": "https://rycee.gitlab.io/home-manager/",
"owner": "rycee", "owner": "rycee",
"repo": "home-manager", "repo": "home-manager",
"rev": "a378bccd609c159fa8d421233b9c5eae04f02042", "rev": "96fcf3b017d813fac300ecb821b6db6b7b5d0c40",
"sha256": "1cfh0aj60qriadvn5xvsp24p1xr06g68m3pfvzwahv2bd2cg261r", "sha256": "0m7b8cazlcci3bi1j99cpgq10qp6mjml6v11jlfabh05kpyswqkk",
"type": "tarball", "type": "tarball",
"url": "https://github.com/rycee/home-manager/archive/a378bccd609c159fa8d421233b9c5eae04f02042.tar.gz", "url": "https://github.com/rycee/home-manager/archive/96fcf3b017d813fac300ecb821b6db6b7b5d0c40.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"niv": { "niv": {
@ -89,10 +89,10 @@
"homepage": "https://github.com/NixOS/nixpkgs", "homepage": "https://github.com/NixOS/nixpkgs",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs-channels", "repo": "nixpkgs-channels",
"rev": "5adf2a6c11646898742b0c08f7e94101620ba707", "rev": "e985ffea2d640bb6fe7d5ef7aa968b2b7d107f47",
"sha256": "0wf7pwma2qyfak39b242mcq8z7cdj65sds7hcjxchy0448shapzi", "sha256": "01nmwqixbkvnp9y0rkblwik6g0wk95pr9j3wrh1ar72cif47n06l",
"type": "tarball", "type": "tarball",
"url": "https://github.com/NixOS/nixpkgs-channels/archive/5adf2a6c11646898742b0c08f7e94101620ba707.tar.gz", "url": "https://github.com/NixOS/nixpkgs-channels/archive/e985ffea2d640bb6fe7d5ef7aa968b2b7d107f47.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
@ -101,10 +101,10 @@
"homepage": "https://github.com/NixOS/nixpkgs", "homepage": "https://github.com/NixOS/nixpkgs",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs-channels", "repo": "nixpkgs-channels",
"rev": "683c68232e91f76386db979c461d8fbe2a018782", "rev": "46f975f81e0f71ba0d2b2bb8fe4006a9aa4c6c5c",
"sha256": "1fn7q540bk7nhvf6pnlljgfk51qwh2xpvvz30a1d4sd0l7z64mvc", "sha256": "11f8jli3lhc4hzfy7fjwpks3f3p2vpnkz8lrkcsr4aglrd0n3mjv",
"type": "tarball", "type": "tarball",
"url": "https://github.com/nixos/nixpkgs-channels/archive/683c68232e91f76386db979c461d8fbe2a018782.tar.gz", "url": "https://github.com/nixos/nixpkgs-channels/archive/46f975f81e0f71ba0d2b2bb8fe4006a9aa4c6c5c.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"snack": { "snack": {