nixvim: functional simple config

This commit is contained in:
Khaïs COLIN 2024-07-27 11:08:16 +02:00
parent 0f822c67bf
commit 4bcc3d19f6
8 changed files with 527 additions and 43 deletions

121
flake.lock generated
View file

@ -4,6 +4,7 @@
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"nixvim-flake",
"nixvim",
"nixpkgs"
]
@ -36,25 +37,28 @@
"url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"
}
},
"flake-compat_2": {
"flake": false,
"flake-parts": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1696426674,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
"lastModified": 1719994518,
"narHash": "sha256-pQMhCCHyQGRzdfAkdJ4cIWiw+JNuWsTX7f0ZYSyz0VY=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "9227223f6d922fee3c7b190b2cc238a99527bbb7",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-parts": {
"flake-parts_2": {
"inputs": {
"nixpkgs-lib": [
"nixvim-flake",
"nixvim",
"nixpkgs"
]
@ -93,13 +97,19 @@
},
"git-hooks": {
"inputs": {
"flake-compat": "flake-compat_2",
"flake-compat": [
"nixvim-flake",
"nixvim",
"flake-compat"
],
"gitignore": "gitignore",
"nixpkgs": [
"nixvim-flake",
"nixvim",
"nixpkgs"
],
"nixpkgs-stable": [
"nixvim-flake",
"nixvim",
"nixpkgs"
]
@ -121,6 +131,7 @@
"gitignore": {
"inputs": {
"nixpkgs": [
"nixvim-flake",
"nixvim",
"git-hooks",
"nixpkgs"
@ -164,21 +175,21 @@
"home-manager_2": {
"inputs": {
"nixpkgs": [
"nixvim-flake",
"nixvim",
"nixpkgs"
]
},
"locked": {
"lastModified": 1720042825,
"narHash": "sha256-A0vrUB6x82/jvf17qPCpxaM+ulJnD8YZwH9Ci0BsAzE=",
"lastModified": 1720734513,
"narHash": "sha256-neWQ8eNtLTd+YMesb7WjKl1SVCbDyCm46LUgP/g/hdo=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "e1391fb22e18a36f57e6999c7a9f966dc80ac073",
"rev": "90ae324e2c56af10f20549ab72014804a3064c7f",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "release-24.05",
"repo": "home-manager",
"type": "github"
}
@ -186,6 +197,7 @@
"nix-darwin": {
"inputs": {
"nixpkgs": [
"nixvim-flake",
"nixvim",
"nixpkgs"
]
@ -219,39 +231,99 @@
"type": "indirect"
}
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1719876945,
"narHash": "sha256-Fm2rDDs86sHy0/1jxTOKB1118Q0O3Uc7EC0iXvXKpbI=",
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/5daf0514482af3f97abaefc78a6606365c9108e2.tar.gz"
},
"original": {
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/5daf0514482af3f97abaefc78a6606365c9108e2.tar.gz"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1721924956,
"narHash": "sha256-Sb1jlyRO+N8jBXEX9Pg9Z1Qb8Bw9QyOgLDNMEpmjZ2M=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "5ad6a14c6bf098e98800b091668718c336effc95",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "nixos-unstable",
"type": "indirect"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1720768451,
"narHash": "sha256-EYekUHJE2gxeo2pM/zM9Wlqw1Uw2XTJXOSAO79ksc4Y=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "7e7c39ea35c5cdd002cd4588b03a3fb9ece6fad9",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixvim": {
"inputs": {
"devshell": "devshell",
"flake-compat": "flake-compat",
"flake-parts": "flake-parts",
"flake-parts": "flake-parts_2",
"git-hooks": "git-hooks",
"home-manager": "home-manager_2",
"nix-darwin": "nix-darwin",
"nixpkgs": [
"nixpkgs"
],
"nixpkgs": "nixpkgs_2",
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1721045803,
"narHash": "sha256-dQGvOK+t45unF7DTp5bfO37hY0NkDUw6X3MH5CCTEAs=",
"lastModified": 1721683528,
"narHash": "sha256-MbVWB/LsMxQ0VOi/ghyAM0LrhlDp3rdynIB+zYifp78=",
"owner": "nix-community",
"repo": "nixvim",
"rev": "eef2f4c6b190d92e296e47e5fe10e7ced65fd959",
"rev": "901e8760d02b64e83c852d019a8599fea1c376ad",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "nixos-24.05",
"repo": "nixvim",
"type": "github"
}
},
"nixvim-flake": {
"inputs": {
"flake-parts": "flake-parts",
"nixpkgs": [
"nixpkgs-unstable"
],
"nixvim": "nixvim"
},
"locked": {
"lastModified": 1,
"narHash": "sha256-IZ8aQPDWnkwtt5rVz9Ya+ezVQbcum1d1rdIs1WX5zh0=",
"path": "./nixvim",
"type": "path"
},
"original": {
"path": "./nixvim",
"type": "path"
}
},
"root": {
"inputs": {
"home-manager": "home-manager",
"nixpkgs": "nixpkgs",
"nixvim": "nixvim"
"nixpkgs-unstable": "nixpkgs-unstable",
"nixvim-flake": "nixvim-flake"
}
},
"systems": {
@ -272,6 +344,7 @@
"treefmt-nix": {
"inputs": {
"nixpkgs": [
"nixvim-flake",
"nixvim",
"nixpkgs"
]