home: add nil and vnetod

This commit is contained in:
Dmitriy Pleshevskiy 2022-09-18 18:29:40 +03:00
parent 5f0ee442e6
commit 3f6585f532
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215
5 changed files with 68 additions and 32 deletions

View file

@ -58,23 +58,22 @@
}, },
"myneovim": { "myneovim": {
"inputs": { "inputs": {
"nil": "nil",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],
"utils": "utils_2" "utils": "utils_2"
}, },
"locked": { "locked": {
"lastModified": 1663509296, "lastModified": 1663511911,
"narHash": "sha256-ZZV+3Uuqv676YPE8opx220g7e9Mlr+7uejea8iMDh84=", "narHash": "sha256-Gk6VCSYkpOXmFhgCVIcJzNNaox3siQ4wlno7uCoep+s=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "3f758841b5fad14371f4d9e2f7e9b0ad177aa4e7", "rev": "05553b6fa077a3286b01169abd6d149deb7773b0",
"revCount": 22, "revCount": 24,
"type": "git", "type": "git",
"url": "https://git.pleshevski.ru/mynix/neovim" "url": "https://git.pleshevski.ru/mynix/neovim"
}, },
"original": { "original": {
"rev": "3f758841b5fad14371f4d9e2f7e9b0ad177aa4e7", "rev": "05553b6fa077a3286b01169abd6d149deb7773b0",
"type": "git", "type": "git",
"url": "https://git.pleshevski.ru/mynix/neovim" "url": "https://git.pleshevski.ru/mynix/neovim"
} }
@ -82,7 +81,9 @@
"nil": { "nil": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"nixpkgs": "nixpkgs", "nixpkgs": [
"nixpkgs"
],
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
@ -100,22 +101,6 @@
} }
}, },
"nixpkgs": { "nixpkgs": {
"locked": {
"lastModified": 1662096612,
"narHash": "sha256-R+Q8l5JuyJryRPdiIaYpO5O3A55rT+/pItBrKcy7LM4=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "21de2b973f9fee595a7a1ac4693efff791245c34",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1663087123, "lastModified": 1663087123,
"narHash": "sha256-cNIRkF/J4mRxDtNYw+9/fBNq/NOA2nCuPOa3EdIyeDs=", "narHash": "sha256-cNIRkF/J4mRxDtNYw+9/fBNq/NOA2nCuPOa3EdIyeDs=",
@ -136,18 +121,18 @@
"dedsec-grub-theme": "dedsec-grub-theme", "dedsec-grub-theme": "dedsec-grub-theme",
"home-manager": "home-manager", "home-manager": "home-manager",
"myneovim": "myneovim", "myneovim": "myneovim",
"nixpkgs": "nixpkgs_2" "nil": "nil",
"nixpkgs": "nixpkgs",
"vnetod": "vnetod"
} }
}, },
"rust-overlay": { "rust-overlay": {
"inputs": { "inputs": {
"flake-utils": [ "flake-utils": [
"myneovim",
"nil", "nil",
"flake-utils" "flake-utils"
], ],
"nixpkgs": [ "nixpkgs": [
"myneovim",
"nil", "nil",
"nixpkgs" "nixpkgs"
] ]
@ -195,6 +180,43 @@
"repo": "flake-utils", "repo": "flake-utils",
"type": "github" "type": "github"
} }
},
"utils_3": {
"locked": {
"lastModified": 1656928814,
"narHash": "sha256-RIFfgBuKz6Hp89yRr7+NR5tzIAbn52h8vT6vXkYjZoM=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "7e2a3b3dfd9af950a856d66b0a7d01e3c18aa249",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"vnetod": {
"inputs": {
"nixpkgs": [
"nixpkgs"
],
"utils": "utils_3"
},
"locked": {
"lastModified": 1663511714,
"narHash": "sha256-hus+SMFRN6Or+Hr09bEokO5zwVPeexujey6S0MRUBu8=",
"ref": "refs/heads/main",
"rev": "21e9e89de2af212ca9dec914011cfde7e48f8de6",
"revCount": 33,
"type": "git",
"url": "https://git.pleshevski.ru/pleshevskiy/vnetod"
},
"original": {
"rev": "21e9e89de2af212ca9dec914011cfde7e48f8de6",
"type": "git",
"url": "https://git.pleshevski.ru/pleshevskiy/vnetod"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -12,8 +12,21 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
# nix lsp
nil = {
url = "github:oxalica/nil";
inputs.nixpkgs.follows = "nixpkgs";
};
# my neovim configuration
myneovim = { myneovim = {
url = "git+https://git.pleshevski.ru/mynix/neovim?rev=3f758841b5fad14371f4d9e2f7e9b0ad177aa4e7"; url = "git+https://git.pleshevski.ru/mynix/neovim?rev=05553b6fa077a3286b01169abd6d149deb7773b0";
inputs.nixpkgs.follows = "nixpkgs";
};
# tool to change .env faster
vnetod = {
url = "git+https://git.pleshevski.ru/pleshevskiy/vnetod?rev=21e9e89de2af212ca9dec914011cfde7e48f8de6";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
}; };

View file

@ -34,10 +34,11 @@ in
xh # friendly and fast tool for sending HTTP requests xh # friendly and fast tool for sending HTTP requests
fd # a simple, fast and user-friendly alternative to find fd # a simple, fast and user-friendly alternative to find
bat # a cat clone with syntax highlighting and git integration bat # a cat clone with syntax highlighting and git integration
ripgrep ripgrep # a fuzzy finder
# nix # nix
nixpkgs-fmt nixpkgs-fmt
nil # lsp server
# browser # browser
librewolf # a fork of firefox, focused on privacy, security and freedom librewolf # a fork of firefox, focused on privacy, security and freedom

View file

@ -8,6 +8,8 @@ let
overlays = [ overlays = [
inputs.myneovim.overlays.${system} inputs.myneovim.overlays.${system}
inputs.vnetod.overlays.${system}
(f: p: { nil = inputs.nil.packages.${system}.nil; })
]; ];
}; };
in in

View file

@ -142,16 +142,14 @@ in
registry = registry =
let let
repo = name: "https://git.pleshevski.ru/${name}"; gitple = "https://git.pleshevski.ru";
mkRegistry = id: url: { mkRegistry = id: url: {
from = { type = "indirect"; inherit id; }; from = { type = "indirect"; inherit id; };
to = { type = "git"; inherit url; }; to = { type = "git"; inherit url; };
}; };
in in
{ {
templates = mkRegistry "tmpl" "${repo "mynix"}/templates"; templates = mkRegistry "tmpl" "${gitple}/mynix/templates";
vnetod = mkRegistry "vnetod" "${repo "pleshevskiy"}/vnetod";
tas = mkRegistry "tas" "${repo "pleshevskiy"}/tas";
}; };
}; };