diff --git a/flake.lock b/flake.lock index b2a6d1a..7bca647 100755 --- a/flake.lock +++ b/flake.lock @@ -41,11 +41,11 @@ "flake-compat_2": { "flake": false, "locked": { - "lastModified": 1696426674, - "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "lastModified": 1733328505, + "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", "owner": "edolstra", "repo": "flake-compat", - "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec", "type": "github" }, "original": { @@ -70,7 +70,113 @@ "type": "github" } }, + "flake-compat_4": { + "flake": false, + "locked": { + "lastModified": 1696426674, + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_5": { + "flake": false, + "locked": { + "lastModified": 1733328505, + "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_6": { + "flake": false, + "locked": { + "lastModified": 1696426674, + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_7": { + "flake": false, + "locked": { + "lastModified": 1696426674, + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, "flake-parts": { + "inputs": { + "nixpkgs-lib": [ + "neovim-nightly-overlay", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1741352980, + "narHash": "sha256-+u2UunDA4Cl5Fci3m7S643HzKmIDAe+fiXrLqYsR2fs=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "f4330d22f1c5d2ba72d3d22df5597d123fdb60a9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_2": { + "inputs": { + "nixpkgs-lib": [ + "neovim-nightly-overlay", + "hercules-ci-effects", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1738453229, + "narHash": "sha256-7H9XgNiGLKN1G1CgRh0vUL4AheZSYzPm+zmZ7vxbJdo=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "32ea77a06711b758da0ad9bd6a844c5740a87abd", + "type": "github" + }, + "original": { + "id": "flake-parts", + "type": "indirect" + } + }, + "flake-parts_3": { "inputs": { "nixpkgs-lib": "nixpkgs-lib" }, @@ -88,6 +194,50 @@ "type": "github" } }, + "flake-parts_4": { + "inputs": { + "nixpkgs-lib": [ + "nvim", + "neovim-nightly-overlay", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1741352980, + "narHash": "sha256-+u2UunDA4Cl5Fci3m7S643HzKmIDAe+fiXrLqYsR2fs=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "f4330d22f1c5d2ba72d3d22df5597d123fdb60a9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_5": { + "inputs": { + "nixpkgs-lib": [ + "nvim", + "neovim-nightly-overlay", + "hercules-ci-effects", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1738453229, + "narHash": "sha256-7H9XgNiGLKN1G1CgRh0vUL4AheZSYzPm+zmZ7vxbJdo=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "32ea77a06711b758da0ad9bd6a844c5740a87abd", + "type": "github" + }, + "original": { + "id": "flake-parts", + "type": "indirect" + } + }, "flake-utils": { "inputs": { "systems": "systems_2" @@ -108,8 +258,8 @@ }, "gen-luarc": { "inputs": { - "flake-parts": "flake-parts", - "git-hooks": "git-hooks", + "flake-parts": "flake-parts_3", + "git-hooks": "git-hooks_2", "luvit-meta": "luvit-meta", "nixpkgs": [ "nvim", @@ -132,14 +282,37 @@ }, "git-hooks": { "inputs": { - "flake-compat": "flake-compat_2", + "flake-compat": "flake-compat_3", "gitignore": "gitignore", + "nixpkgs": [ + "neovim-nightly-overlay", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1741379162, + "narHash": "sha256-srpAbmJapkaqGRE3ytf3bj4XshspVR5964OX5LfjDWc=", + "owner": "cachix", + "repo": "git-hooks.nix", + "rev": "b5a62751225b2f62ff3147d0a334055ebadcd5cc", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "git-hooks.nix", + "type": "github" + } + }, + "git-hooks_2": { + "inputs": { + "flake-compat": "flake-compat_4", + "gitignore": "gitignore_2", "nixpkgs": [ "nvim", "gen-luarc", "nixpkgs" ], - "nixpkgs-stable": "nixpkgs-stable_2" + "nixpkgs-stable": "nixpkgs-stable" }, "locked": { "lastModified": 1723803910, @@ -155,7 +328,53 @@ "type": "github" } }, + "git-hooks_3": { + "inputs": { + "flake-compat": "flake-compat_6", + "gitignore": "gitignore_3", + "nixpkgs": [ + "nvim", + "neovim-nightly-overlay", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1741379162, + "narHash": "sha256-srpAbmJapkaqGRE3ytf3bj4XshspVR5964OX5LfjDWc=", + "owner": "cachix", + "repo": "git-hooks.nix", + "rev": "b5a62751225b2f62ff3147d0a334055ebadcd5cc", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "git-hooks.nix", + "type": "github" + } + }, "gitignore": { + "inputs": { + "nixpkgs": [ + "neovim-nightly-overlay", + "git-hooks", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1709087332, + "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", + "owner": "hercules-ci", + "repo": "gitignore.nix", + "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "gitignore.nix", + "type": "github" + } + }, + "gitignore_2": { "inputs": { "nixpkgs": [ "nvim", @@ -178,7 +397,30 @@ "type": "github" } }, - "gitignore_2": { + "gitignore_3": { + "inputs": { + "nixpkgs": [ + "nvim", + "neovim-nightly-overlay", + "git-hooks", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1709087332, + "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", + "owner": "hercules-ci", + "repo": "gitignore.nix", + "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "gitignore.nix", + "type": "github" + } + }, + "gitignore_4": { "inputs": { "nixpkgs": [ "pre-commit-hooks", @@ -199,6 +441,51 @@ "type": "github" } }, + "hercules-ci-effects": { + "inputs": { + "flake-parts": "flake-parts_2", + "nixpkgs": [ + "neovim-nightly-overlay", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1739595404, + "narHash": "sha256-0CjCfbq0yHWexOrpO06e2WU1r5JAqR6ffy1zgM3NksI=", + "owner": "hercules-ci", + "repo": "hercules-ci-effects", + "rev": "06519cec8fb32d219006da6eacd255504a9996af", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "hercules-ci-effects", + "type": "github" + } + }, + "hercules-ci-effects_2": { + "inputs": { + "flake-parts": "flake-parts_5", + "nixpkgs": [ + "nvim", + "neovim-nightly-overlay", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1739595404, + "narHash": "sha256-0CjCfbq0yHWexOrpO06e2WU1r5JAqR6ffy1zgM3NksI=", + "owner": "hercules-ci", + "repo": "hercules-ci-effects", + "rev": "06519cec8fb32d219006da6eacd255504a9996af", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "hercules-ci-effects", + "type": "github" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -206,11 +493,11 @@ ] }, "locked": { - "lastModified": 1734344598, - "narHash": "sha256-wNX3hsScqDdqKWOO87wETUEi7a/QlPVgpC/Lh5rFOuA=", + "lastModified": 1741955947, + "narHash": "sha256-2lbURKclgKqBNm7hVRtWh0A7NrdsibD0EaWhahUVhhY=", "owner": "nix-community", "repo": "home-manager", - "rev": "83ecd50915a09dca928971139d3a102377a8d242", + "rev": "4e12151c9e014e2449e0beca2c0e9534b96a26b4", "type": "github" }, "original": { @@ -236,6 +523,86 @@ "type": "github" } }, + "neovim-nightly-overlay": { + "inputs": { + "flake-compat": "flake-compat_2", + "flake-parts": "flake-parts", + "git-hooks": "git-hooks", + "hercules-ci-effects": "hercules-ci-effects", + "neovim-src": "neovim-src", + "nixpkgs": "nixpkgs", + "treefmt-nix": "treefmt-nix" + }, + "locked": { + "lastModified": 1741997831, + "narHash": "sha256-tXKyAFC5dNEPrSFxjcApyqQfZAZJoz6oyYnKjd0aYQU=", + "owner": "nix-community", + "repo": "neovim-nightly-overlay", + "rev": "fe31af14006b75ecaceb6f38e80dc62577a1ad11", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "neovim-nightly-overlay", + "type": "github" + } + }, + "neovim-nightly-overlay_2": { + "inputs": { + "flake-compat": "flake-compat_5", + "flake-parts": "flake-parts_4", + "git-hooks": "git-hooks_3", + "hercules-ci-effects": "hercules-ci-effects_2", + "neovim-src": "neovim-src_2", + "nixpkgs": "nixpkgs_3", + "treefmt-nix": "treefmt-nix_2" + }, + "locked": { + "lastModified": 1741738202, + "narHash": "sha256-S98JgCHJJFBI9XFXPdn/ATjux6JfrjLN7jGHEGvxsYM=", + "owner": "nix-community", + "repo": "neovim-nightly-overlay", + "rev": "6e291160fc740378dc846f9bb402653c4e50a313", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "neovim-nightly-overlay", + "type": "github" + } + }, + "neovim-src": { + "flake": false, + "locked": { + "lastModified": 1741954637, + "narHash": "sha256-kdLre/oVxg9fJa88qbNEhIVpY7jz2xNpXnBXsFNSia8=", + "owner": "neovim", + "repo": "neovim", + "rev": "f1422a313fa57c8c7045163aa209a9fd9166fe5a", + "type": "github" + }, + "original": { + "owner": "neovim", + "repo": "neovim", + "type": "github" + } + }, + "neovim-src_2": { + "flake": false, + "locked": { + "lastModified": 1741737177, + "narHash": "sha256-MxPM5FawrHrUywZXAHJ4+0+Wj4dITHDMHKf4aIwC9zk=", + "owner": "neovim", + "repo": "neovim", + "rev": "092529ebbf6fe566399aa47c274d708b8dea5334", + "type": "github" + }, + "original": { + "owner": "neovim", + "repo": "neovim", + "type": "github" + } + }, "nix-index-database": { "inputs": { "nixpkgs": [ @@ -243,11 +610,11 @@ ] }, "locked": { - "lastModified": 1734234111, - "narHash": "sha256-icEMqBt4HtGH52PU5FHidgBrNJvOfXH6VQKNtnD1aw8=", + "lastModified": 1741619381, + "narHash": "sha256-koZtlJRqi0/MD/AKd0KrXLA2NuBOVzlIyAJprjzpxZE=", "owner": "nix-community", "repo": "nix-index-database", - "rev": "311d6cf3ad3f56cb051ffab1f480b2909b3f754d", + "rev": "66537fb185462ba9b07f4e6f2d54894a1b2d04ab", "type": "github" }, "original": { @@ -258,11 +625,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1734352517, - "narHash": "sha256-mfv+J/vO4nqmIOlq8Y1rRW8hVsGH3M+I2ESMjhuebDs=", + "lastModified": 1741792691, + "narHash": "sha256-f0BVt1/cvA0DQ/q3rB+HY4g4tKksd03ZkzI4xehC2Ew=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "b12e314726a4226298fe82776b4baeaa7bcf3dcd", + "rev": "e1f12151258b12c567f456d8248e4694e9390613", "type": "github" }, "original": { @@ -273,16 +640,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1734119587, - "narHash": "sha256-AKU6qqskl0yf2+JdRdD0cfxX4b9x3KKV5RqA6wijmPM=", - "owner": "nixos", + "lastModified": 1741865919, + "narHash": "sha256-4thdbnP6dlbdq+qZWTsm4ffAwoS8Tiq1YResB+RP6WE=", + "owner": "NixOS", "repo": "nixpkgs", - "rev": "3566ab7246670a43abd2ffa913cc62dad9cdf7d5", + "rev": "573c650e8a14b2faa0041645ab18aed7e60f0c9a", "type": "github" }, "original": { - "owner": "nixos", - "ref": "nixos-unstable", + "owner": "NixOS", + "ref": "nixpkgs-unstable", "repo": "nixpkgs", "type": "github" } @@ -299,23 +666,23 @@ "url": "https://github.com/NixOS/nixpkgs/archive/eb9ceca17df2ea50a250b6b27f7bf6ab0186f198.tar.gz" } }, - "nixpkgs-stable": { + "nixpkgs-master": { "locked": { - "lastModified": 1734202038, - "narHash": "sha256-LwcGIkORU8zfQ/8jAgptgPY8Zf9lGKB0vtNdQyEkaN8=", - "owner": "nixos", + "lastModified": 1741842650, + "narHash": "sha256-gyA3ngXZroBeWdrVsM+bL63hQMUheYCrC+V78TEgBeU=", + "owner": "NixOS", "repo": "nixpkgs", - "rev": "bcba2fbf6963bf6bed3a749f9f4cf5bff4adb96d", + "rev": "b1f2198021490b51fb92b8b09db97b9ba2a7b4ce", "type": "github" }, "original": { - "owner": "nixos", - "ref": "nixos-24.05", + "owner": "NixOS", + "ref": "master", "repo": "nixpkgs", "type": "github" } }, - "nixpkgs-stable_2": { + "nixpkgs-stable": { "locked": { "lastModified": 1720386169, "narHash": "sha256-NGKVY4PjzwAa4upkGtAMz1npHGoRzWotlSnVlqI40mo=", @@ -331,18 +698,50 @@ "type": "github" } }, - "nixpkgs-stable_3": { + "nixpkgs_2": { "locked": { - "lastModified": 1730741070, - "narHash": "sha256-edm8WG19kWozJ/GqyYx2VjW99EdhjKwbY3ZwdlPAAlo=", + "lastModified": 1741851582, + "narHash": "sha256-cPfs8qMccim2RBgtKGF+x9IBCduRvd/N5F4nYpU0TVE=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "6607cf789e541e7873d40d3a8f7815ea92204f32", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_3": { + "locked": { + "lastModified": 1741678040, + "narHash": "sha256-rmBsz7BBcDwfvDkxnKHmolKceGJrr0nyz5PQYZg0kMk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d063c1dd113c91ab27959ba540c0d9753409edf3", + "rev": "3ee8818da146871cd570b164fc4f438f78479a50", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixos-24.05", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_4": { + "locked": { + "lastModified": 1741513245, + "narHash": "sha256-7rTAMNTY1xoBwz0h7ZMtEcd8LELk9R5TzBPoHuhNSCk=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "e3e32b642a31e6714ec1b712de8c91a3352ce7e1", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" } @@ -351,17 +750,16 @@ "inputs": { "flake-utils": "flake-utils", "gen-luarc": "gen-luarc", - "nixpkgs": [ - "nixpkgs" - ], - "workspace-diagnostics-nvim": "workspace-diagnostics-nvim" + "neovim-nightly-overlay": "neovim-nightly-overlay_2", + "nixpkgs": "nixpkgs_4", + "nixpkgs-master": "nixpkgs-master" }, "locked": { - "lastModified": 1731597847, - "narHash": "sha256-8XyrfGagx2VqQm+MBKKKvyepAHvZzsVHeatZpy63FTU=", + "lastModified": 1741997640, + "narHash": "sha256-ZiKcbwupZ272Jgw4Frb+vmiXJiILbSW6dNKJbaOMNi8=", "owner": "iofq", "repo": "nvim.nix", - "rev": "d82c5aa50abfa4f82a53a7f3f81caba08c45152f", + "rev": "9028ed4893fa885e0081b33cd23de49b1fe3f619", "type": "github" }, "original": { @@ -372,19 +770,18 @@ }, "pre-commit-hooks": { "inputs": { - "flake-compat": "flake-compat_3", - "gitignore": "gitignore_2", + "flake-compat": "flake-compat_7", + "gitignore": "gitignore_4", "nixpkgs": [ "nixpkgs" - ], - "nixpkgs-stable": "nixpkgs-stable_3" + ] }, "locked": { - "lastModified": 1734425854, - "narHash": "sha256-nzE5UbJ41aPEKf8R2ZFYtLkqPmF7EIUbNEdHMBLg0Ig=", + "lastModified": 1741379162, + "narHash": "sha256-srpAbmJapkaqGRE3ytf3bj4XshspVR5964OX5LfjDWc=", "owner": "cachix", "repo": "pre-commit-hooks.nix", - "rev": "0ddd26d0925f618c3a5d85a4fa5eb1e23a09491d", + "rev": "b5a62751225b2f62ff3147d0a334055ebadcd5cc", "type": "github" }, "original": { @@ -397,15 +794,15 @@ "inputs": { "deploy-rs": "deploy-rs", "home-manager": "home-manager", + "neovim-nightly-overlay": "neovim-nightly-overlay", "nix-index-database": "nix-index-database", "nixos-hardware": "nixos-hardware", - "nixpkgs": "nixpkgs", - "nixpkgs-stable": "nixpkgs-stable", + "nixpkgs": "nixpkgs_2", "nvim": "nvim", "pre-commit-hooks": "pre-commit-hooks", "sops-nix": "sops-nix", "systems": "systems_3", - "treefmt-nix": "treefmt-nix" + "treefmt-nix": "treefmt-nix_3" } }, "sops-nix": { @@ -415,11 +812,11 @@ ] }, "locked": { - "lastModified": 1733965552, - "narHash": "sha256-GZ4YtqkfyTjJFVCub5yAFWsHknG1nS/zfk7MuHht4Fs=", + "lastModified": 1741861888, + "narHash": "sha256-ynOgXAyToeE1UdLNfrUn/hL7MN0OpIS2BtNdLjpjPf0=", "owner": "Mic92", "repo": "sops-nix", - "rev": "2d73fc6ac4eba4b9a83d3cb8275096fbb7ab4004", + "rev": "d016ce0365b87d848a57c12ffcfdc71da7a2b55f", "type": "github" }, "original": { @@ -475,15 +872,58 @@ "treefmt-nix": { "inputs": { "nixpkgs": [ + "neovim-nightly-overlay", "nixpkgs" ] }, "locked": { - "lastModified": 1733761991, - "narHash": "sha256-s4DalCDepD22jtKL5Nw6f4LP5UwoMcPzPZgHWjAfqbQ=", + "lastModified": 1739829690, + "narHash": "sha256-mL1szCeIsjh6Khn3nH2cYtwO5YXG6gBiTw1A30iGeDU=", "owner": "numtide", "repo": "treefmt-nix", - "rev": "0ce9d149d99bc383d1f2d85f31f6ebd146e46085", + "rev": "3d0579f5cc93436052d94b73925b48973a104204", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "treefmt-nix", + "type": "github" + } + }, + "treefmt-nix_2": { + "inputs": { + "nixpkgs": [ + "nvim", + "neovim-nightly-overlay", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1739829690, + "narHash": "sha256-mL1szCeIsjh6Khn3nH2cYtwO5YXG6gBiTw1A30iGeDU=", + "owner": "numtide", + "repo": "treefmt-nix", + "rev": "3d0579f5cc93436052d94b73925b48973a104204", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "treefmt-nix", + "type": "github" + } + }, + "treefmt-nix_3": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1739829690, + "narHash": "sha256-mL1szCeIsjh6Khn3nH2cYtwO5YXG6gBiTw1A30iGeDU=", + "owner": "numtide", + "repo": "treefmt-nix", + "rev": "3d0579f5cc93436052d94b73925b48973a104204", "type": "github" }, "original": { @@ -509,22 +949,6 @@ "repo": "flake-utils", "type": "github" } - }, - "workspace-diagnostics-nvim": { - "flake": false, - "locked": { - "lastModified": 1723294887, - "narHash": "sha256-lBj4KUPmmhtpffYky/HpaTwY++d/Q9socp/Ys+4VeX0=", - "owner": "artemave", - "repo": "workspace-diagnostics.nvim", - "rev": "573ff93c47898967efdfbc6587a1a39e3c2d365e", - "type": "github" - }, - "original": { - "owner": "artemave", - "repo": "workspace-diagnostics.nvim", - "type": "github" - } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 887c2b1..db7e188 100755 --- a/flake.nix +++ b/flake.nix @@ -3,7 +3,6 @@ inputs = { nixos-hardware.url = "github:NixOS/nixos-hardware"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; - nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.05"; pre-commit-hooks = { url = "github:cachix/pre-commit-hooks.nix"; inputs.nixpkgs.follows = "nixpkgs"; @@ -26,8 +25,8 @@ }; nvim = { url = "github:iofq/nvim.nix"; - inputs.nixpkgs.follows = "nixpkgs"; }; + neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay"; deploy-rs = { url = "github:serokell/deploy-rs"; inputs.nixpkgs.follows = "nixpkgs"; @@ -36,7 +35,6 @@ outputs = { self, nixpkgs, - nixpkgs-stable, systems, ... } @ inputs: let @@ -48,17 +46,14 @@ inherit system; config.allowUnfree = true; overlays = [ + inputs.neovim-nightly-overlay.overlays.default inputs.nvim.overlays.default ]; }; - pkgs-stable = import nixpkgs-stable { - inherit system; - config.allowUnfree = true; - }; eachSystem = f: nixpkgs.lib.genAttrs (import systems) (system: f nixpkgs.legacyPackages.${system}); treefmtEval = eachSystem (pkgs: inputs.treefmt-nix.lib.evalModule pkgs ./treefmt.nix); in { - nixosConfigurations = import ./nixos {inherit inputs pkgs pkgs-stable attrs system;}; + nixosConfigurations = import ./nixos {inherit inputs pkgs attrs system;}; homeConfigurations = import ./home-manager {inherit inputs pkgs attrs;}; checks = { pre-commit-check = inputs.pre-commit-hooks.lib.${system}.run { @@ -79,15 +74,6 @@ path = inputs.deploy-rs.lib.${system}.activate.nixos self.nixosConfigurations.consensus; }; }; - nc = { - hostname = "nc.10110110.xyz"; - sshUser = "root"; - remoteBuild = true; - profiles.system = { - user = "root"; - path = inputs.deploy-rs.lib.${system}.activate.nixos self.nixosConfigurations.nc; - }; - }; }; formatter = eachSystem (pkgs: treefmtEval.${pkgs.system}.config.build.wrapper); devShells.${system}.default = pkgs.mkShell { diff --git a/home-manager/shared/programs/dev/default.nix b/home-manager/shared/programs/dev/default.nix index d03b481..c67e839 100644 --- a/home-manager/shared/programs/dev/default.nix +++ b/home-manager/shared/programs/dev/default.nix @@ -9,6 +9,6 @@ go jq tree - lazyjj + jujutsu ]; } diff --git a/home-manager/shared/programs/shell/default.nix b/home-manager/shared/programs/shell/default.nix index d3f5bee..b415d51 100755 --- a/home-manager/shared/programs/shell/default.nix +++ b/home-manager/shared/programs/shell/default.nix @@ -13,6 +13,7 @@ bat ripgrep fd + jq ]; }; programs.fish = { @@ -61,11 +62,11 @@ ":q" = "exit"; hms = "home-manager switch --flake $NIX_FLAKE#${host.username}"; rbs = "sudo nixos-rebuild switch --flake $NIX_FLAKE#${host.hostName}"; - nvim-dev = "nix run ~/dev/nvim.nix"; mpv = "mpv --no-keepaspect-window"; cat = "bat -pp"; tcd = "cd $(mktemp -d)"; docker = "nerdctl"; + vimdiff = "nvim -d"; }; }; programs.bash = { diff --git a/home-manager/shared/programs/shell/git.nix b/home-manager/shared/programs/shell/git.nix index 564ce45..38ecbd3 100755 --- a/home-manager/shared/programs/shell/git.nix +++ b/home-manager/shared/programs/shell/git.nix @@ -37,10 +37,15 @@ ui = { pager = "${pkgs.bat}/bin/bat"; default-command = ["log"]; + conflict-marker-style = "git"; + merge-editor = "vimdiff"; }; snapshot = { max-new-file-size = "10MiB"; }; + git = { + subprocess = true; + }; }; }; } diff --git a/home-manager/shared/wayland/hyprland/default.nix b/home-manager/shared/wayland/hyprland/default.nix index 797e85a..f709d7f 100644 --- a/home-manager/shared/wayland/hyprland/default.nix +++ b/home-manager/shared/wayland/hyprland/default.nix @@ -5,7 +5,6 @@ extraConfig = '' monitor=,preferred,auto,1 ''; - plugins = [pkgs.hyprlandPlugins.hyprexpo]; settings = { "$mod" = "SUPER"; general = { @@ -77,7 +76,6 @@ "$mod, f, fullscreen" "$mod SHIFT, Escape, exit" "$mod SHIFT, f, fullscreenstate, 0 3" - "$mod, a, hyprexpo:expo, toggle" "$mod, Space, exec, ${pkgs.bemenu}/bin/bemenu-run" "$mod, t, togglefloating" "$mod, bracketleft, exec, grimshot --notify save area /tmp/scrot-$(date \"+%Y-%m-%d\"T\"%H:%M:%S\").png" diff --git a/home-manager/t14/home.nix b/home-manager/t14/home.nix index 7d0aa77..89ea584 100755 --- a/home-manager/t14/home.nix +++ b/home-manager/t14/home.nix @@ -33,6 +33,7 @@ # sysutils appimage-run wireguard-tools + android-tools ]; }; programs.ssh = { diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 3b72792..1cd1b2e 100755 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -13,6 +13,7 @@ "wheel" "plugdev" "video" + "adbusers" ]; }; environment.systemPackages = with pkgs; [vim]; diff --git a/nixos/default.nix b/nixos/default.nix index d2a84ce..22922a1 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -1,7 +1,6 @@ { inputs, pkgs, - pkgs-stable, attrs, system, ... @@ -12,8 +11,9 @@ ]; in { t14 = inputs.nixpkgs.lib.nixosSystem { + inherit pkgs; specialArgs = { - inherit inputs system pkgs attrs; + inherit inputs system attrs; host = { hostName = "t14"; inherit (attrs) username; @@ -28,8 +28,9 @@ in { ]; }; consensus = inputs.nixpkgs.lib.nixosSystem { + inherit pkgs; specialArgs = { - inherit inputs system pkgs attrs; + inherit inputs system attrs; host = { hostName = "consensus"; inherit (attrs) username; @@ -42,20 +43,4 @@ in { ./consensus/configuration.nix ]; }; - nc = inputs.nixpkgs-stable.lib.nixosSystem { - specialArgs = { - pkgs = pkgs-stable; - inherit inputs system attrs; - host = { - hostName = "nc"; - inherit (attrs) username; - }; - }; - modules = - defaultModules - ++ [ - ./configuration.nix - ./nc/configuration.nix - ]; - }; } diff --git a/nixos/nc/configuration.nix b/nixos/nc/configuration.nix deleted file mode 100644 index 1e9446f..0000000 --- a/nixos/nc/configuration.nix +++ /dev/null @@ -1,88 +0,0 @@ -{pkgs, ...}: { - imports = [ - ./hardware-configuration.nix - ./k3s.nix - ]; - environment.systemPackages = with pkgs; [ - vim - git - docker-compose - ]; - programs.nix-index.enableBashIntegration = false; - programs.nix-index.enableZshIntegration = false; - programs.nix-index-database.comma.enable = true; - time.timeZone = "America/Chicago"; - - virtualisation.docker = { - enable = true; - daemon.settings = { - data-root = "/eth2/docker"; - }; - }; - # Enable flakes and unfree packages - nix.settings = { - auto-optimise-store = true; - substituters = ["https://cache.nixos.org"]; - experimental-features = ["nix-command" "flakes"]; - }; - nix.gc = { - automatic = true; - dates = "00:00"; - options = "--delete-older-than 14d"; - }; - networking = { - firewall = { - enable = true; - allowedTCPPorts = [ - 22 - 9000 #charon holesky - 30001 #mainnet - 30303 #mainnet - 30304 #charon holesky - ]; - logRefusedConnections = true; - }; - }; - services = { - tailscale.enable = true; - openssh = { - enable = true; - settings = { - PasswordAuthentication = false; - PermitRootLogin = "prohibit-password"; - }; - }; - fail2ban.enable = true; - }; - users.users = { - root = { - openssh.authorizedKeys.keys = [''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHM4Zr0PFN7QdOG2aJ+nuzRCK6caulrpY6bphA1Ppl8Y e@t14'']; - }; - e = { - isNormalUser = true; - extraGroups = [ - "wheel" - "docker" - ]; - openssh.authorizedKeys.keys = [ - ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHM4Zr0PFN7QdOG2aJ+nuzRCK6caulrpY6bphA1Ppl8Y e@t14'' - ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAdo4PS8myKaKAdyIqSFj2VJ+oZ9DNRIp7PBz8IWKjjy'' - ]; - }; - hd = { - isNormalUser = true; - extraGroups = [ - "wheel" - "docker" - ]; - }; - charon = { - isNormalUser = true; - extraGroups = [ - "docker" - ]; - }; - }; - security.sudo.wheelNeedsPassword = false; - system.stateVersion = "23.11"; -} diff --git a/nixos/nc/hardware-configuration.nix b/nixos/nc/hardware-configuration.nix deleted file mode 100755 index ea8fd4a..0000000 --- a/nixos/nc/hardware-configuration.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ - modulesPath, - lib, - config, - ... -}: { - imports = [(modulesPath + "/profiles/qemu-guest.nix")]; - boot.loader.grub.device = "/dev/vda"; - boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi"]; - boot.initrd.kernelModules = ["nvme"]; - fileSystems."/" = { - device = "/dev/vda3"; - fsType = "ext4"; - }; - boot = { - kernelModules = ["kvm-intel"]; - tmp.cleanOnBoot = true; - }; - swapDevices = [ - { - device = "/swapfile"; - size = 8 * 1024; - } - ]; - zramSwap.enable = false; - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -} diff --git a/nixos/nc/k3s.nix b/nixos/nc/k3s.nix deleted file mode 100644 index e587fbd..0000000 --- a/nixos/nc/k3s.nix +++ /dev/null @@ -1,16 +0,0 @@ -{pkgs, ...}: { - environment.systemPackages = with pkgs; [ - k3s - ]; - services.k3s = { - enable = true; - role = "server"; - extraFlags = toString [ - "--disable traefik" - "--tls-san nc.tailc353f.ts.net" - "--node-ip 100.67.112.98" - "--advertise-address 100.67.112.98" - "--node-external-ip 94.16.113.7" - ]; - }; -} diff --git a/nixos/t14/configuration.nix b/nixos/t14/configuration.nix index 1a8ad92..eefba54 100755 --- a/nixos/t14/configuration.nix +++ b/nixos/t14/configuration.nix @@ -14,6 +14,10 @@ in { cryptsetup nfs-utils nerdctl + bubblewrap + fuse-overlayfs + dwarfs + wine-staging ]; environment.extraInit = "[[ -f ${homeManagerSessionVars} ]] && source ${homeManagerSessionVars} && echo 'x' > /tmp/test"; @@ -59,6 +63,7 @@ in { startAgent = true; }; steam.enable = true; + adb.enable = true; }; services = { resolved = { @@ -131,10 +136,11 @@ in { }; hardware.ledger.enable = true; services.trezord.enable = true; + services.udisks2.enable = true; # kindle # Set a sane system-wide default font fonts.packages = with pkgs; [ - (nerdfonts.override {fonts = ["UbuntuMono"];}) + nerd-fonts.ubuntu-mono spleen ]; fonts.fontconfig.defaultFonts.monospace = ["UbuntuMono"];