remove nnvim

flake.lock: Update

Flake lock file updates:

• Removed input 'modular-nvim'
• Removed input 'modular-nvim/neovim-nightly'
• Removed input 'modular-nvim/neovim-nightly/flake-utils'
• Removed input 'modular-nvim/neovim-nightly/nixpkgs'
• Removed input 'modular-nvim/nixpkgs'
This commit is contained in:
Max Headroom 2022-03-31 01:39:41 +02:00
parent 229e8145ab
commit 707ba820b3
7 changed files with 2 additions and 85 deletions

View file

@ -267,21 +267,6 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils_3": {
"locked": {
"lastModified": 1629481132,
"narHash": "sha256-JHgasjPR0/J1J3DRm4KxM4zTyAj4IOJY8vIl75v/kPI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "997f7efcb746a9c140ce1f13c72263189225f482",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flakeCompat": { "flakeCompat": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -404,27 +389,6 @@
"type": "indirect" "type": "indirect"
} }
}, },
"modular-nvim": {
"inputs": {
"neovim-nightly": "neovim-nightly",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1638630126,
"narHash": "sha256-zKGvpL4sdO9vku1hxxojgpIV6VPFttMJCOIzTUN8ghU=",
"ref": "master",
"rev": "3517ef35fd6e5438044fcf028930d59b6f914c09",
"revCount": 3,
"type": "git",
"url": "https://git.privatevoid.net/max/modular-neovim-prototype"
},
"original": {
"type": "git",
"url": "https://git.privatevoid.net/max/modular-neovim-prototype"
}
},
"naersk": { "naersk": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -446,30 +410,6 @@
"type": "github" "type": "github"
} }
}, },
"neovim-nightly": {
"inputs": {
"flake-utils": "flake-utils_3",
"nixpkgs": [
"modular-nvim",
"nixpkgs"
]
},
"locked": {
"dir": "contrib",
"lastModified": 1638617502,
"narHash": "sha256-+ljeNkTqpLbZlAfRMcOqcB87FAitVKQqHuBblOewRe8=",
"owner": "neovim",
"repo": "neovim",
"rev": "76af219e3e481222e6fece34c7c022d6a58998e1",
"type": "github"
},
"original": {
"dir": "contrib",
"owner": "neovim",
"repo": "neovim",
"type": "github"
}
},
"nix-crx": { "nix-crx": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -672,7 +612,6 @@
"helix": "helix", "helix": "helix",
"home-manager": "home-manager", "home-manager": "home-manager",
"kernel-clr": "kernel-clr", "kernel-clr": "kernel-clr",
"modular-nvim": "modular-nvim",
"naersk": "naersk", "naersk": "naersk",
"nix-crx": "nix-crx", "nix-crx": "nix-crx",
"nix-super": "nix-super", "nix-super": "nix-super",

View file

@ -7,9 +7,6 @@
nix-super.url = "git+https://git.privatevoid.net/max/nix-super-fork"; nix-super.url = "git+https://git.privatevoid.net/max/nix-super-fork";
nix-super.inputs.nixpkgs.follows = "nixpkgs"; nix-super.inputs.nixpkgs.follows = "nixpkgs";
modular-nvim.url = "git+https://git.privatevoid.net/max/modular-neovim-prototype";
modular-nvim.inputs.nixpkgs.follows = "nixpkgs";
home-manager.url = "github:nix-community/home-manager/master"; home-manager.url = "github:nix-community/home-manager/master";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";

View file

@ -29,7 +29,7 @@ in {
]; ];
environment.variables = { environment.variables = {
EDITOR = "nvim"; EDITOR = "hx";
SSH_ASKPASS = lib.mkForce ""; SSH_ASKPASS = lib.mkForce "";
}; };

View file

@ -1,8 +1,5 @@
{ pkgs, config, inputs, lib, ... }: let { pkgs, config, inputs, lib, ... }: let
sets = with pkgs; rec { sets = with pkgs; rec {
editor = [
inputs.modular-nvim.defaultPackage.x86_64-linux
];
writing = [ writing = [
apostrophe apostrophe
libreoffice libreoffice
@ -50,7 +47,6 @@
dev-tools = [ dev-tools = [
bustle bustle
gnome-builder gnome-builder
inputs.self.packages.x86_64-linux.neovim-gtk
]; ];
system = with pkgs.gnomeExtensions; [ system = with pkgs.gnomeExtensions; [
appindicator appindicator

View file

@ -18,17 +18,6 @@ with inputs;
}; };
default.flake = nixpkgs; default.flake = nixpkgs;
home-manager.flake = home-manager; home-manager.flake = home-manager;
vim.flake = let
nixpkgsSelfLock = lib.importJSON "${self}/flake.lock";
vimLock = lib.importJSON "${modular-nvim}/flake.lock";
patchedLock = lib.recursiveUpdate vimLock { nodes.nixpkgs.locked = (nixpkgsSelfLock.nodes.nixpkgs.locked); };
patchedLockFile = pkgs.writeText "patched-flake.lock" (builtins.toJSON patchedLock);
in pkgs.runCommand "vim-flake" {} ''
cp -vr ${modular-nvim} $out
chmod +w $out
rm $out/flake.lock
cp -v ${patchedLockFile} $out/flake.lock
'';
templates.to = { templates.to = {
owner = "max"; owner = "max";
repo = "flake-templates"; repo = "flake-templates";

View file

@ -22,8 +22,7 @@ in {
sudo = "sudo "; sudo = "sudo ";
tree = "lsd --tree"; tree = "lsd --tree";
uctl = "systemctl --user"; uctl = "systemctl --user";
vim = "nvim"; vim = "hx";
nvr = "nvr --servername /tmp/nvim-remote-$USER --remote-tab";
nix-repl = "nix repl '<repl>'"; nix-repl = "nix repl '<repl>'";
# thanks gytis # thanks gytis
manix-view = ''manix "" | grep '^# ' | sed 's/^# \(.*\) (.*/\1/;s/ (.*//;s/^# //' | fzf --ansi --preview="manix '{}' | sed 's/type: /> type: /g' | bat -l Markdown --color=always --plain"''; manix-view = ''manix "" | grep '^# ' | sed 's/^# \(.*\) (.*/\1/;s/ (.*//;s/^# //' | fzf --ansi --preview="manix '{}' | sed 's/type: /> type: /g' | bat -l Markdown --color=always --plain"'';

View file

@ -77,7 +77,4 @@ in
global.warn_timeout = "24h"; global.warn_timeout = "24h";
}; };
programs.zsh.enable = true; programs.zsh.enable = true;
home.packages = with pkgs; [ neovim-remote ];
} }