1
Fork 0

random update

This commit is contained in:
Matei Adriel 2022-05-26 19:33:38 +03:00
parent 5af4690950
commit a1f39da01d
9 changed files with 47 additions and 23 deletions

View file

@ -10,8 +10,10 @@ function M.setup()
sync_install = false, sync_install = false,
indent = {enable = true}, indent = {enable = true},
highlight = { highlight = {
enable = true, enable = false,
disable = {"lua"}, -- WHY TF DOES THIS NOT WORK disable = {
"lua", "json", "yaml", "bash", "scss", "html", "javascript"
}, -- WHY TF
-- Setting this to true will run `:h syntax` and tree-sitter at the same time. -- Setting this to true will run `:h syntax` and tree-sitter at the same time.
-- Set this to `true` if you depend on 'syntax' being enabled (like for indentation). -- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).

View file

@ -517,11 +517,11 @@
}, },
"locked": { "locked": {
"dir": "contrib", "dir": "contrib",
"lastModified": 1652254318, "lastModified": 1653533365,
"narHash": "sha256-4LF4p4GuDJTVO2mqCAAZVwVI6tW8nSsoR8czPcoUU3M=", "narHash": "sha256-tPFBnXXBf2fxHtk5e9//7BL6LbxthtYkgznjNMrx9Ls=",
"owner": "neovim", "owner": "neovim",
"repo": "neovim", "repo": "neovim",
"rev": "3a5abcd649f3637e3292dd595dd197e85d1a2272", "rev": "7b952793d5c46e862a9cdec3d6ac4762370296ed",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -540,11 +540,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1652257362, "lastModified": 1653553105,
"narHash": "sha256-qtESMLoS2B+dVDlJpCIDZHQYM8BfGk7o9VivDf8w81I=", "narHash": "sha256-jyWSZMHmaGUmHq3Susugsf6a1/ejR9aaUaZHJ+qoOcs=",
"owner": "nix-community", "owner": "nix-community",
"repo": "neovim-nightly-overlay", "repo": "neovim-nightly-overlay",
"rev": "5ab33071cc20422d0108c7e86d50cd8543e8475d", "rev": "548165a9d107cb9d4ac84ede0ec6ff5dc815a447",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -555,11 +555,11 @@
}, },
"nixos-unstable": { "nixos-unstable": {
"locked": { "locked": {
"lastModified": 1652172129, "lastModified": 1653407748,
"narHash": "sha256-8e2JMrswaKe02P8rYfvIMoc59pNuw6h/GYu8DBE1c+0=", "narHash": "sha256-g9puJaILRTb9ttlLQ7IehpV7Wcy0n+vs8LOFu6ylQcM=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f419dc5763c2b3c5580e396dea065b6d8b58ee27", "rev": "5ce6597eca7d7b518c03ecda57d45f9404b5e060",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -571,11 +571,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1652278321, "lastModified": 1653565689,
"narHash": "sha256-dvm5y9LkOtMeddK9eKzhhSK9d01yipfXISvQtGLBpU0=", "narHash": "sha256-xdJ6bmPxDPIMItZJWsDxopPXUTAFPWMkNkyOOcptWSc=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e88ce43c86ebd9dee39764c3b8e9851cab9bef62", "rev": "9bc0e974545d5bc4c24e1ed047be0dc4e30e494b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -587,11 +587,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1652252629, "lastModified": 1653326962,
"narHash": "sha256-SvT64apetqc8P5nYp1/fOZvUmHUPdPFUZbhSpKy+1aI=", "narHash": "sha256-W8feCYqKTsMre4nAEpv5Kx1PVFC+hao/LwqtB2Wci/8=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d2fc6856824cb87742177eefc8dd534bdb6c3439", "rev": "41cc1d5d9584103be4108c1815c350e07c807036",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -44,7 +44,7 @@
# deluge # deluge
slack slack
tdesktop # telegram for the desktop tdesktop # telegram for the desktop
zoom-us # zoom-us
# teams # teams
# browsers # browsers

View file

@ -17,6 +17,7 @@ let
sumneko-lua-language-server # lua sumneko-lua-language-server # lua
rnix-lsp # nix rnix-lsp # nix
haskell-language-server # haskell haskell-language-server # haskell
vscode-langservers-extracted # css and shit
# Formatters # Formatters
luaformatter # lua luaformatter # lua
@ -62,7 +63,6 @@ in
home.packages = [ home.packages = [
neovim neovim
# idk why I need to install this here # idk why I need to install this here
vscode-langservers-extracted # css and shit
]; ];
programs.neovim = { programs.neovim = {

View file

@ -1,5 +1,12 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
# Use more recent ghc versions
# nixpkgs.overlays = [
# (self: super: {
# haskell.compiler.ghc902 = self.unstable.haskell.compiler.ghc902;
# })
# ];
home-manager.users.adrielus.home = { home-manager.users.adrielus.home = {
file.".ghci".source = ./ghci; file.".ghci".source = ./ghci;

View file

@ -4,13 +4,14 @@ let
yarn = pkgs.yarn.override { nodejs = node; }; yarn = pkgs.yarn.override { nodejs = node; };
in in
{ {
home-manager.users.adrielus.home.packages = with pkgs; home-manager.users.adrielus.home.packages = with pkgs;
with nodePackages; [ with nodePackages; [
node node
deno deno
node2nix node2nix
pnpm unstable.nodePackages.pnpm
yarn yarn
# TODO: find a good way to reinstall some of these # TODO: find a good way to reinstall some of these

View file

@ -1,4 +1,15 @@
{ pkgs, ... }: { { pkgs, ... }: {
# Idk why tf I need to add this here
nixpkgs.config.permittedInsecurePackages = [
"nodejs-12.22.12"
];
home-manager.users.adrielus = {
nixpkgs.config.permittedInsecurePackages = [
"nodejs-12.22.12"
];
};
nix = { nix = {
# Emanble nix flakes # Emanble nix flakes
package = pkgs.nixFlakes; package = pkgs.nixFlakes;

View file

@ -1,5 +1,5 @@
self: super: self: super:
let customPackages = self.callPackage ./npm { }; let customPackages = (import ./npm) { nodejs = self.nodejs-17_x; pkgs = self; };
in in
with self; { with self; {
# Faster prettier for editors # Faster prettier for editors

View file

@ -2,7 +2,10 @@
{ pkgs ? import <nixpkgs> { { pkgs ? import <nixpkgs> {
inherit system; inherit system;
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-12_x"}: }
, system ? builtins.currentSystem
, nodejs ? pkgs."nodejs-12_x"
}:
let let
nodeEnv = import ./node-env.nix { nodeEnv = import ./node-env.nix {