diff --git a/flake.lock b/flake.lock index 127570c..e933451 100644 --- a/flake.lock +++ b/flake.lock @@ -8,11 +8,11 @@ ] }, "locked": { - "lastModified": 1708104794, - "narHash": "sha256-Eq0MFpezo1lmP7sTVffHAvgOjjRFf4Eybllu1z2XZp0=", + "lastModified": 1716664326, + "narHash": "sha256-L7MeDg9Q6Si2Rwxe++BoNdldX9Os/DzqoqGDJod0qyk=", "owner": "ezKEa", "repo": "aagl-gtk-on-nix", - "rev": "b562d6df3eb34aa2bbb1bd894d26872ef5b7225e", + "rev": "347a50c615c45b3c89c41e774736861b7b41cf71", "type": "github" }, "original": { @@ -65,11 +65,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1708851887, - "narHash": "sha256-gMzpMV8sYuhuPniw/Yef7Sx0MOkP/QGCblm3CRI24EQ=", + "lastModified": 1716800073, + "narHash": "sha256-ZznQFA/Mjomt1phpfwVFtp3F2b6yvlyslmjJ6bgBB5w=", "owner": "nix-community", "repo": "emacs-overlay", - "rev": "42b8b4a59edbd70550ebc96e95c9258dbdefd753", + "rev": "165e4bc50493e402cf296c413edb479b04aeb339", "type": "github" }, "original": { @@ -134,11 +134,11 @@ "flake-compat_3": { "flake": false, "locked": { - "lastModified": 1668681692, - "narHash": "sha256-Ht91NGdewz8IQLtWZ9LCeNXMSXHUss+9COoqu6JLmXU=", + "lastModified": 1696426674, + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", "owner": "edolstra", "repo": "flake-compat", - "rev": "009399224d5e398d03b22badca40a37ac85412a1", + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", "type": "github" }, "original": { @@ -163,16 +163,32 @@ "type": "github" } }, + "flake-compat_5": { + "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": "nixpkgs-lib" }, "locked": { - "lastModified": 1706830856, - "narHash": "sha256-a0NYyp+h9hlb7ddVz4LUn1vT/PLwqfrWYcHMvFB1xYg=", + "lastModified": 1715865404, + "narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "b253292d9c0a5ead9bc98c4e9a26c6312e27d69f", + "rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9", "type": "github" }, "original": { @@ -186,11 +202,11 @@ "nixpkgs-lib": "nixpkgs-lib_2" }, "locked": { - "lastModified": 1706830856, - "narHash": "sha256-a0NYyp+h9hlb7ddVz4LUn1vT/PLwqfrWYcHMvFB1xYg=", + "lastModified": 1715865404, + "narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "b253292d9c0a5ead9bc98c4e9a26c6312e27d69f", + "rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9", "type": "github" }, "original": { @@ -207,11 +223,11 @@ ] }, "locked": { - "lastModified": 1706830856, - "narHash": "sha256-a0NYyp+h9hlb7ddVz4LUn1vT/PLwqfrWYcHMvFB1xYg=", + "lastModified": 1715865404, + "narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "b253292d9c0a5ead9bc98c4e9a26c6312e27d69f", + "rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9", "type": "github" }, "original": { @@ -229,11 +245,11 @@ ] }, "locked": { - "lastModified": 1701473968, - "narHash": "sha256-YcVE5emp1qQ8ieHUnxt1wCZCC3ZfAS+SRRWZ2TMda7E=", + "lastModified": 1712014858, + "narHash": "sha256-sB4SWl2lX95bExY2gMFG5HIzvva5AVMJd4Igm+GpZNw=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "34fed993f1674c8d06d58b37ce1e0fe5eebcb9f5", + "rev": "9126214d0a59633752a136528f5f3b9aa8565b7d", "type": "github" }, "original": { @@ -246,11 +262,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1705309234, - "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", "owner": "numtide", "repo": "flake-utils", - "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "type": "github" }, "original": { @@ -289,39 +305,25 @@ "type": "github" } }, - "flake-utils_4": { + "gitignore": { "inputs": { - "systems": "systems_4" + "nixpkgs": [ + "nvim-overlay", + "pre-commit-hooks", + "nixpkgs" + ] }, "locked": { - "lastModified": 1701680307, - "narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "4022d587cbbfd70fe950c1e2083a02621806a725", + "lastModified": 1709087332, + "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", + "owner": "hercules-ci", + "repo": "gitignore.nix", + "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", "type": "github" }, "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "flake-utils_5": { - "inputs": { - "systems": "systems_5" - }, - "locked": { - "lastModified": 1705309234, - "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", + "owner": "hercules-ci", + "repo": "gitignore.nix", "type": "github" } }, @@ -334,11 +336,11 @@ ] }, "locked": { - "lastModified": 1708547820, - "narHash": "sha256-xU/KC1PWqq5zL9dQ9wYhcdgxAwdeF/dJCLPH3PNZEBg=", + "lastModified": 1713898448, + "narHash": "sha256-6q6ojsp/Z9P2goqnxyfCSzFOD92T3Uobmj8oVAicUOs=", "owner": "hercules-ci", "repo": "hercules-ci-effects", - "rev": "0ca27bd58e4d5be3135a4bef66b582e57abe8f4a", + "rev": "c0302ec12d569532a6b6bd218f698bc402e93adc", "type": "github" }, "original": { @@ -354,11 +356,11 @@ ] }, "locked": { - "lastModified": 1708806879, - "narHash": "sha256-MSbxtF3RThI8ANs/G4o1zIqF5/XlShHvwjl9Ws0QAbI=", + "lastModified": 1716736760, + "narHash": "sha256-h3RmnNknKYtVA+EvUSra6QAwfZjC2q1G8YA7W0gat8Y=", "owner": "nix-community", "repo": "home-manager", - "rev": "4ee704cb13a5a7645436f400b9acc89a67b9c08a", + "rev": "5d151429e1e79107acf6d06dcc5ace4e642ec239", "type": "github" }, "original": { @@ -367,39 +369,70 @@ "type": "github" } }, - "hyprland": { + "hyprcursor": { "inputs": { - "hyprland-protocols": "hyprland-protocols", - "hyprlang": "hyprlang", - "nixpkgs": "nixpkgs_5", - "systems": "systems_2", - "wlroots": "wlroots", - "xdph": "xdph" + "hyprlang": [ + "hyprland", + "hyprlang" + ], + "nixpkgs": [ + "hyprland", + "nixpkgs" + ], + "systems": [ + "hyprland", + "systems" + ] }, "locked": { - "lastModified": 1708817736, - "narHash": "sha256-GZEoru+4uNIGEZ8j1TPaxZwM+ApIngHU/iX3sIGgUO4=", + "lastModified": 1716576411, + "narHash": "sha256-FIN1wMoyePBTtibCbaeJaoKNLuAYIGwLCWAYC1DJanw=", "owner": "hyprwm", - "repo": "Hyprland", - "rev": "f534ac3fc462d8af923d2a1ab8ef58f62639a1ea", + "repo": "hyprcursor", + "rev": "57298fc4f13c807e50ada2c986a3114b7fc2e621", "type": "github" }, "original": { "owner": "hyprwm", - "repo": "Hyprland", + "repo": "hyprcursor", "type": "github" } }, + "hyprland": { + "inputs": { + "hyprcursor": "hyprcursor", + "hyprlang": "hyprlang", + "hyprwayland-scanner": "hyprwayland-scanner", + "nixpkgs": "nixpkgs_5", + "systems": "systems_2", + "xdph": "xdph" + }, + "locked": { + "lastModified": 1716801877, + "narHash": "sha256-vfMb7opO2xva0jt/UwMGlyjK4DB73SWxus4Oryww+C8=", + "ref": "refs/heads/main", + "rev": "db5d39a66f1285f78321d953eac398feaedfc63d", + "revCount": 4744, + "submodules": true, + "type": "git", + "url": "https://github.com/hyprwm/Hyprland" + }, + "original": { + "submodules": true, + "type": "git", + "url": "https://github.com/hyprwm/Hyprland" + } + }, "hyprland-contrib": { "inputs": { "nixpkgs": "nixpkgs_6" }, "locked": { - "lastModified": 1706198673, - "narHash": "sha256-bHlxFd+3QHy6eXtTzzhwVNcyxBSOxTvBuJGNUzI4C4M=", + "lastModified": 1716228712, + "narHash": "sha256-y+LOXuSRMfkR2Vfwl5K2NVrszi1h5MJpML+msLnVS8U=", "owner": "hyprwm", "repo": "contrib", - "rev": "16884001b26e6955ff4b88b4dfe4c8986e20f153", + "rev": "33b38358559054d316eb605ccb733980dfa7dc63", "type": "github" }, "original": { @@ -412,10 +445,12 @@ "inputs": { "nixpkgs": [ "hyprland", + "xdph", "nixpkgs" ], "systems": [ "hyprland", + "xdph", "systems" ] }, @@ -445,11 +480,11 @@ ] }, "locked": { - "lastModified": 1708681732, - "narHash": "sha256-ULZZLZ9C33G13IaXLuAc4oTzHUvnATI8Fj2u6gzMfT0=", + "lastModified": 1716473782, + "narHash": "sha256-+qLn4lsHU6iL3+HTo1gTQ1tWzet8K9h+IfVemzEQZj8=", "owner": "hyprwm", "repo": "hyprlang", - "rev": "f4466367ef0a92a6425d482050dc2b8840c0e644", + "rev": "87d5d984109c839482b88b4795db073eb9ed446f", "type": "github" }, "original": { @@ -458,6 +493,31 @@ "type": "github" } }, + "hyprwayland-scanner": { + "inputs": { + "nixpkgs": [ + "hyprland", + "nixpkgs" + ], + "systems": [ + "hyprland", + "systems" + ] + }, + "locked": { + "lastModified": 1716058375, + "narHash": "sha256-CwjWoVnBZE5SBpRx9dgSQGCr4Goxyfcyv3zZbOhVqzk=", + "owner": "hyprwm", + "repo": "hyprwayland-scanner", + "rev": "3afed4364790aebe0426077631af1e164a9650cc", + "type": "github" + }, + "original": { + "owner": "hyprwm", + "repo": "hyprwayland-scanner", + "type": "github" + } + }, "mailserver": { "inputs": { "blobs": "blobs", @@ -465,16 +525,14 @@ "nixpkgs": [ "nixpkgs" ], - "nixpkgs-23_05": "nixpkgs-23_05", - "nixpkgs-23_11": "nixpkgs-23_11", "utils": "utils_2" }, "locked": { - "lastModified": 1706742486, - "narHash": "sha256-sv/MISTeD0rqeVivpZJpynboMWJp6i62OmrZX1rGl38=", + "lastModified": 1714720456, + "narHash": "sha256-e0WFe1BHqX23ADpGBc4ZRu38Mg+GICCZCqyS6EWCbHc=", "owner": "simple-nixos-mailserver", "repo": "nixos-mailserver", - "rev": "9e36323ae3dde787f761420465c3ae560f3dbf29", + "rev": "41059fc548088e49e3ddb3a2b4faeb5de018e60f", "type": "gitlab" }, "original": { @@ -491,11 +549,11 @@ "utils": "utils_3" }, "locked": { - "lastModified": 1708852221, - "narHash": "sha256-peS0e21QloCaVI8cI2njb8wP4cZJ3/O1HWZdltM8xrg=", + "lastModified": 1712156216, + "narHash": "sha256-zaJbaifCf632ZAK+0cVEkAlG6YU/IEwh2Uhn8tbNUFY=", "owner": "nbfc-linux", "repo": "nbfc-linux", - "rev": "4310b4e994f2575a75dfb599305a0e13cd0bf978", + "rev": "9499e16a83547306590ef3d618c45a75f9a852d0", "type": "github" }, "original": { @@ -504,25 +562,17 @@ "type": "github" } }, - "neovim-flake": { - "inputs": { - "flake-utils": "flake-utils_4", - "nixpkgs": [ - "nvim-overlay", - "nixpkgs" - ] - }, + "neovim-src": { + "flake": false, "locked": { - "dir": "contrib", - "lastModified": 1708818534, - "narHash": "sha256-f6kdXBRoQMyW3ffViEK8elYdcciUhNoY9JN9MOJaUBE=", + "lastModified": 1716642936, + "narHash": "sha256-l53vGzYIy6tI1rYBlbxW502sDgpmZ4i/uTdWWtPKPtM=", "owner": "neovim", "repo": "neovim", - "rev": "091e374c7f4886ef875e801ae0473b88f6caefe2", + "rev": "52389e724366ebb2fb58f08c657f580900dd09ee", "type": "github" }, "original": { - "dir": "contrib", "owner": "neovim", "repo": "neovim", "type": "github" @@ -534,11 +584,11 @@ "nixpkgs": "nixpkgs_7" }, "locked": { - "lastModified": 1708823436, - "narHash": "sha256-c1eR4YGVrN+K/SFflfELzPvo4MW7SvNT1z4yzSVs95I=", + "lastModified": 1716686274, + "narHash": "sha256-4JiRUWtoEMrfq38jG4O+NP6rcQIhKxEclnSkHvywnf0=", "owner": "fufexan", "repo": "nix-gaming", - "rev": "8cc3a38288a632c423033a712c91e7acaf3207e4", + "rev": "83a47c12d3493f7eb876250d0298d1566a965ce4", "type": "github" }, "original": { @@ -549,11 +599,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1708655239, - "narHash": "sha256-ZrP/yACUvDB+zbqYJsln4iwotbH6CTZiTkANJ0AgDv4=", + "lastModified": 1716509168, + "narHash": "sha256-4zSIhSRRIoEBwjbPm3YiGtbd8HDWzFxJjw5DYSDy1n8=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "cbc4211f0afffe6dfd2478a62615dd5175a13f9a", + "rev": "bfb7a882678e518398ce9a31a881538679f6f092", "type": "github" }, "original": { @@ -563,79 +613,37 @@ "type": "github" } }, - "nixpkgs-23_05": { - "locked": { - "lastModified": 1704290814, - "narHash": "sha256-LWvKHp7kGxk/GEtlrGYV68qIvPHkU9iToomNFGagixU=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "70bdadeb94ffc8806c0570eb5c2695ad29f0e421", - "type": "github" - }, - "original": { - "id": "nixpkgs", - "ref": "nixos-23.05", - "type": "indirect" - } - }, - "nixpkgs-23_11": { - "locked": { - "lastModified": 1706098335, - "narHash": "sha256-r3dWjT8P9/Ah5m5ul4WqIWD8muj5F+/gbCdjiNVBKmU=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "a77ab169a83a4175169d78684ddd2e54486ac651", - "type": "github" - }, - "original": { - "id": "nixpkgs", - "ref": "nixos-23.11", - "type": "indirect" - } - }, "nixpkgs-lib": { "locked": { - "dir": "lib", - "lastModified": 1706550542, - "narHash": "sha256-UcsnCG6wx++23yeER4Hg18CXWbgNpqNXcHIo5/1Y+hc=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "97b17f32362e475016f942bbdfda4a4a72a8a652", - "type": "github" + "lastModified": 1714640452, + "narHash": "sha256-QBx10+k6JWz6u7VsohfSw8g8hjdBZEf8CFzXH1/1Z94=", + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/50eb7ecf4cd0a5756d7275c8ba36790e5bd53e33.tar.gz" }, "original": { - "dir": "lib", - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/50eb7ecf4cd0a5756d7275c8ba36790e5bd53e33.tar.gz" } }, "nixpkgs-lib_2": { "locked": { - "dir": "lib", - "lastModified": 1706550542, - "narHash": "sha256-UcsnCG6wx++23yeER4Hg18CXWbgNpqNXcHIo5/1Y+hc=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "97b17f32362e475016f942bbdfda4a4a72a8a652", - "type": "github" + "lastModified": 1714640452, + "narHash": "sha256-QBx10+k6JWz6u7VsohfSw8g8hjdBZEf8CFzXH1/1Z94=", + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/50eb7ecf4cd0a5756d7275c8ba36790e5bd53e33.tar.gz" }, "original": { - "dir": "lib", - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/50eb7ecf4cd0a5756d7275c8ba36790e5bd53e33.tar.gz" } }, "nixpkgs-stable": { "locked": { - "lastModified": 1708702655, - "narHash": "sha256-qxT5jSLhelfLhQ07+AUxSTm1VnVH+hQxDkQSZ/m/Smo=", + "lastModified": 1716633019, + "narHash": "sha256-xim1b5/HZYbWaZKyI7cn9TJCM6ewNVZnesRr00mXeS4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c5101e457206dd437330d283d6626944e28794b3", + "rev": "9d29cd266cebf80234c98dd0b87256b6be0af44e", "type": "github" }, "original": { @@ -695,11 +703,11 @@ }, "nixpkgs_5": { "locked": { - "lastModified": 1708475490, - "narHash": "sha256-g1v0TsWBQPX97ziznfJdWhgMyMGtoBFs102xSYO4syU=", + "lastModified": 1716330097, + "narHash": "sha256-8BO3B7e3BiyIDsaKA0tY8O88rClYRTjvAp66y+VBUeU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "0e74ca98a74bc7270d28838369593635a5db3260", + "rev": "5710852ba686cc1fd0d3b8e22b3117d43ba374c2", "type": "github" }, "original": { @@ -711,11 +719,11 @@ }, "nixpkgs_6": { "locked": { - "lastModified": 1658161305, - "narHash": "sha256-X/nhnMCa1Wx4YapsspyAs6QYz6T/85FofrI6NpdPDHg=", + "lastModified": 1712163089, + "narHash": "sha256-Um+8kTIrC19vD4/lUCN9/cU9kcOsD1O1m+axJqQPyMM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "e4d49de45a3b5dbcb881656b4e3986e666141ea9", + "rev": "fd281bd6b7d3e32ddfa399853946f782553163b5", "type": "github" }, "original": { @@ -727,11 +735,11 @@ }, "nixpkgs_7": { "locked": { - "lastModified": 1708751719, - "narHash": "sha256-0uWOKSpXJXmXswOvDM5Vk3blB74apFB6rNGWV5IjoN0=", + "lastModified": 1716619601, + "narHash": "sha256-9dUxZf8MOqJH3vjbhrz7LH4qTcnRsPSBU1Q50T7q/X8=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "f63ce824cd2f036216eb5f637dfef31e1a03ee89", + "rev": "47e03a624662ce399e55c45a5f6da698fc72c797", "type": "github" }, "original": { @@ -743,11 +751,11 @@ }, "nixpkgs_8": { "locked": { - "lastModified": 1708751719, - "narHash": "sha256-0uWOKSpXJXmXswOvDM5Vk3blB74apFB6rNGWV5IjoN0=", + "lastModified": 1716715802, + "narHash": "sha256-usk0vE7VlxPX8jOavrtpOqphdfqEQpf9lgedlY/r66c=", "owner": "nixos", "repo": "nixpkgs", - "rev": "f63ce824cd2f036216eb5f637dfef31e1a03ee89", + "rev": "e2dd4e18cc1c7314e24154331bae07df76eb582f", "type": "github" }, "original": { @@ -759,11 +767,11 @@ }, "nixpkgs_9": { "locked": { - "lastModified": 1708751719, - "narHash": "sha256-0uWOKSpXJXmXswOvDM5Vk3blB74apFB6rNGWV5IjoN0=", + "lastModified": 1716588411, + "narHash": "sha256-CdAZ3o459+1mAgILcdJfMBQAwUXupVe2cVTknvxs5kQ=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "f63ce824cd2f036216eb5f637dfef31e1a03ee89", + "rev": "1a9df4f74273f90d04e621e8516777efcec2802a", "type": "github" }, "original": { @@ -778,15 +786,16 @@ "flake-compat": "flake-compat_4", "flake-parts": "flake-parts_3", "hercules-ci-effects": "hercules-ci-effects", - "neovim-flake": "neovim-flake", - "nixpkgs": "nixpkgs_9" + "neovim-src": "neovim-src", + "nixpkgs": "nixpkgs_9", + "pre-commit-hooks": "pre-commit-hooks" }, "locked": { - "lastModified": 1708819468, - "narHash": "sha256-TZB6DyO7+9WaLfhcp1/vwqucmkPTp42oJ7ObgUMrX8E=", + "lastModified": 1716760058, + "narHash": "sha256-5fMMNezTARjbc8HgEkvcOazlrsBBzlKSMVp56xTCY2g=", "owner": "nix-community", "repo": "neovim-nightly-overlay", - "rev": "392a5933e6322fe8cddea0ecccb36e89283df08e", + "rev": "0c1fc48841eda5e35402327b1a71f4bb034a012c", "type": "github" }, "original": { @@ -795,6 +804,33 @@ "type": "github" } }, + "pre-commit-hooks": { + "inputs": { + "flake-compat": "flake-compat_5", + "gitignore": "gitignore", + "nixpkgs": [ + "nvim-overlay", + "nixpkgs" + ], + "nixpkgs-stable": [ + "nvim-overlay", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1716213921, + "narHash": "sha256-xrsYFST8ij4QWaV6HEokCUNIZLjjLP1bYC60K8XiBVA=", + "owner": "cachix", + "repo": "git-hooks.nix", + "rev": "0e8fcc54b842ad8428c9e705cb5994eaf05c26a0", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "git-hooks.nix", + "type": "github" + } + }, "root": { "inputs": { "aagl-gtk": "aagl-gtk", @@ -809,7 +845,6 @@ "nix-gaming": "nix-gaming", "nixpkgs": "nixpkgs_8", "nvim-overlay": "nvim-overlay", - "rust-overlay": "rust-overlay_3", "stable": "stable" } }, @@ -859,39 +894,18 @@ "type": "github" } }, - "rust-overlay_3": { - "inputs": { - "flake-utils": "flake-utils_5", - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1708827164, - "narHash": "sha256-oBNS6pO04Y6gZBLThP3JDDgviex0+WTXz3bVBenyzms=", - "owner": "oxalica", - "repo": "rust-overlay", - "rev": "e0626adabd5ea461f80b1b11390da2a6575adb30", - "type": "github" - }, - "original": { - "owner": "oxalica", - "repo": "rust-overlay", - "type": "github" - } - }, "stable": { "locked": { - "lastModified": 1688392541, - "narHash": "sha256-lHrKvEkCPTUO+7tPfjIcb7Trk6k31rz18vkyqmkeJfY=", + "lastModified": 1716795920, + "narHash": "sha256-rVILUKoMmEDIXN3b3Oci9pdSDAK52NPbzxwndkpsmkc=", "owner": "nixos", "repo": "nixpkgs", - "rev": "ea4c80b39be4c09702b0cb3b42eab59e2ba4f24b", + "rev": "70e5ed1d3185d9962646c86496eee88788ffb2f4", "type": "github" }, "original": { "owner": "nixos", - "ref": "release-22.11", + "ref": "release-23.11", "repo": "nixpkgs", "type": "github" } @@ -956,21 +970,6 @@ "type": "github" } }, - "systems_5": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, "utils": { "locked": { "lastModified": 1667077288, @@ -987,12 +986,15 @@ } }, "utils_2": { + "inputs": { + "systems": "systems_3" + }, "locked": { - "lastModified": 1605370193, - "narHash": "sha256-YyMTf3URDL/otKdKgtoMChu4vfVL3vCMkRqpGifhUn0=", + "lastModified": 1709126324, + "narHash": "sha256-q6EQdSeUZOG26WelxqkmR7kArjgWCdw5sfJVHPH/7j8=", "owner": "numtide", "repo": "flake-utils", - "rev": "5021eac20303a61fafe17224c087f5519baed54d", + "rev": "d465f4819400de7c8d874d50b982301f28a84605", "type": "github" }, "original": { @@ -1003,14 +1005,14 @@ }, "utils_3": { "inputs": { - "systems": "systems_3" + "systems": "systems_4" }, "locked": { - "lastModified": 1681202837, - "narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=", + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", "owner": "numtide", "repo": "flake-utils", - "rev": "cfacdce06f30d2b68473a46042957675eebb3401", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "type": "github" }, "original": { @@ -1019,31 +1021,9 @@ "type": "github" } }, - "wlroots": { - "flake": false, - "locked": { - "host": "gitlab.freedesktop.org", - "lastModified": 1708558866, - "narHash": "sha256-Mz6hCtommq7RQfcPnxLINigO4RYSNt23HeJHC6mVmWI=", - "owner": "wlroots", - "repo": "wlroots", - "rev": "0cb091f1a2d345f37d2ee445f4ffd04f7f4ec9e5", - "type": "gitlab" - }, - "original": { - "host": "gitlab.freedesktop.org", - "owner": "wlroots", - "repo": "wlroots", - "rev": "0cb091f1a2d345f37d2ee445f4ffd04f7f4ec9e5", - "type": "gitlab" - } - }, "xdph": { "inputs": { - "hyprland-protocols": [ - "hyprland", - "hyprland-protocols" - ], + "hyprland-protocols": "hyprland-protocols", "hyprlang": [ "hyprland", "hyprlang" @@ -1058,11 +1038,11 @@ ] }, "locked": { - "lastModified": 1708696469, - "narHash": "sha256-shh5wmpeYy3MmsBfkm4f76yPsBDGk6OLYRVG+ARy2F0=", + "lastModified": 1716290197, + "narHash": "sha256-1u9Exrc7yx9qtES2brDh7/DDZ8w8ap1nboIOAtCgeuM=", "owner": "hyprwm", "repo": "xdg-desktop-portal-hyprland", - "rev": "1b713911c2f12b96c2574474686e4027ac4bf826", + "rev": "91e48d6acd8a5a611d26f925e51559ab743bc438", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 65a9012..9cbf37a 100644 --- a/flake.nix +++ b/flake.nix @@ -3,7 +3,7 @@ inputs = { nixpkgs.url = github:nixos/nixpkgs/nixpkgs-unstable; - stable.url = github:nixos/nixpkgs/release-22.11; + stable.url = github:nixos/nixpkgs/release-23.11; flake-parts.url = github:hercules-ci/flake-parts; home-manager = { url = github:nix-community/home-manager; @@ -13,10 +13,6 @@ url = gitlab:simple-nixos-mailserver/nixos-mailserver; inputs.nixpkgs.follows = "nixpkgs"; }; - rust-overlay = { - url = github:oxalica/rust-overlay; - inputs.nixpkgs.follows = "nixpkgs"; - }; filehost = { url = github:natto1784/simpler-filehost; # inputs.nixpkgs.follows = "nixpkgs"; @@ -32,8 +28,10 @@ # inputs.nixpkgs.url = github:nixos/nixpkgs?rev=fad51abd42ca17a60fc1d4cb9382e2d79ae31836; }; hyprland = { - url = github:hyprwm/Hyprland; - #inputs.nixpkgs.follows = "nixpkgs"; + type = "git"; + url = "https://github.com/hyprwm/Hyprland"; + submodules = true; + # inputs.nixpkgs.follows = "nixpkgs"; }; hyprland-contrib = { url = github:hyprwm/contrib; @@ -56,27 +54,14 @@ ./lib ]; - perSystem = { system, ... }: - let - pkgs = import inputs.nixpkgs { - inherit system; - config = { - allowUnfree = true; - allowBroken = true; - allowInsecure = true; - }; - overlays = [ - inputs.nvim-overlay.overlay - inputs.emacs-overlay.overlay - inputs.rust-overlay.overlays.default + perSystem = { system, pkgs, ... }: + { + formatter = pkgs.nixpkgs-fmt; + devShells.default = with pkgs; mkShell { + packages = [ + nixd ]; }; - in - { - legacyPackages = pkgs; - _module.args.pkgs = pkgs; - - formatter = pkgs.nixpkgs-fmt; }; }; } diff --git a/hosts/default.nix b/hosts/default.nix index 767bdfa..df1afe4 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -3,15 +3,17 @@ let inherit (inputs) nixpkgs; commonModules = [ - ./modules/nvim + ./nvim globalArgs ]; - personalModules = [ - ./modules/xorg.nix - ./modules/wayland.nix - ./modules/nix.nix + desktopModules = [ + ./xorg.nix + ./wayland.nix + ./nix.nix + ./desktop-pkgs.nix + ./sound.nix ]; - serverModules = [ ./modules/minimal.nix ]; + serverModules = [ ./minimal.nix ]; in { flake.nixosConfigurations = { @@ -20,9 +22,8 @@ in system = "x86_64-linux"; modules = [ ./satori - { nixpkgs.pkgs = self.legacyPackages.${system}; } ] - ++ personalModules + ++ desktopModules ++ commonModules; }; @@ -31,7 +32,6 @@ in system = "aarch64-linux"; modules = [ ./marisa - { nixpkgs.pkgs = self.legacyPackages.${system}; } ] ++ commonModules ++ serverModules; @@ -42,9 +42,8 @@ in system = "x86_64-linux"; modules = [ ./remilia - ./modules/x86builder.nix + ./x86builder.nix inputs.mailserver.nixosModules.mailserver - { nixpkgs.pkgs = self.legacyPackages.${system}; } ] ++ commonModules ++ serverModules; @@ -55,8 +54,7 @@ in system = "x86_64-linux"; modules = [ ./hina - ./modules/x86builder.nix - { nixpkgs.pkgs = self.legacyPackages.${system}; } + ./x86builder.nix ] ++ commonModules ++ serverModules; diff --git a/hosts/satori/pkgs.nix b/hosts/desktop-pkgs.nix similarity index 71% rename from hosts/satori/pkgs.nix rename to hosts/desktop-pkgs.nix index 8d97f14..1362a1a 100644 --- a/hosts/satori/pkgs.nix +++ b/hosts/desktop-pkgs.nix @@ -14,12 +14,26 @@ ripgrep kbd gcc - rnix-lsp vulkan-tools vulkan-headers jq dconf - inputs.nbfc.packages.${pkgs.system}.nbfc + ]; + + fonts.packages = with pkgs; [ + fira-code + fira-mono + monoid + font-awesome + material-icons + material-design-icons + lohit-fonts.devanagari + lohit-fonts.gurmukhi + office-code-pro + eb-garamond + noto-fonts-cjk + takao + liberation_ttf ]; programs = { @@ -29,7 +43,6 @@ agent = { enableSSHSupport = true; enable = true; - pinentryFlavor = "curses"; }; }; @@ -44,9 +57,7 @@ }; }; - adb.enable = true; - light.enable = true; gamemode.enable = true; }; } diff --git a/hosts/hina/services.nix b/hosts/hina/services.nix index 86d6fa7..0908e44 100644 --- a/hosts/hina/services.nix +++ b/hosts/hina/services.nix @@ -8,7 +8,7 @@ in openssh = { enable = true; - permitRootLogin = "yes"; + settings.PermitRootLogin = "yes"; ports = [ 22 ]; }; diff --git a/hosts/modules/minimal.nix b/hosts/minimal.nix similarity index 81% rename from hosts/modules/minimal.nix rename to hosts/minimal.nix index fa67914..53394cf 100644 --- a/hosts/modules/minimal.nix +++ b/hosts/minimal.nix @@ -20,7 +20,6 @@ vim tmux wireguard-tools - rnix-lsp nmap gcc ]; @@ -29,16 +28,14 @@ gnupg = { agent = { enable = true; - pinentryFlavor = "curses"; }; }; }; nix = { - package = pkgs.nixUnstable; extraOptions = '' experimental-features = nix-command flakes ''; - settings.trusted-users = [ "root" "spark" ]; + settings.trusted-users = [ "root" ]; }; } diff --git a/hosts/modules/nix.nix b/hosts/nix.nix similarity index 73% rename from hosts/modules/nix.nix rename to hosts/nix.nix index eab363f..d4aa31d 100644 --- a/hosts/modules/nix.nix +++ b/hosts/nix.nix @@ -1,7 +1,14 @@ { config, pkgs, ... }: { + nixpkgs = { + config = { + allowUnfree = true; + allowBroken = true; + allowInsecure = true; + }; + }; + nix = { - package = pkgs.nixUnstable; extraOptions = '' experimental-features = nix-command flakes ''; @@ -11,6 +18,7 @@ substituters = [ "https://nix-gaming.cachix.org" "https://nix-community.cachix.org" + # "https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store" ]; trusted-public-keys = [ "nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4=" diff --git a/hosts/modules/nvim/default.nix b/hosts/nvim/default.nix similarity index 93% rename from hosts/modules/nvim/default.nix rename to hosts/nvim/default.nix index 83fb9d9..7a9c8eb 100644 --- a/hosts/modules/nvim/default.nix +++ b/hosts/nvim/default.nix @@ -6,7 +6,7 @@ }; programs.neovim = { enable = true; - package = pkgs.neovim-nightly; + package = inputs.nvim-overlay.packages.${pkgs.system}.neovim; defaultEditor = false; configure = { customRC = '' diff --git a/hosts/modules/nvim/gruvbox.patch b/hosts/nvim/gruvbox.patch similarity index 100% rename from hosts/modules/nvim/gruvbox.patch rename to hosts/nvim/gruvbox.patch diff --git a/hosts/modules/nvim/init.lua b/hosts/nvim/init.lua similarity index 100% rename from hosts/modules/nvim/init.lua rename to hosts/nvim/init.lua diff --git a/hosts/remilia/services.nix b/hosts/remilia/services.nix index 43895f5..9636265 100644 --- a/hosts/remilia/services.nix +++ b/hosts/remilia/services.nix @@ -7,7 +7,7 @@ in cron.enable = true; openssh = { enable = true; - permitRootLogin = "yes"; + settings.PermitRootLogin = "yes"; ports = [ 22 22002 ]; }; nginx = { diff --git a/hosts/satori/default.nix b/hosts/satori/default.nix index 9f0d13a..87820aa 100644 --- a/hosts/satori/default.nix +++ b/hosts/satori/default.nix @@ -4,7 +4,6 @@ [ ./hardware.nix ./stuff.nix - ./pkgs.nix ./networking.nix ./boot.nix ./services.nix diff --git a/hosts/satori/services.nix b/hosts/satori/services.nix index beeb227..4ba6b6a 100644 --- a/hosts/satori/services.nix +++ b/hosts/satori/services.nix @@ -1,7 +1,6 @@ { lib, config, pkgs, ... }: { services = { - tor.enable = true; openssh = { enable = true; settings.PermitRootLogin = "yes"; @@ -16,26 +15,9 @@ }; }; logind.extraConfig = "RuntimeDirectorySize=30%"; - mysql.enable = true; - mysql.package = pkgs.mariadb; - - /* nomad = { - enable = true; - enableDocker = true; - dropPrivileges = false; - extraPackages = with pkgs; [ consul cni-plugins ]; - extraSettingsPaths = [ "/home/natto/hclconfigs/nomad/nomad.json" ]; - }; - - consul = { - enable = true; - package = pkgs.consul; - extraConfigFiles = [ "/home/natto/hclconfigs/consul/consul.json" ]; - };*/ }; systemd.services = { - tor.wantedBy = lib.mkForce [ ]; libvirtd.wantedBy = lib.mkForce [ ]; }; diff --git a/hosts/satori/stuff.nix b/hosts/satori/stuff.nix index c23837c..b82ee0d 100644 --- a/hosts/satori/stuff.nix +++ b/hosts/satori/stuff.nix @@ -1,4 +1,4 @@ -{ lib, config, agenix, pkgs, ... }: +{ lib, config, pkgs, ... }: { time.timeZone = "Asia/Kolkata"; @@ -22,21 +22,6 @@ }; console.useXkbConfig = true; - fonts.packages = with pkgs; [ - fira-code - fira-mono - monoid - font-awesome - material-icons - material-design-icons - lohit-fonts.devanagari - lohit-fonts.gurmukhi - office-code-pro - eb-garamond - noto-fonts-cjk - takao - liberation_ttf - ]; users.users.natto = { isNormalUser = true; @@ -54,45 +39,4 @@ }; gtk.iconCache.enable = true; - - # sound stuff - sound.enable = true; - services.pipewire = { - enable = true; - alsa = { - enable = true; - support32Bit = true; - }; - pulse.enable = true; - socketActivation = true; - wireplumber.enable = true; - }; - /* - environment.etc = - let - json = pkgs.formats.json { }; - in - { - "pipewire/pipewire.conf.d/50-noise.conf".source = json.generate "50-noise.conf" { - context.modules = [ - { - name = "libpipewire-module-echo-cancel"; - args = { - capture.props = { - node.name = "Echo Cancellation Capture"; - }; - source.props = { - node.name = "Echo Cancellation Source"; - }; - sink.props = { - node.name = "Echo Cancellation Sink"; - }; - playback.props = { - node.name = "Echo Cancellation Playback"; - }; - }; - } - ]; - }; - };*/ } diff --git a/hosts/sound.nix b/hosts/sound.nix new file mode 100644 index 0000000..91a940b --- /dev/null +++ b/hosts/sound.nix @@ -0,0 +1,14 @@ +{ lib, config, pkgs, ... }: { + # sound stuff + sound.enable = true; + services.pipewire = { + enable = true; + alsa = { + enable = true; + support32Bit = true; + }; + pulse.enable = true; + socketActivation = true; + wireplumber.enable = true; + }; +} diff --git a/hosts/modules/vault-agent.nix b/hosts/vault-agent.nix similarity index 100% rename from hosts/modules/vault-agent.nix rename to hosts/vault-agent.nix diff --git a/hosts/modules/wayland.nix b/hosts/wayland.nix similarity index 100% rename from hosts/modules/wayland.nix rename to hosts/wayland.nix diff --git a/hosts/modules/x86builder.nix b/hosts/x86builder.nix similarity index 100% rename from hosts/modules/x86builder.nix rename to hosts/x86builder.nix diff --git a/hosts/modules/xorg.nix b/hosts/xorg.nix similarity index 100% rename from hosts/modules/xorg.nix rename to hosts/xorg.nix