forked from foxora/nix
Compare commits
49 commits
migrate/sn
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 2b4d295d0a | |||
| 84264f025f | |||
| fea82f3532 | |||
| df0dddd227 | |||
| d322ac8b74 | |||
| 909300bc26 | |||
| 24c23362fd | |||
| b1a03c6a97 | |||
| c5416f0b92 | |||
| 4321b6f6c3 | |||
| a1b8beb8b3 | |||
| 11b2fa00d2 | |||
| 0794ed7edd | |||
| 4b8552fdb1 | |||
| 9d481bcdcf | |||
| ae6f3d7438 | |||
| ab94f48294 | |||
| 592e6f021d | |||
| b0b5565f76 | |||
| 86d0fda70e | |||
| e861f21ef2 | |||
| 7310cda101 | |||
| 55099cdad2 | |||
| f17fb26069 | |||
| 5c93afcb2b | |||
| f6e3fa6a86 | |||
| afb9d2fd9b | |||
| 5e882e9914 | |||
| b1cfda31f1 | |||
| 63e987277e | |||
| 98a52ebe74 | |||
| 65995c2245 | |||
| 4b7a87f302 | |||
| dce5deac43 | |||
| ffc65678ea | |||
| c2a581e1be | |||
| 1d6eec78f0 | |||
| 9c22f23bc0 | |||
| 3ebf01c47e | |||
| 83bee06352 | |||
| b7d04fb7cc | |||
| 9de130a5c0 | |||
| 669128d4b6 | |||
| 662268f327 | |||
| cf23725f2f | |||
| 2a66cb0014 | |||
| be96d1dbf7 | |||
| ff97832d9f | |||
| adcfc52c60 |
30 changed files with 918 additions and 402 deletions
337
flake.lock
generated
337
flake.lock
generated
|
|
@ -37,11 +37,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772292445,
|
"lastModified": 1775558810,
|
||||||
"narHash": "sha256-4F1Q7U313TKUDDovCC96m/Za4wZcJ3yqtu4eSrj8lk8=",
|
"narHash": "sha256-fy95EdPnqQlpbP8+rk0yWKclWShCUS5VKs6P7/1MF2c=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "aquamarine",
|
"repo": "aquamarine",
|
||||||
"rev": "1dbbba659c1cef0b0202ce92cadfe13bae550e8f",
|
"rev": "7371b669b22aa2af980f913fc312a786d2f1abb2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -76,11 +76,11 @@
|
||||||
"rust-overlay": "rust-overlay"
|
"rust-overlay": "rust-overlay"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770895252,
|
"lastModified": 1774191766,
|
||||||
"narHash": "sha256-TUGZVDcC5xsrWVnpBNosAG1cTy+aWchCWXPyeLZdnGM=",
|
"narHash": "sha256-bvO+gfuUOVUiBEwAJ5A2RjpysPzCfyXD+DM8piOa1+4=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "2c86d41d07471f518e24f5cd1f586e4d2a32d12c",
|
"rev": "7a8fc2e646b97e5ae508a44d3449e3b41345d456",
|
||||||
"revCount": 1331,
|
"revCount": 1336,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://codeberg.org/LGFae/awww"
|
"url": "https://codeberg.org/LGFae/awww"
|
||||||
},
|
},
|
||||||
|
|
@ -98,11 +98,11 @@
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772820255,
|
"lastModified": 1775586808,
|
||||||
"narHash": "sha256-vdktxEQihZUcKiwbaYCBl8LuTrJZULpjwqtJyBzXBN8=",
|
"narHash": "sha256-4Sk8qj8kFO3dhrxX5WVOGSISyILJTCmjR5eeGuX1lY4=",
|
||||||
"owner": "xddxdd",
|
"owner": "xddxdd",
|
||||||
"repo": "nix-cachyos-kernel",
|
"repo": "nix-cachyos-kernel",
|
||||||
"rev": "aada771f510dbd9ac48614cc7b4b21a292989d3a",
|
"rev": "97ca4cf337f839170998814f0f347857596a1794",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -114,11 +114,11 @@
|
||||||
"cachyos-kernel": {
|
"cachyos-kernel": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772644657,
|
"lastModified": 1775535525,
|
||||||
"narHash": "sha256-7zQSBFv9gFeYhe65NchqLLste7mJ396jA1OnNcf+OQQ=",
|
"narHash": "sha256-Q1HqL7lxx3sIYaAb+e4pl9L4Le3a3bEm/2IY9kSzARU=",
|
||||||
"owner": "CachyOS",
|
"owner": "CachyOS",
|
||||||
"repo": "linux-cachyos",
|
"repo": "linux-cachyos",
|
||||||
"rev": "ff5ccc4fa26d5272d929fb9c1838593a6347ca10",
|
"rev": "708043b2186d50d4e6ec1a1377b1452de08c3b91",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -130,11 +130,11 @@
|
||||||
"cachyos-kernel-patches": {
|
"cachyos-kernel-patches": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772731186,
|
"lastModified": 1775568994,
|
||||||
"narHash": "sha256-y70pS9Cma7+WCsni3VTacHh9g/udulmBS6zrYE2Fz64=",
|
"narHash": "sha256-geh/xiRM8JFBo7lPuV9Op0LAZHz/VdhSQuCYNTthTJw=",
|
||||||
"owner": "CachyOS",
|
"owner": "CachyOS",
|
||||||
"repo": "kernel-patches",
|
"repo": "kernel-patches",
|
||||||
"rev": "eac8168ee15f742547d4d20ba5c7fea283f23019",
|
"rev": "b953e9a0044ab79b30abccee243afebfc185b622",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -227,33 +227,12 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fenix": {
|
"fenix": {
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs-unstable"
|
|
||||||
],
|
|
||||||
"rust-analyzer-src": "rust-analyzer-src"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1772780947,
|
|
||||||
"narHash": "sha256-cblRAy3ctJniRFaSLpqYeHor+RJhkptPZNMUc4Sl+v4=",
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "fenix",
|
|
||||||
"rev": "26a5e59df51222c849deb63c9196ac6d7a531535",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "fenix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fenix_2": {
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"iamb",
|
"iamb",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"rust-analyzer-src": "rust-analyzer-src_2"
|
"rust-analyzer-src": "rust-analyzer-src"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1760510549,
|
"lastModified": 1760510549,
|
||||||
|
|
@ -352,11 +331,11 @@
|
||||||
"nixpkgs-lib": "nixpkgs-lib"
|
"nixpkgs-lib": "nixpkgs-lib"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772408722,
|
"lastModified": 1775087534,
|
||||||
"narHash": "sha256-rHuJtdcOjK7rAHpHphUb1iCvgkU3GpfvicLMwwnfMT0=",
|
"narHash": "sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "f20dc5d9b8027381c474144ecabc9034d6a839a3",
|
"rev": "3107b77cd68437b9a76194f0f7f9c55f2329ca5b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -489,11 +468,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772633058,
|
"lastModified": 1775425411,
|
||||||
"narHash": "sha256-SO7JapRy2HPhgmqiLbfnW1kMx5rakPMKZ9z3wtRLQjI=",
|
"narHash": "sha256-KY6HsebJHEe5nHOWP7ur09mb0drGxYSzE3rQxy62rJo=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "080657a04188aca25f8a6c70a0fb2ea7e37f1865",
|
"rev": "0d02ec1d0a05f88ef9e74b516842900c41f0f2fe",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -510,11 +489,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772807318,
|
"lastModified": 1775598298,
|
||||||
"narHash": "sha256-Qjw6ILt8cb2HQQpCmWNLMZZ63wEo1KjTQt+1BcQBr7k=",
|
"narHash": "sha256-FZRwskiertE+8wgFKjLoc/41UrVqzR2V3QseMBHuo/g=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "daa2c221320809f5514edde74d0ad0193ad54ed8",
|
"rev": "98b4d61cfaf825c8b691afae0b6e152f0cc05c86",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -531,11 +510,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772633058,
|
"lastModified": 1775425411,
|
||||||
"narHash": "sha256-SO7JapRy2HPhgmqiLbfnW1kMx5rakPMKZ9z3wtRLQjI=",
|
"narHash": "sha256-KY6HsebJHEe5nHOWP7ur09mb0drGxYSzE3rQxy62rJo=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "080657a04188aca25f8a6c70a0fb2ea7e37f1865",
|
"rev": "0d02ec1d0a05f88ef9e74b516842900c41f0f2fe",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -553,11 +532,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772330611,
|
"lastModified": 1774991950,
|
||||||
"narHash": "sha256-UZjPc/d5XRxvjDbk4veAO4XFdvx6BUum2l40V688Xq8=",
|
"narHash": "sha256-kScKj3qJDIWuN9/6PMmgy5esrTUkYinrO5VvILik/zw=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "58fd7ff0eec2cda43e705c4c0585729ec471d400",
|
"rev": "f2d3e04e278422c7379e067e323734f3e8c585a7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -582,11 +561,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1753964049,
|
"lastModified": 1772461003,
|
||||||
"narHash": "sha256-lIqabfBY7z/OANxHoPeIrDJrFyYy9jAM4GQLzZ2feCM=",
|
"narHash": "sha256-pVICsV7FtcEeVwg5y/LFh3XFUkVJninm/P1j/JHzEbM=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprcursor",
|
"repo": "hyprcursor",
|
||||||
"rev": "44e91d467bdad8dcf8bbd2ac7cf49972540980a5",
|
"rev": "b62396457b9cfe2ebf24fe05404b09d2a40f8ed7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -611,11 +590,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770511807,
|
"lastModified": 1775496928,
|
||||||
"narHash": "sha256-suKmSbSk34uPOJDTg/GbPrKEJutzK08vj0VoTvAFBCA=",
|
"narHash": "sha256-Ds759WU03mGWtu3I43J+5GF5Ni8TvF+GYQUFD+fVeMo=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprgraphics",
|
"repo": "hyprgraphics",
|
||||||
"rev": "7c75487edd43a71b61adb01cae8326d277aab683",
|
"rev": "cf95d93d17baa18f1d9b016b3afe27f820521a6e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -643,11 +622,11 @@
|
||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772833450,
|
"lastModified": 1775578056,
|
||||||
"narHash": "sha256-XuuvhTD/72mH8MBncTeOyN0JzLCtwav7lkwBQlIofd4=",
|
"narHash": "sha256-TiSPoIM8EBf6Z6Hrne5wX4hPfss1xTRcRfTL6+DfmLo=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "Hyprland",
|
"repo": "Hyprland",
|
||||||
"rev": "4152ac76d0813d9d0f67d2f04653a13fa6e17433",
|
"rev": "75dc67e63f1873f1e97f73daf0ce284f75afa97c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -689,11 +668,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1767023960,
|
"lastModified": 1774710575,
|
||||||
"narHash": "sha256-R2HgtVS1G3KSIKAQ77aOZ+Q0HituOmPgXW9nBNkpp3Q=",
|
"narHash": "sha256-p7Rcw13+gA4Z9EI3oGYe3neQ3FqyOOfZCleBTfhJ95Q=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprland-guiutils",
|
"repo": "hyprland-guiutils",
|
||||||
"rev": "c2e906261142f5dd1ee0bfc44abba23e2754c660",
|
"rev": "0703df899520001209646246bef63358c9881e36",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -702,36 +681,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"hyprland-plugins": {
|
|
||||||
"inputs": {
|
|
||||||
"hyprland": [
|
|
||||||
"hyprland-git"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
|
||||||
"hyprland-plugins",
|
|
||||||
"hyprland",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"hyprland-plugins",
|
|
||||||
"hyprland",
|
|
||||||
"systems"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1771865848,
|
|
||||||
"narHash": "sha256-xwNa+1D8WPsDnJtUofDrtyDCZKZotbUymzV/R5s+M0I=",
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprland-plugins",
|
|
||||||
"rev": "b85a56b9531013c79f2f3846fd6ee2ff014b8960",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hyprwm",
|
|
||||||
"repo": "hyprland-plugins",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hyprland-protocols": {
|
"hyprland-protocols": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
|
@ -744,11 +693,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1765214753,
|
"lastModified": 1772460177,
|
||||||
"narHash": "sha256-P9zdGXOzToJJgu5sVjv7oeOGPIIwrd9hAUAP3PsmBBs=",
|
"narHash": "sha256-/6G/MsPvtn7bc4Y32pserBT/Z4SUUdBd4XYJpOEKVR4=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprland-protocols",
|
"repo": "hyprland-protocols",
|
||||||
"rev": "3f3860b869014c00e8b9e0528c7b4ddc335c21ab",
|
"rev": "1cb6db5fd6bb8aee419f4457402fa18293ace917",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -773,11 +722,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771866172,
|
"lastModified": 1772459629,
|
||||||
"narHash": "sha256-fYFoXhQLrm1rD8vSFKQBOEX4OGCuJdLt1amKfHd5GAw=",
|
"narHash": "sha256-/iwvNUYShmmnwmz/czEUh6+0eF5vCMv0xtDW0STPIuM=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprlang",
|
"repo": "hyprlang",
|
||||||
"rev": "0b219224910e7642eb0ed49f0db5ec3d008e3e41",
|
"rev": "7615ee388de18239a4ab1400946f3d0e498a8186",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -825,11 +774,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1764592794,
|
"lastModified": 1772462885,
|
||||||
"narHash": "sha256-7CcO+wbTJ1L1NBQHierHzheQGPWwkIQug/w+fhTAVuU=",
|
"narHash": "sha256-5pHXrQK9zasMnIo6yME6EOXmWGFMSnCITcfKshhKJ9I=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprtoolkit",
|
"repo": "hyprtoolkit",
|
||||||
"rev": "5cfe0743f0e608e1462972303778d8a0859ee63e",
|
"rev": "9af245a69fa6b286b88ddfc340afd288e00a6998",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -850,11 +799,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771271487,
|
"lastModified": 1774911391,
|
||||||
"narHash": "sha256-41gEiUS0Pyw3L/ge1l8MXn61cK14VAhgWB/JV8s/oNI=",
|
"narHash": "sha256-c4YVwO33Mmw+FIV8E0u3atJZagHvGTJ9Jai6RtiB8rE=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprutils",
|
"repo": "hyprutils",
|
||||||
"rev": "340a792e3b3d482c4ae5f66d27a9096bdee6d76d",
|
"rev": "e6caa3d4d1427eedbdf556cf4ceb70f2d9c0b56d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -875,11 +824,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770501770,
|
"lastModified": 1772459835,
|
||||||
"narHash": "sha256-NWRM6+YxTRv+bT9yvlhhJ2iLae1B1pNH3mAL5wi2rlQ=",
|
"narHash": "sha256-978jRz/y/9TKmZb/qD4lEYHCQGHpEXGqy+8X2lFZsak=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprwayland-scanner",
|
"repo": "hyprwayland-scanner",
|
||||||
"rev": "0bd8b6cde9ec27d48aad9e5b4deefb3746909d40",
|
"rev": "0a692d4a645165eebd65f109146b8861e3a925e7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -904,11 +853,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771606233,
|
"lastModified": 1775414057,
|
||||||
"narHash": "sha256-F3PLUqQ/TwgR70U+UeOqJnihJZ2EuunzojYC4g5xHr0=",
|
"narHash": "sha256-mDpHnf+MkdOxEqIM1TnckYYh9p1SXR8B3KQfNZ12M8s=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprwire",
|
"repo": "hyprwire",
|
||||||
"rev": "06c7f1f8c4194786c8400653c4efc49dc14c0f3a",
|
"rev": "86012ee01b0fdd8bf3101ef38816f2efbee42490",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -920,7 +869,7 @@
|
||||||
"iamb": {
|
"iamb": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"crane": "crane",
|
"crane": "crane",
|
||||||
"fenix": "fenix_2",
|
"fenix": "fenix",
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs-unstable"
|
"nixpkgs-unstable"
|
||||||
|
|
@ -1034,16 +983,16 @@
|
||||||
"scenefx": "scenefx"
|
"scenefx": "scenefx"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772792509,
|
"lastModified": 1775461179,
|
||||||
"narHash": "sha256-c2X+x/D8txqV5UaN6TYYh9PEXyMaWVZl4mAQ0Sl21f8=",
|
"narHash": "sha256-4vvuk6tl8M2wuW3VJU9Uwc3HCrL95cSJImEODNNQEy8=",
|
||||||
"owner": "DreamMaoMao",
|
"owner": "mangowm",
|
||||||
"repo": "mangowc",
|
"repo": "mango",
|
||||||
"rev": "9a17a0279c39b330d155d50282d1d2641d519dc3",
|
"rev": "e83a9dff820ce2215ecbbbea7d617d24d0825174",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "DreamMaoMao",
|
"owner": "mangowm",
|
||||||
"repo": "mangowc",
|
"repo": "mango",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -1056,11 +1005,11 @@
|
||||||
"spectrum": "spectrum"
|
"spectrum": "spectrum"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772742184,
|
"lastModified": 1775329298,
|
||||||
"narHash": "sha256-zGnRxJQZ8wZTwvSxF4SAGoefbta15/W032tK22uIF2E=",
|
"narHash": "sha256-xmntQolopr1WwBO5rAC+SKyON+ritVQLUHZdvpjUM90=",
|
||||||
"owner": "microvm-nix",
|
"owner": "microvm-nix",
|
||||||
"repo": "microvm.nix",
|
"repo": "microvm.nix",
|
||||||
"rev": "a257ca90febb686c75826918f9f8876d74f875eb",
|
"rev": "4a9ff5adcefd23e68de76f33ebc7b3909e06c09b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -1077,11 +1026,11 @@
|
||||||
"spectrum": "spectrum_2"
|
"spectrum": "spectrum_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772742184,
|
"lastModified": 1775329298,
|
||||||
"narHash": "sha256-zGnRxJQZ8wZTwvSxF4SAGoefbta15/W032tK22uIF2E=",
|
"narHash": "sha256-xmntQolopr1WwBO5rAC+SKyON+ritVQLUHZdvpjUM90=",
|
||||||
"owner": "microvm-nix",
|
"owner": "microvm-nix",
|
||||||
"repo": "microvm.nix",
|
"repo": "microvm.nix",
|
||||||
"rev": "a257ca90febb686c75826918f9f8876d74f875eb",
|
"rev": "4a9ff5adcefd23e68de76f33ebc7b3909e06c09b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -1246,11 +1195,11 @@
|
||||||
},
|
},
|
||||||
"nixcats": {
|
"nixcats": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770584904,
|
"lastModified": 1774835836,
|
||||||
"narHash": "sha256-9Zaz8lbKF2W9pwXZEnbiGsicHdBoU+dHt3Wv3mCJoZ8=",
|
"narHash": "sha256-6ok7iv/9R82vl6MYe3Lwyyb6S5bmW2PxEZtmjzlqyPs=",
|
||||||
"owner": "BirdeeHub",
|
"owner": "BirdeeHub",
|
||||||
"repo": "nixCats-nvim",
|
"repo": "nixCats-nvim",
|
||||||
"rev": "538fdde784d2909700d97a8ef307783b33a86fb1",
|
"rev": "ebb9f279a55ca60ff4e37e4accf6518dc627aa8d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -1265,14 +1214,15 @@
|
||||||
"flake-parts": "flake-parts_4",
|
"flake-parts": "flake-parts_4",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
],
|
||||||
|
"nixpkgs-nixcord": "nixpkgs-nixcord"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772813986,
|
"lastModified": 1775592269,
|
||||||
"narHash": "sha256-x0fD+LL+O99p36c2UnjnHvVq4/7TvGH/8G5lTNIJBCo=",
|
"narHash": "sha256-SB76MADRKDwYwLmKP3tpjlnhmQ9xVBE6WHyv9sskvZI=",
|
||||||
"owner": "FlameFlag",
|
"owner": "FlameFlag",
|
||||||
"repo": "nixcord",
|
"repo": "nixcord",
|
||||||
"rev": "e433a2919eb9b3a8c85ab3017c08685816e63a66",
|
"rev": "814ebf38f04e99a37ebaf9159f5112238f828a1e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -1283,11 +1233,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772774498,
|
"lastModified": 1775545155,
|
||||||
"narHash": "sha256-85HBHBEzVRQ0ZRe6u3E2snUvAyTr5mSvi5m2vl4HExo=",
|
"narHash": "sha256-hTjWyj6wz9Iw6IjfrP+rZj1V1DjbVRCd1WjcpxH8Fqs=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "943ba5b1a58e68eb9a2c284ba6e3b30ebfe45abe",
|
"rev": "f97e195236002ce34b91d43ffe68557ac7d007fc",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -1299,11 +1249,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-lib": {
|
"nixpkgs-lib": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772328832,
|
"lastModified": 1774748309,
|
||||||
"narHash": "sha256-e+/T/pmEkLP6BHhYjx6GmwP5ivonQQn0bJdH9YrRB+Q=",
|
"narHash": "sha256-+U7gF3qxzwD5TZuANzZPeJTZRHS29OFQgkQ2kiTJBIQ=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixpkgs.lib",
|
"repo": "nixpkgs.lib",
|
||||||
"rev": "c185c7a5e5dd8f9add5b2f8ebeff00888b070742",
|
"rev": "333c4e0545a6da976206c74db8773a1645b5870a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -1344,11 +1294,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-master": {
|
"nixpkgs-master": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772820052,
|
"lastModified": 1775605449,
|
||||||
"narHash": "sha256-qXEI8n+4eXT+BqMzUMuKFdkltE82TjgIceiJCpdjzD4=",
|
"narHash": "sha256-7xNGBc+aDnV5O2NEbVedKqTJZf7fMQplQ2KP0Uuso2c=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "d78e468770f4ab5e00c5015f4d77c1a499a76dc8",
|
"rev": "ad1602de15363141e019f759c7c9fe8646b28b30",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -1358,13 +1308,29 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs-staging": {
|
"nixpkgs-nixcord": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772820753,
|
"lastModified": 1773222311,
|
||||||
"narHash": "sha256-Sv689sGseiqNPXGSggxrESyivroe8cgY4dxqJdBLsEc=",
|
"narHash": "sha256-BHoB/XpbqoZkVYZCfXJXfkR+GXFqwb/4zbWnOr2cRcU=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "e2239e5b2c5676b963d78dccbee06a9bbbdb05d6",
|
"rev": "0590cd39f728e129122770c029970378a79d076a",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-25.11",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs-staging": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1775585988,
|
||||||
|
"narHash": "sha256-lIfMIN05ks3wNz3MqM9H6RkdNLg6RJuuDH0o4o1LOvI=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "2d38540b4428002cf24c82e81d947a3b2670d8a6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -1376,11 +1342,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772624091,
|
"lastModified": 1775423009,
|
||||||
"narHash": "sha256-QKyJ0QGWBn6r0invrMAK8dmJoBYWoOWy7lN+UHzW1jc=",
|
"narHash": "sha256-vPKLpjhIVWdDrfiUM8atW6YkIggCEKdSAlJPzzhkQlw=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "80bdc1e5ce51f56b19791b52b2901187931f5353",
|
"rev": "68d8aa3d661f0e6bd5862291b5bb263b2a6595c9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -1408,11 +1374,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772598333,
|
"lastModified": 1775305101,
|
||||||
"narHash": "sha256-YaHht/C35INEX3DeJQNWjNaTcPjYmBwwjFJ2jdtr+5U=",
|
"narHash": "sha256-/74n1oQPtKG52Yw41cbToxspxHbYz6O3vi+XEw16Qe8=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "fabb8c9deee281e50b1065002c9828f2cf7b2239",
|
"rev": "36a601196c4ebf49e035270e10b2d103fe39076b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -1452,11 +1418,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772024342,
|
"lastModified": 1775036584,
|
||||||
"narHash": "sha256-+eXlIc4/7dE6EcPs9a2DaSY3fTA9AE526hGqkNID3Wg=",
|
"narHash": "sha256-zW0lyy7ZNNT/x8JhzFHBsP2IPx7ATZIPai4FJj12BgU=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "git-hooks.nix",
|
"repo": "git-hooks.nix",
|
||||||
"rev": "6e34e97ed9788b17796ee43ccdbaf871a5c2b476",
|
"rev": "4e0eb042b67d863b1b34b3f64d52ceb9cd926735",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -1487,11 +1453,9 @@
|
||||||
"awww": "awww",
|
"awww": "awww",
|
||||||
"cachyos": "cachyos",
|
"cachyos": "cachyos",
|
||||||
"cerulean": "cerulean",
|
"cerulean": "cerulean",
|
||||||
"fenix": "fenix",
|
|
||||||
"home-manager": "home-manager_2",
|
"home-manager": "home-manager_2",
|
||||||
"home-manager-unstable": "home-manager-unstable",
|
"home-manager-unstable": "home-manager-unstable",
|
||||||
"hyprland-git": "hyprland-git",
|
"hyprland-git": "hyprland-git",
|
||||||
"hyprland-plugins": "hyprland-plugins",
|
|
||||||
"iamb": "iamb",
|
"iamb": "iamb",
|
||||||
"mango": "mango",
|
"mango": "mango",
|
||||||
"microvm": "microvm_2",
|
"microvm": "microvm_2",
|
||||||
|
|
@ -1509,23 +1473,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-analyzer-src": {
|
"rust-analyzer-src": {
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1772701851,
|
|
||||||
"narHash": "sha256-2g4Xg+w6wx2ewn1Tv576RzDc6Uof99H8kofHWdJktEs=",
|
|
||||||
"owner": "rust-lang",
|
|
||||||
"repo": "rust-analyzer",
|
|
||||||
"rev": "2a8f00fb9344cc6701063192fe0aaf66ecf9d337",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "rust-lang",
|
|
||||||
"ref": "nightly",
|
|
||||||
"repo": "rust-analyzer",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rust-analyzer-src_2": {
|
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1760457219,
|
"lastModified": 1760457219,
|
||||||
|
|
@ -1591,11 +1538,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771956684,
|
"lastModified": 1775529071,
|
||||||
"narHash": "sha256-+EtzmEzGA2xqwIvKrP0euYaOzrmTQWEWAiWV+k2WBEM=",
|
"narHash": "sha256-z7LF/Vn8Zfbh5pgF/y7TPhz19AwTlQKrfGJdJHpOqOg=",
|
||||||
"owner": "uiriansan",
|
"owner": "uiriansan",
|
||||||
"repo": "SilentSDDM",
|
"repo": "SilentSDDM",
|
||||||
"rev": "34f82e1fb8412fff78b82a0dcce763492b36054c",
|
"rev": "f8ec3cd49dcd98c04860ca1ac105727b5cfc6981",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -1607,11 +1554,11 @@
|
||||||
"spectrum": {
|
"spectrum": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1759482047,
|
"lastModified": 1772189877,
|
||||||
"narHash": "sha256-H1wiXRQHxxPyMMlP39ce3ROKCwI5/tUn36P8x6dFiiQ=",
|
"narHash": "sha256-i1p90Rgssb//aNiTDFq46ZG/fk3LmyRLChtp/9lddyA=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "c5d5786d3dc938af0b279c542d1e43bce381b4b9",
|
"rev": "fe39e122d898f66e89ffa17d4f4209989ccb5358",
|
||||||
"revCount": 996,
|
"revCount": 1255,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://spectrum-os.org/git/spectrum"
|
"url": "https://spectrum-os.org/git/spectrum"
|
||||||
},
|
},
|
||||||
|
|
@ -1623,11 +1570,11 @@
|
||||||
"spectrum_2": {
|
"spectrum_2": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1759482047,
|
"lastModified": 1772189877,
|
||||||
"narHash": "sha256-H1wiXRQHxxPyMMlP39ce3ROKCwI5/tUn36P8x6dFiiQ=",
|
"narHash": "sha256-i1p90Rgssb//aNiTDFq46ZG/fk3LmyRLChtp/9lddyA=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "c5d5786d3dc938af0b279c542d1e43bce381b4b9",
|
"rev": "fe39e122d898f66e89ffa17d4f4209989ccb5358",
|
||||||
"revCount": 996,
|
"revCount": 1255,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://spectrum-os.org/git/spectrum"
|
"url": "https://spectrum-os.org/git/spectrum"
|
||||||
},
|
},
|
||||||
|
|
@ -1646,11 +1593,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772494187,
|
"lastModified": 1775421933,
|
||||||
"narHash": "sha256-6ksgNAFXVK+Cg/6ww7bB2nJUPZlnS75UwZC7G+L03EE=",
|
"narHash": "sha256-JkEbzFDFTsUlVtHEzA8Y4r3O9LInhb96eOCbtGjGnbM=",
|
||||||
"owner": "Gerg-L",
|
"owner": "Gerg-L",
|
||||||
"repo": "spicetify-nix",
|
"repo": "spicetify-nix",
|
||||||
"rev": "915ab06b046d05613041780c575c62a32fe67cea",
|
"rev": "ec8d73085fdf807d55765335dc8126e14e7b2096",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -1820,11 +1767,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1761431178,
|
"lastModified": 1773601989,
|
||||||
"narHash": "sha256-xzjC1CV3+wpUQKNF+GnadnkeGUCJX+vgaWIZsnz9tzI=",
|
"narHash": "sha256-2tJf/CQoHApoIudxHeJye+0Ii7scR0Yyi7pNiWk0Hn8=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "xdg-desktop-portal-hyprland",
|
"repo": "xdg-desktop-portal-hyprland",
|
||||||
"rev": "4b8801228ff958d028f588f0c2b911dbf32297f9",
|
"rev": "a9b862d1aa000a676d310cc62d249f7ad726233d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -1841,11 +1788,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772772172,
|
"lastModified": 1775453133,
|
||||||
"narHash": "sha256-OCEb6jXTvhnMTMqMLleYChekDO/zh+VtunBAS0WevPM=",
|
"narHash": "sha256-VIlMG985ONqVqF+OnPuS5Shbz5k6tqbOWnDL7EH+IT4=",
|
||||||
"owner": "0xc000022070",
|
"owner": "0xc000022070",
|
||||||
"repo": "zen-browser-flake",
|
"repo": "zen-browser-flake",
|
||||||
"rev": "5f8f34c0dd56808ecbfa35697353c455e4a416b3",
|
"rev": "8d0508ffceba8ad785ae442591dd115080a55142",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
15
flake.nix
15
flake.nix
|
|
@ -40,13 +40,13 @@
|
||||||
url = "github:hyprwm/Hyprland";
|
url = "github:hyprwm/Hyprland";
|
||||||
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||||
};
|
};
|
||||||
hyprland-plugins = {
|
# hyprland-plugins = {
|
||||||
url = "github:hyprwm/hyprland-plugins";
|
# url = "github:hyprwm/hyprland-plugins";
|
||||||
inputs.hyprland.follows = "hyprland-git";
|
# inputs.hyprland.follows = "hyprland-git";
|
||||||
};
|
# };
|
||||||
|
|
||||||
mango = {
|
mango = {
|
||||||
url = "github:DreamMaoMao/mangowc";
|
url = "github:mangowm/mango";
|
||||||
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -85,11 +85,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
fenix = {
|
|
||||||
url = "github:nix-community/fenix";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
|
||||||
};
|
|
||||||
|
|
||||||
# temp theme until i bother creating my own </3
|
# temp theme until i bother creating my own </3
|
||||||
sddm-silent = {
|
sddm-silent = {
|
||||||
url = "github:uiriansan/SilentSDDM";
|
url = "github:uiriansan/SilentSDDM";
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
experimental-features = ["nix-command" "flakes"];
|
experimental-features = ["nix-command" "flakes" "pipe-operators"];
|
||||||
download-buffer-size = 524288000;
|
download-buffer-size = 524288000;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -85,8 +85,8 @@
|
||||||
|
|
||||||
# fonts
|
# fonts
|
||||||
nerd-fonts.departure-mono # pretty pixel art font i love!! x3
|
nerd-fonts.departure-mono # pretty pixel art font i love!! x3
|
||||||
nerd-fonts.jetbrains-mono
|
noto-fonts-cjk-sans # bitmap font for cjk support :3
|
||||||
noto-fonts
|
zpix-pixel-font # bitmap font for cjk support :3
|
||||||
|
|
||||||
# cli / tui tools and commands!
|
# cli / tui tools and commands!
|
||||||
eza # replaces: ls (rust)
|
eza # replaces: ls (rust)
|
||||||
|
|
@ -109,12 +109,15 @@
|
||||||
exiftool # display and edit metadata on a variety of files
|
exiftool # display and edit metadata on a variety of files
|
||||||
halloy # irc tui app written in rust
|
halloy # irc tui app written in rust
|
||||||
pastel # color generator / manipulator :3 i love colors!! <3
|
pastel # color generator / manipulator :3 i love colors!! <3
|
||||||
eva # calculator repl
|
eva # calculator repl
|
||||||
silicon # makes pretty images of code :3
|
silicon # makes pretty images of code :3
|
||||||
|
wormhole-rs # send people stuff!! :3
|
||||||
|
croc # other way to send people stuff!! :3
|
||||||
|
|
||||||
# cli fun
|
# cli fun
|
||||||
pokeget-rs # prints a random pokemon to the terminal :3
|
pokeget-rs # prints a random pokemon to the terminal :3
|
||||||
pipes # pipes program <3
|
pipes # pipes program <3
|
||||||
|
cmatrix # the matrix :3
|
||||||
|
|
||||||
# dev
|
# dev
|
||||||
gnumake
|
gnumake
|
||||||
|
|
@ -130,6 +133,7 @@
|
||||||
gleam
|
gleam
|
||||||
delta # git diff viewer
|
delta # git diff viewer
|
||||||
tlrc # tldr rust client
|
tlrc # tldr rust client
|
||||||
|
shellcheck
|
||||||
|
|
||||||
# apps
|
# apps
|
||||||
qutebrowser # keyboard-focused browser (chromium)
|
qutebrowser # keyboard-focused browser (chromium)
|
||||||
|
|
@ -139,7 +143,6 @@
|
||||||
obsidian # literally best notes app (i use vim mode)
|
obsidian # literally best notes app (i use vim mode)
|
||||||
qimgv # image viewer!
|
qimgv # image viewer!
|
||||||
feh # other image viewer! (im indecisive)
|
feh # other image viewer! (im indecisive)
|
||||||
vesktop # modded discord client!
|
|
||||||
gimp # open source image manipulation program
|
gimp # open source image manipulation program
|
||||||
krita # open source painting application!
|
krita # open source painting application!
|
||||||
imhex # hex editor
|
imhex # hex editor
|
||||||
|
|
@ -153,6 +156,7 @@
|
||||||
element-desktop # 'official' gui matrix client
|
element-desktop # 'official' gui matrix client
|
||||||
blender # AMAZING 3D MODELLING PROGRAMMM <3
|
blender # AMAZING 3D MODELLING PROGRAMMM <3
|
||||||
session-desktop # idk silly chat app
|
session-desktop # idk silly chat app
|
||||||
|
localsend # share files locally :3
|
||||||
|
|
||||||
# media
|
# media
|
||||||
playerctl # mpris cli interface for media apps :3
|
playerctl # mpris cli interface for media apps :3
|
||||||
|
|
@ -173,7 +177,6 @@
|
||||||
# gui settings apps
|
# gui settings apps
|
||||||
nwg-look # gtk 2 / 3 settings thing idc i hate gtk
|
nwg-look # gtk 2 / 3 settings thing idc i hate gtk
|
||||||
pavucontrol # i wanna get rid of this but its audio control thing
|
pavucontrol # i wanna get rid of this but its audio control thing
|
||||||
rquickshare # android quick share (this is pretty cool!!)
|
|
||||||
|
|
||||||
# wayland desktop tools / de / wm stuff / gui stuffs
|
# wayland desktop tools / de / wm stuff / gui stuffs
|
||||||
cliphist
|
cliphist
|
||||||
|
|
@ -289,7 +292,7 @@
|
||||||
git.pagers = [
|
git.pagers = [
|
||||||
{
|
{
|
||||||
colorArg = "always";
|
colorArg = "always";
|
||||||
pager = "delta --dark --pager=never --line-numbers --side-by-side";
|
pager = "delta --dark --pager=never";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
@ -318,7 +321,6 @@
|
||||||
zen-browser = {
|
zen-browser = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = inputs.zen.packages.${system}.twilight;
|
package = inputs.zen.packages.${system}.twilight;
|
||||||
suppressXdgMigrationWarning = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
mpv = {
|
mpv = {
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
* {
|
* {
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
font-family: 'DepartureMono Nerd Font';
|
font-family: "DepartureMono Nerd Font", "Unifont";
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
min-height: 10px;
|
min-height: 10px;
|
||||||
|
|
@ -37,6 +37,7 @@ tooltip label {
|
||||||
#network,
|
#network,
|
||||||
#workspaces,
|
#workspaces,
|
||||||
#taskbar,
|
#taskbar,
|
||||||
|
#submap,
|
||||||
#cpu,
|
#cpu,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#privacy,
|
#privacy,
|
||||||
|
|
@ -48,6 +49,7 @@ tooltip label {
|
||||||
padding: 4px 16px;
|
padding: 4px 16px;
|
||||||
border-radius: 32px;
|
border-radius: 32px;
|
||||||
border: 1px solid @color01;
|
border: 1px solid @color01;
|
||||||
|
min-height: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
@ -74,6 +76,7 @@ right-side modules
|
||||||
#cpu,
|
#cpu,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#tray,
|
#tray,
|
||||||
|
#submap,
|
||||||
#privacy {
|
#privacy {
|
||||||
margin: 4px 0px 4px 4px;
|
margin: 4px 0px 4px 4px;
|
||||||
}
|
}
|
||||||
|
|
@ -96,6 +99,34 @@ right-side modules
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#submap.name {
|
||||||
|
color: @colorfg;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio.sink {
|
||||||
|
margin: 4px 0 4px 4px;
|
||||||
|
border-radius: 32px 0px 0px 32px;
|
||||||
|
color: @colorbg;
|
||||||
|
border-color: @color12;
|
||||||
|
background-color: @color12;
|
||||||
|
}
|
||||||
|
#pulseaudio.sink.muted {
|
||||||
|
color: @color12;
|
||||||
|
background-color: @colorbg;
|
||||||
|
}
|
||||||
|
#pulseaudio.source {
|
||||||
|
margin: 4px 0 4px 0;
|
||||||
|
border-radius: 0px 32px 32px 0px;
|
||||||
|
border-width: 1px 1px 1px 0px;
|
||||||
|
color: @colorbg;
|
||||||
|
border-color: @color14;
|
||||||
|
background-color: @color14;
|
||||||
|
}
|
||||||
|
#pulseaudio.source.source-muted {
|
||||||
|
color: @color14;
|
||||||
|
background-color: @colorbg;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
connects the workspace and taskbar together :3
|
connects the workspace and taskbar together :3
|
||||||
*/
|
*/
|
||||||
|
|
@ -114,7 +145,7 @@ right-side modules
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#cpu {
|
#cpu {
|
||||||
margin: 4px 0 4px 0;
|
margin: 4px 0 4px 4px;
|
||||||
border-radius: 32px 0px 0px 32px;
|
border-radius: 32px 0px 0px 32px;
|
||||||
}
|
}
|
||||||
#memory {
|
#memory {
|
||||||
|
|
|
||||||
|
|
@ -6,24 +6,45 @@
|
||||||
layer = "top";
|
layer = "top";
|
||||||
position = "top";
|
position = "top";
|
||||||
height = 20;
|
height = 20;
|
||||||
modules-left = ["hyprland/workspaces" "wlr/taskbar" "custom/media"];
|
|
||||||
modules-center = ["clock"];
|
modules-left = [
|
||||||
modules-right = ["cpu" "memory" "network" "pulseaudio" "privacy" "tray"];
|
"hyprland/workspaces"
|
||||||
|
"wlr/taskbar"
|
||||||
|
"custom/media"
|
||||||
|
];
|
||||||
|
|
||||||
|
modules-center = [
|
||||||
|
"clock"
|
||||||
|
];
|
||||||
|
|
||||||
|
modules-right = [
|
||||||
|
"hyprland/submap"
|
||||||
|
"cpu"
|
||||||
|
"memory"
|
||||||
|
"network"
|
||||||
|
"pulseaudio#sink"
|
||||||
|
"pulseaudio#source"
|
||||||
|
"privacy"
|
||||||
|
"tray"
|
||||||
|
];
|
||||||
|
|
||||||
# left
|
# left
|
||||||
"hyprland/workspaces" = {
|
"hyprland/workspaces" = {
|
||||||
format = "{id}";
|
format = "{id}";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# not enabled yet, hyprland and mango need two different configs ;-;
|
||||||
"ext/workspaces" = {
|
"ext/workspaces" = {
|
||||||
# not enabled yet, hyprland and mango need two different configs ;-;
|
|
||||||
format = "{id}";
|
format = "{id}";
|
||||||
ignore-hidden = true;
|
ignore-hidden = true;
|
||||||
on-click = "activate";
|
on-click = "activate";
|
||||||
};
|
};
|
||||||
|
|
||||||
"wlr/taskbar" = {
|
"wlr/taskbar" = {
|
||||||
format = "{icon}";
|
format = "{icon}";
|
||||||
icon-size = 12;
|
icon-size = 12;
|
||||||
};
|
};
|
||||||
|
|
||||||
"custom/media" = {
|
"custom/media" = {
|
||||||
exec = "auroramedia";
|
exec = "auroramedia";
|
||||||
return-type = "json";
|
return-type = "json";
|
||||||
|
|
@ -39,14 +60,24 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# right
|
# right
|
||||||
|
"hyprland/submap" = {
|
||||||
|
format = "{}";
|
||||||
|
# always-on = true;
|
||||||
|
# default-submap = "normal";
|
||||||
|
max-length = 12;
|
||||||
|
tooltip = false;
|
||||||
|
};
|
||||||
|
|
||||||
"cpu" = {
|
"cpu" = {
|
||||||
format = " {usage}%";
|
format = " {usage}%";
|
||||||
interval = 1;
|
interval = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
"memory" = {
|
"memory" = {
|
||||||
format = " {used:0.1f} / {total:0.1f} GiB";
|
format = " {used:0.1f} / {total:0.1f} GiB";
|
||||||
interval = 1;
|
interval = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
"network" = {
|
"network" = {
|
||||||
format = "{bandwidthUpBytes} {bandwidthDownBytes} {ifname}";
|
format = "{bandwidthUpBytes} {bandwidthDownBytes} {ifname}";
|
||||||
format-wifi = " {bandwidthUpBytes} {bandwidthDownBytes} ";
|
format-wifi = " {bandwidthUpBytes} {bandwidthDownBytes} ";
|
||||||
|
|
@ -55,7 +86,8 @@
|
||||||
interval = 1;
|
interval = 1;
|
||||||
max-length = 32;
|
max-length = 32;
|
||||||
};
|
};
|
||||||
"pulseaudio" = {
|
|
||||||
|
"pulseaudio#sink" = {
|
||||||
format = "{icon} {volume}%";
|
format = "{icon} {volume}%";
|
||||||
format-muted = " {volume}%";
|
format-muted = " {volume}%";
|
||||||
format-icons = {
|
format-icons = {
|
||||||
|
|
@ -66,7 +98,18 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
"scroll-step" = 5;
|
"scroll-step" = 5;
|
||||||
|
tooltip = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"pulseaudio#source" = {
|
||||||
|
format = "{format_source}";
|
||||||
|
format-source = " {volume}%";
|
||||||
|
format-source-muted = " {volume}%";
|
||||||
|
on-scroll-up = "wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SOURCE@ 5%+";
|
||||||
|
on-scroll-down = "wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SOURCE@ 5%-";
|
||||||
|
tooltip = true;
|
||||||
|
};
|
||||||
|
|
||||||
"privacy" = {
|
"privacy" = {
|
||||||
icon-size = 12;
|
icon-size = 12;
|
||||||
icon-spacing = 5;
|
icon-spacing = 5;
|
||||||
|
|
@ -84,6 +127,7 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
"tray" = {
|
"tray" = {
|
||||||
icon-size = 12;
|
icon-size = 12;
|
||||||
spacing = 10;
|
spacing = 10;
|
||||||
|
|
|
||||||
|
|
@ -2,12 +2,16 @@ vim.g.mapleader = " "
|
||||||
|
|
||||||
vim.opt.termguicolors = true -- use terminal colors
|
vim.opt.termguicolors = true -- use terminal colors
|
||||||
vim.opt.relativenumber = true
|
vim.opt.relativenumber = true
|
||||||
|
vim.opt.number = true
|
||||||
vim.opt.wrap = false
|
vim.opt.wrap = false
|
||||||
vim.opt.colorcolumn = "80"
|
vim.opt.colorcolumn = "80"
|
||||||
|
vim.opt.scrolloff = 4
|
||||||
|
|
||||||
require("plugins")
|
require("plugins")
|
||||||
require("lsp")
|
require("lsp")
|
||||||
|
require("colors")
|
||||||
|
|
||||||
|
-- move windows :3
|
||||||
vim.keymap.set("n", "<A-h>", function()
|
vim.keymap.set("n", "<A-h>", function()
|
||||||
vim.cmd("wincmd h")
|
vim.cmd("wincmd h")
|
||||||
end)
|
end)
|
||||||
|
|
@ -21,73 +25,71 @@ vim.keymap.set("n", "<A-l>", function()
|
||||||
vim.cmd("wincmd l")
|
vim.cmd("wincmd l")
|
||||||
end)
|
end)
|
||||||
|
|
||||||
local uv = vim.loop
|
-- splits <3 (i love splits sm)
|
||||||
local colorscheme_filepath = "/home/aurora/.cache/nvim/neovim-colors"
|
vim.keymap.set("n", "<leader>s", function()
|
||||||
local colors = {}
|
vim.cmd("split")
|
||||||
|
end)
|
||||||
|
vim.keymap.set("n", "<leader>v", function()
|
||||||
|
vim.cmd("vsplit")
|
||||||
|
end)
|
||||||
|
|
||||||
-- function to load colors
|
-- u can put delta inside of neovim omg they are spoiling me <3
|
||||||
local function load_colors()
|
local git_diff_win = nil
|
||||||
local new_colors = {}
|
|
||||||
for line in io.lines(colorscheme_filepath) do
|
vim.api.nvim_create_autocmd("VimResized", {
|
||||||
table.insert(new_colors, line)
|
callback = function()
|
||||||
|
if git_diff_win and vim.api.nvim_win_is_valid(git_diff_win) then
|
||||||
|
local width = math.floor(vim.o.columns * 0.9)
|
||||||
|
local height = math.floor((vim.o.lines - 2) * 0.9)
|
||||||
|
|
||||||
|
vim.api.nvim_win_set_config(git_diff_win, {
|
||||||
|
relative = "editor",
|
||||||
|
width = width,
|
||||||
|
height = height,
|
||||||
|
col = math.floor((vim.o.columns - width) / 2),
|
||||||
|
row = math.floor((vim.o.lines - height) / 2) - 2,
|
||||||
|
})
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
|
vim.keymap.set("n", "<leader>gd", function()
|
||||||
|
if git_diff_win and vim.api.nvim_win_is_valid(git_diff_win) then
|
||||||
|
vim.api.nvim_win_close(git_diff_win, true)
|
||||||
|
git_diff_win = nil
|
||||||
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
-- ensure the table has enough entries to avoid indexing issues
|
local buf = vim.api.nvim_create_buf(false, true)
|
||||||
if #new_colors >= 18 then
|
|
||||||
colors = new_colors
|
|
||||||
require("base16-colorscheme").setup({
|
|
||||||
base00 = colors[17],
|
|
||||||
base01 = colors[1],
|
|
||||||
base02 = colors[3],
|
|
||||||
base03 = colors[3],
|
|
||||||
base04 = colors[5],
|
|
||||||
base05 = colors[8],
|
|
||||||
base06 = colors[5],
|
|
||||||
base07 = colors[8],
|
|
||||||
base08 = colors[18],
|
|
||||||
base09 = colors[4],
|
|
||||||
base0A = colors[11],
|
|
||||||
base0B = colors[5],
|
|
||||||
base0C = colors[6],
|
|
||||||
base0D = colors[7],
|
|
||||||
base0E = colors[6],
|
|
||||||
base0F = colors[16],
|
|
||||||
})
|
|
||||||
|
|
||||||
-- set colors for blink.cmp's completion menu
|
vim.bo[buf].filetype = "terminal"
|
||||||
vim.api.nvim_set_hl(0, "BlinkCmpMenu", { bg = colors[17] })
|
|
||||||
vim.api.nvim_set_hl(0, "BlinkCmpMenuBorder", { bg = colors[17], fg = colors[13] })
|
|
||||||
vim.api.nvim_set_hl(0, "BlinkCmpMenuSelection", { bg = colors[15], fg = colors[17] })
|
|
||||||
vim.api.nvim_set_hl(0, "BlinkCmpScrollBarThumb", { bg = colors[18] })
|
|
||||||
vim.api.nvim_set_hl(0, "BlinkCmpKind", { bg = colors[17], fg = colors[14] })
|
|
||||||
vim.api.nvim_set_hl(0, "BlinkCmpLabel", { bg = colors[17], fg = colors[18] })
|
|
||||||
vim.api.nvim_set_hl(0, "BlinkCmpLabelMatch", { bg = colors[17], fg = colors[18] })
|
|
||||||
vim.api.nvim_set_hl(0, "BlinkCmpLabelDetail", { bg = colors[17], fg = colors[18] })
|
|
||||||
vim.api.nvim_set_hl(0, "BlinkCmpLabelDescription", { bg = colors[17], fg = colors[18] })
|
|
||||||
else
|
|
||||||
print("Error: Not enough colors in file")
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
-- initial load
|
-- deletes the last two lines of the buffer when the process exits :3
|
||||||
load_colors()
|
vim.api.nvim_create_autocmd("TermClose", {
|
||||||
|
buffer = buf,
|
||||||
|
callback = function()
|
||||||
|
vim.defer_fn(function()
|
||||||
|
vim.bo[buf].modifiable = true
|
||||||
|
vim.api.nvim_buf_set_lines(buf, -3, -1, false, {})
|
||||||
|
vim.bo[buf].modifiable = false
|
||||||
|
end, 10)
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
-- vim.defer_fn(load_colors, 1)
|
local width = math.floor(vim.o.columns * 0.9)
|
||||||
|
local height = math.floor((vim.o.lines - 2) * 0.9)
|
||||||
|
|
||||||
-- set up a file watcher
|
git_diff_win = vim.api.nvim_open_win(buf, true, {
|
||||||
local function watch_colorscheme()
|
relative = "editor",
|
||||||
local handle
|
width = width,
|
||||||
handle = uv.new_fs_event()
|
height = height,
|
||||||
if handle then
|
col = math.floor((vim.o.columns - width) / 2),
|
||||||
uv.fs_event_start(handle, colorscheme_filepath, {}, function(err, _, _)
|
row = math.floor((vim.o.lines - height) / 2) - 2,
|
||||||
if err then
|
style = "minimal",
|
||||||
print("Error watching colorscheme file:", err)
|
border = "rounded",
|
||||||
return
|
})
|
||||||
end
|
|
||||||
-- debounce by adding a slight delay before reloading
|
|
||||||
vim.defer_fn(load_colors, 100)
|
|
||||||
end)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
watch_colorscheme()
|
vim.fn.jobstart("git diff | delta --pager=never", { term = true })
|
||||||
|
|
||||||
|
vim.keymap.set("n", "q", "<cmd>close<CR>", { buffer = buf })
|
||||||
|
end)
|
||||||
|
|
|
||||||
238
homes/modules/programs/neovim/lua/colors.lua
Normal file
238
homes/modules/programs/neovim/lua/colors.lua
Normal file
|
|
@ -0,0 +1,238 @@
|
||||||
|
local colorscheme_filepath = "/home/aurora/.cache/nvim/neovim-colors"
|
||||||
|
local colors = {}
|
||||||
|
|
||||||
|
local function hex_to_int(hex)
|
||||||
|
hex = hex:gsub("#", "")
|
||||||
|
return tonumber(hex:sub(1, 2), 16) * 0x10000 + tonumber(hex:sub(3, 4), 16) * 0x100 + tonumber(hex:sub(5, 6), 16)
|
||||||
|
end
|
||||||
|
|
||||||
|
-- TODO: change to use lab color space
|
||||||
|
local function blend_colors(c1, c2, t)
|
||||||
|
local r1 = math.floor(c1 / 0x10000)
|
||||||
|
local g1 = math.floor((c1 % 0x10000) / 0x100)
|
||||||
|
local b1 = c1 % 0x100
|
||||||
|
|
||||||
|
local r2 = math.floor(c2 / 0x10000)
|
||||||
|
local g2 = math.floor((c2 % 0x10000) / 0x100)
|
||||||
|
local b2 = c2 % 0x100
|
||||||
|
|
||||||
|
return math.floor(r1 + (r2 - r1) * t) * 0x10000
|
||||||
|
+ math.floor(g1 + (g2 - g1) * t) * 0x100
|
||||||
|
+ math.floor(b1 + (b2 - b1) * t)
|
||||||
|
end
|
||||||
|
|
||||||
|
-- function to load colors
|
||||||
|
local function load_colors()
|
||||||
|
local new_colors = {}
|
||||||
|
for line in io.lines(colorscheme_filepath) do
|
||||||
|
table.insert(new_colors, line)
|
||||||
|
end
|
||||||
|
|
||||||
|
-- ensure the table has enough entries to avoid indexing issues
|
||||||
|
if #new_colors == 18 then
|
||||||
|
colors = new_colors
|
||||||
|
require("base16-colorscheme").setup({
|
||||||
|
base00 = colors[18],
|
||||||
|
base01 = colors[1],
|
||||||
|
base02 = colors[3],
|
||||||
|
base03 = colors[3],
|
||||||
|
base04 = colors[5],
|
||||||
|
base05 = colors[8],
|
||||||
|
base06 = colors[5],
|
||||||
|
base07 = colors[8],
|
||||||
|
base08 = colors[17],
|
||||||
|
base09 = colors[4],
|
||||||
|
base0A = colors[11],
|
||||||
|
base0B = colors[5],
|
||||||
|
base0C = colors[6],
|
||||||
|
base0D = colors[7],
|
||||||
|
base0E = colors[6],
|
||||||
|
base0F = colors[16],
|
||||||
|
})
|
||||||
|
|
||||||
|
-- colors ------------------------------------------------------------------
|
||||||
|
|
||||||
|
local color_00 = colors[1]
|
||||||
|
local color_01 = colors[2]
|
||||||
|
local color_02 = colors[3]
|
||||||
|
local color_03 = colors[4]
|
||||||
|
local color_04 = colors[5]
|
||||||
|
local color_05 = colors[6]
|
||||||
|
local color_06 = colors[7]
|
||||||
|
local color_07 = colors[8]
|
||||||
|
|
||||||
|
local color_08 = colors[9]
|
||||||
|
local color_09 = colors[10]
|
||||||
|
local color_10 = colors[11]
|
||||||
|
local color_11 = colors[12]
|
||||||
|
local color_12 = colors[13]
|
||||||
|
local color_13 = colors[14]
|
||||||
|
local color_14 = colors[15]
|
||||||
|
local color_15 = colors[16]
|
||||||
|
|
||||||
|
local fg = colors[17]
|
||||||
|
local bg = colors[18]
|
||||||
|
|
||||||
|
local bg_90 = blend_colors(hex_to_int("#000000"), hex_to_int(bg), 0.90)
|
||||||
|
|
||||||
|
local fg_10 = blend_colors(hex_to_int(bg), hex_to_int(fg), 0.10)
|
||||||
|
local fg_30 = blend_colors(hex_to_int(bg), hex_to_int(fg), 0.30)
|
||||||
|
|
||||||
|
local secondary_10 = blend_colors(hex_to_int(bg), hex_to_int(color_13), 0.10)
|
||||||
|
local secondary_30 = blend_colors(hex_to_int(bg), hex_to_int(color_13), 0.30)
|
||||||
|
|
||||||
|
-- editor colors :3 --------------------------------------------------------
|
||||||
|
|
||||||
|
vim.api.nvim_set_hl(0, "Visual", { bg = secondary_10 })
|
||||||
|
vim.api.nvim_set_hl(0, "ColorColumn", { bg = secondary_30 })
|
||||||
|
|
||||||
|
-- blink.cmp ---------------------------------------------------------------
|
||||||
|
|
||||||
|
vim.api.nvim_set_hl(0, "BlinkCmpMenu", { bg = bg })
|
||||||
|
vim.api.nvim_set_hl(0, "BlinkCmpMenuBorder", { fg = color_12, bg = bg })
|
||||||
|
vim.api.nvim_set_hl(0, "BlinkCmpMenuSelection", { fg = bg, bg = color_14 })
|
||||||
|
vim.api.nvim_set_hl(0, "BlinkCmpScrollBarThumb", { bg = fg })
|
||||||
|
vim.api.nvim_set_hl(0, "BlinkCmpKind", { fg = fg, bg = bg })
|
||||||
|
vim.api.nvim_set_hl(0, "BlinkCmpLabel", { fg = fg, bg = bg })
|
||||||
|
vim.api.nvim_set_hl(0, "BlinkCmpLabelMatch", { fg = fg, bg = bg })
|
||||||
|
vim.api.nvim_set_hl(0, "BlinkCmpLabelDetail", { fg = fg, bg = bg })
|
||||||
|
vim.api.nvim_set_hl(0, "BlinkCmpLabelDescription", { fg = fg, bg = bg })
|
||||||
|
|
||||||
|
-- telescope :3 ------------------------------------------------------------
|
||||||
|
|
||||||
|
vim.api.nvim_set_hl(0, "TelescopeNormal", { bg = bg_90 })
|
||||||
|
vim.api.nvim_set_hl(0, "TelescopePromptNormal", { bg = bg_90 })
|
||||||
|
vim.api.nvim_set_hl(0, "TelescopeResultsNormal", { bg = bg_90 })
|
||||||
|
vim.api.nvim_set_hl(0, "TelescopePreviewNormal", { bg = bg_90 })
|
||||||
|
|
||||||
|
vim.api.nvim_set_hl(0, "TelescopeBorder", { fg = color_15, bg = bg_90 })
|
||||||
|
vim.api.nvim_set_hl(0, "TelescopePromptBorder", { fg = color_15, bg = bg_90 })
|
||||||
|
vim.api.nvim_set_hl(0, "TelescopeResultsBorder", { fg = color_15, bg = bg_90 })
|
||||||
|
vim.api.nvim_set_hl(0, "TelescopePreviewBorder", { fg = color_15, bg = bg_90 })
|
||||||
|
|
||||||
|
vim.api.nvim_set_hl(0, "TelescopePromptTitle", { fg = color_15, bg = bg_90 })
|
||||||
|
vim.api.nvim_set_hl(0, "TelescopeResultsTitle", { fg = color_15, bg = bg_90 })
|
||||||
|
vim.api.nvim_set_hl(0, "TelescopePreviewTitle", { fg = color_15, bg = bg_90 })
|
||||||
|
|
||||||
|
vim.api.nvim_set_hl(0, "TelescopePromptPrefix", { fg = color_14, bg = bg_90 })
|
||||||
|
vim.api.nvim_set_hl(0, "TelescopePromptCounter", { fg = color_13, bg = bg_90 })
|
||||||
|
|
||||||
|
-- gitsigns.nvim -----------------------------------------------------------
|
||||||
|
|
||||||
|
vim.api.nvim_set_hl(0, "GitSignsAdd", { fg = color_13 })
|
||||||
|
vim.api.nvim_set_hl(0, "GitSignsChange", { fg = color_11 })
|
||||||
|
vim.api.nvim_set_hl(0, "GitSignsDelete", { fg = color_09 })
|
||||||
|
|
||||||
|
local blame_palette = {
|
||||||
|
color_13,
|
||||||
|
color_11,
|
||||||
|
color_09,
|
||||||
|
color_06,
|
||||||
|
color_05,
|
||||||
|
color_04,
|
||||||
|
color_03,
|
||||||
|
color_12,
|
||||||
|
}
|
||||||
|
|
||||||
|
local blame_group = vim.api.nvim_create_augroup("GitSignsBlameColors", { clear = true })
|
||||||
|
|
||||||
|
local function get_heatmap_palette()
|
||||||
|
local c1 = hex_to_int(color_13) -- old
|
||||||
|
local c2 = hex_to_int(color_14) -- recent
|
||||||
|
|
||||||
|
local palette = {}
|
||||||
|
for i = 0, 7 do
|
||||||
|
palette[i] = blend_colors(c1, c2, i / 7)
|
||||||
|
end
|
||||||
|
|
||||||
|
return palette
|
||||||
|
end
|
||||||
|
|
||||||
|
local heatmap_palette = get_heatmap_palette()
|
||||||
|
|
||||||
|
local function set_blame_colors()
|
||||||
|
local highlights = vim.api.nvim_exec2("highlight", { output = true }).output
|
||||||
|
|
||||||
|
local i = 1
|
||||||
|
for hl_name in highlights:gmatch("(GitSignsBlameColor%.[%x]+)") do
|
||||||
|
local color = blame_palette[(i - 1) % #blame_palette + 1]
|
||||||
|
vim.api.nvim_set_hl(0, hl_name, { fg = color })
|
||||||
|
i = i + 1
|
||||||
|
end
|
||||||
|
|
||||||
|
i = 1
|
||||||
|
for hl_name in highlights:gmatch("(GitSignsColorTemp%.fg%.[%d]+)") do
|
||||||
|
local color = heatmap_palette[(i - 1) % #heatmap_palette + 1]
|
||||||
|
vim.api.nvim_set_hl(0, hl_name, { fg = color })
|
||||||
|
i = i + 1
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
set_blame_colors()
|
||||||
|
|
||||||
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
|
group = blame_group,
|
||||||
|
pattern = "gitsigns-blame",
|
||||||
|
callback = function()
|
||||||
|
set_blame_colors()
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
|
-- fyler.nvim --------------------------------------------------------------
|
||||||
|
|
||||||
|
vim.api.nvim_set_hl(0, "FylerBlue", { fg = color_06 })
|
||||||
|
vim.api.nvim_set_hl(0, "FylerGreen", { fg = color_02 })
|
||||||
|
vim.api.nvim_set_hl(0, "FylerGrey", { fg = color_08 })
|
||||||
|
vim.api.nvim_set_hl(0, "FylerRed", { fg = color_01 })
|
||||||
|
vim.api.nvim_set_hl(0, "FylerYellow", { fg = color_03 })
|
||||||
|
|
||||||
|
vim.api.nvim_set_hl(0, "FylerFSDirectoryIcon", { fg = color_06 })
|
||||||
|
vim.api.nvim_set_hl(0, "FylerFSDirectoryName", { fg = fg })
|
||||||
|
vim.api.nvim_set_hl(0, "FylerFSFile", { fg = color_15 })
|
||||||
|
vim.api.nvim_set_hl(0, "FylerFSLink", { fg = color_08 })
|
||||||
|
|
||||||
|
vim.api.nvim_set_hl(0, "FylerGitAdded", { fg = color_04 })
|
||||||
|
vim.api.nvim_set_hl(0, "FylerGitConflict", { fg = color_03 })
|
||||||
|
vim.api.nvim_set_hl(0, "FylerGitDeleted", { fg = color_03 })
|
||||||
|
vim.api.nvim_set_hl(0, "FylerGitIgnored", { fg = color_08 })
|
||||||
|
vim.api.nvim_set_hl(0, "FylerGitModified", { fg = color_05 })
|
||||||
|
vim.api.nvim_set_hl(0, "FylerGitRenamed", { fg = color_05 })
|
||||||
|
vim.api.nvim_set_hl(0, "FylerGitStaged", { fg = color_04 })
|
||||||
|
vim.api.nvim_set_hl(0, "FylerGitUnstaged", { fg = color_05 })
|
||||||
|
vim.api.nvim_set_hl(0, "FylerGitUntracked", { fg = color_06 })
|
||||||
|
|
||||||
|
vim.api.nvim_set_hl(0, "FylerWinPick", { fg = color_15, bg = fg })
|
||||||
|
|
||||||
|
-- lualine.nvim
|
||||||
|
vim.api.nvim_exec_autocmds("User", { pattern = "RefreshLualine" })
|
||||||
|
|
||||||
|
-- hlchunk.nvim
|
||||||
|
vim.api.nvim_set_hl(0, "HLIndent1", { fg = secondary_30 })
|
||||||
|
vim.api.nvim_set_hl(0, "HLChunk1", { fg = color_11 })
|
||||||
|
else
|
||||||
|
print("Error: Not enough colors in file")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
-- initial load
|
||||||
|
load_colors()
|
||||||
|
|
||||||
|
-- vim.defer_fn(load_colors, 1)
|
||||||
|
|
||||||
|
-- set up a file watcher
|
||||||
|
local function watch_colorscheme()
|
||||||
|
local handle
|
||||||
|
handle = vim.loop.new_fs_event()
|
||||||
|
if handle then
|
||||||
|
vim.loop.fs_event_start(handle, colorscheme_filepath, {}, function(err, _, _)
|
||||||
|
if err then
|
||||||
|
print("Error watching colorscheme file:", err)
|
||||||
|
return
|
||||||
|
end
|
||||||
|
-- debounce by adding a slight delay before reloading
|
||||||
|
vim.defer_fn(load_colors, 100)
|
||||||
|
end)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
watch_colorscheme()
|
||||||
|
|
@ -17,7 +17,7 @@ return {
|
||||||
keymap = {
|
keymap = {
|
||||||
["<C-space>"] = { "show", "show_documentation", "hide_documentation" },
|
["<C-space>"] = { "show", "show_documentation", "hide_documentation" },
|
||||||
["<C-e>"] = { "hide", "fallback" },
|
["<C-e>"] = { "hide", "fallback" },
|
||||||
["<C-y>"] = { "select_and_accept", "fallback" },
|
["<C-h>"] = { "select_and_accept", "fallback" },
|
||||||
|
|
||||||
["<C-k>"] = { "select_prev", "fallback_to_mappings" },
|
["<C-k>"] = { "select_prev", "fallback_to_mappings" },
|
||||||
["<C-j>"] = { "select_next", "fallback_to_mappings" },
|
["<C-j>"] = { "select_next", "fallback_to_mappings" },
|
||||||
|
|
@ -30,7 +30,7 @@ return {
|
||||||
["<Tab>"] = { "snippet_forward", "fallback" },
|
["<Tab>"] = { "snippet_forward", "fallback" },
|
||||||
["<S-Tab>"] = { "snippet_backward", "fallback" },
|
["<S-Tab>"] = { "snippet_backward", "fallback" },
|
||||||
|
|
||||||
["<C-S-k>"] = { "show_signature", "hide_signature", "fallback" },
|
["<C-s>"] = { "show_signature", "hide_signature", "fallback" },
|
||||||
},
|
},
|
||||||
|
|
||||||
appearance = {
|
appearance = {
|
||||||
|
|
@ -84,7 +84,7 @@ return {
|
||||||
},
|
},
|
||||||
|
|
||||||
documentation = {
|
documentation = {
|
||||||
auto_show = false,
|
auto_show = true,
|
||||||
window = {
|
window = {
|
||||||
border = "rounded",
|
border = "rounded",
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,12 @@
|
||||||
vim.api.nvim_create_autocmd("FileType", {
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
pattern = { "lua", "nix", "gleam" },
|
pattern = {
|
||||||
|
"lua",
|
||||||
|
"nix",
|
||||||
|
"gleam",
|
||||||
|
"css",
|
||||||
|
"json",
|
||||||
|
"haskell",
|
||||||
|
},
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.opt_local.shiftwidth = 2
|
vim.opt_local.shiftwidth = 2
|
||||||
vim.opt_local.tabstop = 2
|
vim.opt_local.tabstop = 2
|
||||||
|
|
@ -7,14 +14,38 @@ vim.api.nvim_create_autocmd("FileType", {
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
|
pattern = {
|
||||||
|
"sql",
|
||||||
|
},
|
||||||
|
callback = function()
|
||||||
|
vim.opt_local.shiftwidth = 4
|
||||||
|
vim.opt_local.tabstop = 4
|
||||||
|
vim.opt_local.expandtab = true
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd("User", {
|
vim.api.nvim_create_autocmd("User", {
|
||||||
pattern = "TelescopePreviewerLoaded",
|
pattern = "TelescopePreviewerLoaded",
|
||||||
callback = function(args)
|
callback = function(args)
|
||||||
local ft = args.data.filetype
|
local ft = args.data.filetype
|
||||||
if vim.tbl_contains({ "lua", "nix", "gleam", "rust" }, ft) then
|
if vim.tbl_contains({
|
||||||
|
"lua",
|
||||||
|
"nix",
|
||||||
|
"gleam",
|
||||||
|
"css",
|
||||||
|
"json",
|
||||||
|
"haskell",
|
||||||
|
}, ft) then
|
||||||
vim.bo.shiftwidth = 2
|
vim.bo.shiftwidth = 2
|
||||||
vim.bo.tabstop = 2
|
vim.bo.tabstop = 2
|
||||||
vim.bo.expandtab = true
|
vim.bo.expandtab = true
|
||||||
|
elseif vim.tbl_contains({
|
||||||
|
"sql",
|
||||||
|
}, ft) then
|
||||||
|
vim.bo.shiftwidth = 4
|
||||||
|
vim.bo.tabstop = 4
|
||||||
|
vim.bo.expandtab = true
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,11 @@ if nixCats("lang.rust.lsp") then
|
||||||
diagnostics = {
|
diagnostics = {
|
||||||
enable = true,
|
enable = true,
|
||||||
},
|
},
|
||||||
|
["rust-analyzer"] = {
|
||||||
|
procMacro = {
|
||||||
|
enable = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"dressing.nvim",
|
"dressing.nvim",
|
||||||
|
enabled = nixCats("ui.dressing") or false,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -58,10 +58,22 @@ return {
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
lua = nixCats("lang.lua.format") and { "stylua" } or nil,
|
lua = nixCats("lang.lua.format") and { "stylua" } or nil,
|
||||||
nix = nixCats("lang.nix.format") and { "alejandra" } or nil,
|
nix = nixCats("lang.nix.format") and { "alejandra" } or nil,
|
||||||
rust = nixCats("lang.rust.format") and { "rustfmt", lsp_format = "fallback" } or nil,
|
rust = (function()
|
||||||
|
if not nixCats("lang.rust.format") then
|
||||||
|
return nil
|
||||||
|
end
|
||||||
|
local formatters = {}
|
||||||
|
if nixCats("lang.rust.formatters.leptos") then
|
||||||
|
table.insert(formatters, "leptosfmt")
|
||||||
|
end
|
||||||
|
table.insert(formatters, "rustfmt")
|
||||||
|
formatters.lsp_format = "fallback"
|
||||||
|
return formatters
|
||||||
|
end)(),
|
||||||
haskell = nixCats("lang.haskell.format") and { "ormolu" } or nil,
|
haskell = nixCats("lang.haskell.format") and { "ormolu" } or nil,
|
||||||
proto = nixCats("lang.protobuf.format") and { "buf" } or nil,
|
proto = nixCats("lang.protobuf.format") and { "buf" } or nil,
|
||||||
toml = nixCats("lang.toml.format") and { "taplo" } or nil,
|
toml = nixCats("lang.toml.format") and { "taplo" } or nil,
|
||||||
|
sql = nixCats("lang.sql.format") and { "sqlfluff" } or nil,
|
||||||
},
|
},
|
||||||
format_on_save = {
|
format_on_save = {
|
||||||
timeout_ms = 500,
|
timeout_ms = 500,
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,12 @@ return {
|
||||||
cmd = { "Fyler" },
|
cmd = { "Fyler" },
|
||||||
keys = {
|
keys = {
|
||||||
{
|
{
|
||||||
"<leader>tf",
|
"<leader>F",
|
||||||
function()
|
function()
|
||||||
return require("fyler").toggle({ kind = "split_right" })
|
return require("fyler").toggle({ kind = "split_right" })
|
||||||
end,
|
end,
|
||||||
mode = { "n" },
|
mode = { "n" },
|
||||||
desc = "Open [F]yler",
|
desc = "Open File [E]xplorer (Fyler)",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
load = function(name)
|
load = function(name)
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"vim-fugitive",
|
"vim-fugitive",
|
||||||
enabled = nixCats("git") or false,
|
enabled = nixCats("git.merge") or false,
|
||||||
cmd = { "Git", "Gvdiffsplit" },
|
cmd = { "Git", "Gvdiffsplit" },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"resolve-nvim",
|
"resolve-nvim",
|
||||||
enabled = nixCats("git") or false,
|
enabled = nixCats("git.merge") or false,
|
||||||
event = { "BufReadPre", "BufNewFile" },
|
event = { "BufReadPre", "BufNewFile" },
|
||||||
after = function(plugin)
|
after = function(plugin)
|
||||||
require("resolve").setup({
|
require("resolve").setup({
|
||||||
|
|
@ -21,4 +21,73 @@ return {
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"gitsigns.nvim",
|
||||||
|
enabled = nixCats("git.gitsigns") or false,
|
||||||
|
after = function(plugin)
|
||||||
|
require("gitsigns").setup({
|
||||||
|
signs = {
|
||||||
|
add = { text = "┃" },
|
||||||
|
change = { text = "┇" },
|
||||||
|
delete = { text = "_" },
|
||||||
|
topdelete = { text = "‾" },
|
||||||
|
changedelete = { text = "~" },
|
||||||
|
untracked = { text = "╎" },
|
||||||
|
},
|
||||||
|
signs_staged = {
|
||||||
|
add = { text = "┃" },
|
||||||
|
change = { text = "┇" },
|
||||||
|
delete = { text = "_" },
|
||||||
|
topdelete = { text = "‾" },
|
||||||
|
changedelete = { text = "~" },
|
||||||
|
untracked = { text = "╎" },
|
||||||
|
},
|
||||||
|
on_attach = function(bufnr)
|
||||||
|
local gitsigns = require("gitsigns")
|
||||||
|
|
||||||
|
-- toggle git blame
|
||||||
|
vim.keymap.set("n", "<leader>gb", function()
|
||||||
|
local wins = vim.api.nvim_list_wins()
|
||||||
|
for _, win in ipairs(wins) do
|
||||||
|
local buf = vim.api.nvim_win_get_buf(win)
|
||||||
|
local ft = vim.api.nvim_get_option_value("filetype", { buf = buf })
|
||||||
|
if ft == "gitsigns-blame" then
|
||||||
|
vim.api.nvim_win_close(win, true)
|
||||||
|
return
|
||||||
|
end
|
||||||
|
end
|
||||||
|
vim.cmd("Gitsigns blame")
|
||||||
|
end)
|
||||||
|
|
||||||
|
vim.keymap.set("n", "<leader>bl", gitsigns.toggle_current_line_blame)
|
||||||
|
|
||||||
|
vim.keymap.set("n", "]c", function()
|
||||||
|
if vim.wo.diff then
|
||||||
|
vim.cmd.normal({ "]c", bang = true })
|
||||||
|
else
|
||||||
|
gitsigns.nav_hunk("next")
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
|
||||||
|
vim.keymap.set("n", "[c", function()
|
||||||
|
if vim.wo.diff then
|
||||||
|
vim.cmd.normal({ "[c", bang = true })
|
||||||
|
else
|
||||||
|
gitsigns.nav_hunk("prev")
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
|
||||||
|
vim.keymap.set("n", "<leader>hs", gitsigns.stage_hunk)
|
||||||
|
vim.keymap.set("n", "<leader>hu", gitsigns.undo_stage_hunk)
|
||||||
|
|
||||||
|
vim.keymap.set("n", "<leader>hS", gitsigns.stage_buffer)
|
||||||
|
vim.keymap.set("n", "<leader>hU", gitsigns.reset_buffer_index)
|
||||||
|
|
||||||
|
vim.keymap.set("n", "<leader>hi", gitsigns.toggle_current_line_blame)
|
||||||
|
|
||||||
|
vim.keymap.set("n", "<leader>hp", gitsigns.preview_hunk_inline)
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
36
homes/modules/programs/neovim/lua/plugins/hlchunk.lua
Normal file
36
homes/modules/programs/neovim/lua/plugins/hlchunk.lua
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
"hlchunk.nvim",
|
||||||
|
enabled = nixCats("ui.hlchunk") or false,
|
||||||
|
after = function(plugin)
|
||||||
|
require("hlchunk").setup({
|
||||||
|
chunk = {
|
||||||
|
enable = true,
|
||||||
|
use_treesitter = true,
|
||||||
|
chars = {
|
||||||
|
horizontal_line = "─",
|
||||||
|
vertical_line = "│",
|
||||||
|
left_top = "╭",
|
||||||
|
left_bottom = "╰",
|
||||||
|
right_arrow = "─",
|
||||||
|
},
|
||||||
|
style = {
|
||||||
|
"#B0F0FA",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
indent = {
|
||||||
|
enable = true,
|
||||||
|
use_treesitter = false,
|
||||||
|
ahead_lines = 10,
|
||||||
|
delay = 25,
|
||||||
|
chars = {
|
||||||
|
"│",
|
||||||
|
},
|
||||||
|
style = {
|
||||||
|
"#9080FA",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
@ -7,4 +7,6 @@ require("lze").load({
|
||||||
{ import = "plugins.format" },
|
{ import = "plugins.format" },
|
||||||
{ import = "plugins.comment" },
|
{ import = "plugins.comment" },
|
||||||
{ import = "plugins.git" },
|
{ import = "plugins.git" },
|
||||||
|
{ import = "plugins.lualine" },
|
||||||
|
{ import = "plugins.hlchunk" },
|
||||||
})
|
})
|
||||||
|
|
|
||||||
22
homes/modules/programs/neovim/lua/plugins/lualine.lua
Normal file
22
homes/modules/programs/neovim/lua/plugins/lualine.lua
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
local config = {
|
||||||
|
options = {
|
||||||
|
theme = "auto",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
"lualine.nvim",
|
||||||
|
enabled = nixCats("ui.lualine") or false,
|
||||||
|
after = function(plugin)
|
||||||
|
require("lualine").setup(config)
|
||||||
|
|
||||||
|
vim.api.nvim_create_autocmd("User", {
|
||||||
|
pattern = "RefreshLualine",
|
||||||
|
callback = function()
|
||||||
|
require("lualine").setup(config)
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
@ -1,12 +1,16 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"telescope.nvim",
|
"telescope.nvim",
|
||||||
|
enabled = nixCats("telescope.enable") or false,
|
||||||
cmd = { "Telescope" },
|
cmd = { "Telescope" },
|
||||||
keys = {
|
keys = {
|
||||||
{
|
{
|
||||||
"<leader>f",
|
"<leader>f",
|
||||||
function()
|
function()
|
||||||
return require("telescope.builtin").find_files()
|
return require("telescope.builtin").find_files({
|
||||||
|
hidden = true,
|
||||||
|
file_ignore_patterns = { "^.git/" },
|
||||||
|
})
|
||||||
end,
|
end,
|
||||||
mode = { "n" },
|
mode = { "n" },
|
||||||
desc = "Telescope search [F]iles",
|
desc = "Telescope search [F]iles",
|
||||||
|
|
@ -22,7 +26,10 @@ return {
|
||||||
{
|
{
|
||||||
"<leader>ts",
|
"<leader>ts",
|
||||||
function()
|
function()
|
||||||
return require("telescope.builtin").live_grep()
|
return require("telescope.builtin").live_grep({
|
||||||
|
additional_args = { "--hidden" },
|
||||||
|
glob_pattern = { "!.git/" },
|
||||||
|
})
|
||||||
end,
|
end,
|
||||||
mode = { "n" },
|
mode = { "n" },
|
||||||
desc = "[T]elescope [S]earch cwd with grep",
|
desc = "[T]elescope [S]earch cwd with grep",
|
||||||
|
|
@ -30,7 +37,10 @@ return {
|
||||||
{
|
{
|
||||||
"<leader>tw",
|
"<leader>tw",
|
||||||
function()
|
function()
|
||||||
return require("telescope.builtin").grep_string()
|
return require("telescope.builtin").grep_string({
|
||||||
|
additional_args = { "--hidden" },
|
||||||
|
glob_pattern = { "!.git/" },
|
||||||
|
})
|
||||||
end,
|
end,
|
||||||
mode = { "n" },
|
mode = { "n" },
|
||||||
desc = "[T]elescope search current [W]ord",
|
desc = "[T]elescope search current [W]ord",
|
||||||
|
|
@ -51,10 +61,33 @@ return {
|
||||||
mode = { "n" },
|
mode = { "n" },
|
||||||
desc = "[T]elescope search [B]uffers",
|
desc = "[T]elescope search [B]uffers",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"<leader>th",
|
||||||
|
function()
|
||||||
|
return require("telescope.builtin").highlights()
|
||||||
|
end,
|
||||||
|
mode = { "n" },
|
||||||
|
desc = "[T]elescope [H]ighlights",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"<leader>gs",
|
||||||
|
function()
|
||||||
|
return require("telescope.builtin").git_status()
|
||||||
|
end,
|
||||||
|
mode = { "n" },
|
||||||
|
desc = "[G]it [S]tatus",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
load = function(name)
|
load = function(name)
|
||||||
vim.cmd.packadd(name)
|
vim.cmd.packadd(name)
|
||||||
vim.cmd.packadd("telescope-fzf-native.nvim")
|
|
||||||
|
if nixCats("telescope.fzf") then
|
||||||
|
vim.cmd.packadd("telescope-fzf-native.nvim")
|
||||||
|
end
|
||||||
|
|
||||||
|
if nixCats("telescope.zf") then
|
||||||
|
vim.cmd.packadd("telescope-zf-native.nvim")
|
||||||
|
end
|
||||||
end,
|
end,
|
||||||
after = function(plugin)
|
after = function(plugin)
|
||||||
local telescope = require("telescope")
|
local telescope = require("telescope")
|
||||||
|
|
@ -62,6 +95,8 @@ return {
|
||||||
|
|
||||||
telescope.setup({
|
telescope.setup({
|
||||||
defaults = {
|
defaults = {
|
||||||
|
border = true,
|
||||||
|
borderchars = { "─", "│", "─", "│", "╭", "╮", "╯", "╰" },
|
||||||
mappings = {
|
mappings = {
|
||||||
i = {
|
i = {
|
||||||
["<C-k>"] = actions.move_selection_previous, -- move to prev result
|
["<C-k>"] = actions.move_selection_previous, -- move to prev result
|
||||||
|
|
@ -72,7 +107,13 @@ return {
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
pcall(telescope.load_extension, "fzf")
|
if nixCats("telescope.fzf") then
|
||||||
|
telescope.load_extension("fzf")
|
||||||
|
end
|
||||||
|
|
||||||
|
if nixCats("telescope.zf") then
|
||||||
|
telescope.load_extension("zf-native")
|
||||||
|
end
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,11 +15,10 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
# this value, nixCats is the defaultPackageName you pass to mkNixosModules
|
|
||||||
# it will be the namespace for your options.
|
|
||||||
nixCats = {
|
nixCats = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nixpkgs_version = inputs.nixpkgs-unstable;
|
nixpkgs_version = inputs.nixpkgs-unstable;
|
||||||
|
# TODO: ask butterfly about this, am confused :3
|
||||||
# this will add the overlays from ./overlays and also,
|
# this will add the overlays from ./overlays and also,
|
||||||
# add any plugins in inputs named "plugins-pluginName" to pkgs.neovimPlugins
|
# add any plugins in inputs named "plugins-pluginName" to pkgs.neovimPlugins
|
||||||
# It will not apply to overall system, just nixCats.
|
# It will not apply to overall system, just nixCats.
|
||||||
|
|
@ -28,15 +27,13 @@ in {
|
||||||
[
|
[
|
||||||
(utils.standardPluginOverlay inputs)
|
(utils.standardPluginOverlay inputs)
|
||||||
];
|
];
|
||||||
# see the packageDefinitions below.
|
|
||||||
# This says which of those to install.
|
# This says which of those to install.
|
||||||
packageNames = ["auroranvim"];
|
packageNames = ["auroranvim"];
|
||||||
|
|
||||||
luaPath = "${./.}";
|
luaPath = "${./.}";
|
||||||
|
|
||||||
# the .replace vs .merge options are for modules based on existing configurations,
|
# for usage of this section, refer to :h nixCats.flake.outputs.categories
|
||||||
# they refer to how multiple categoryDefinitions get merged together by the module.
|
|
||||||
# for useage of this section, refer to :h nixCats.flake.outputs.categories
|
|
||||||
categoryDefinitions.replace = {
|
categoryDefinitions.replace = {
|
||||||
pkgs,
|
pkgs,
|
||||||
settings,
|
settings,
|
||||||
|
|
@ -67,7 +64,10 @@ in {
|
||||||
rust = {
|
rust = {
|
||||||
lsp = [cargo mpkgs.rust-analyzer];
|
lsp = [cargo mpkgs.rust-analyzer];
|
||||||
# nightly rustfmt has nicer features :3
|
# nightly rustfmt has nicer features :3
|
||||||
format = [inputs.fenix.packages.${system}.complete.rustfmt];
|
format = [(rustfmt.override {asNightly = true;})];
|
||||||
|
formatters = {
|
||||||
|
leptos = [leptosfmt];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
zig = {
|
zig = {
|
||||||
lsp = [zls];
|
lsp = [zls];
|
||||||
|
|
@ -100,6 +100,12 @@ in {
|
||||||
toml = {
|
toml = {
|
||||||
format = [taplo];
|
format = [taplo];
|
||||||
};
|
};
|
||||||
|
bash = {
|
||||||
|
lsp = [bash-language-server];
|
||||||
|
};
|
||||||
|
sql = {
|
||||||
|
format = [sqlfluff];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -120,18 +126,23 @@ in {
|
||||||
|
|
||||||
optionalPlugins = with pkgs.vimPlugins; {
|
optionalPlugins = with pkgs.vimPlugins; {
|
||||||
general = [];
|
general = [];
|
||||||
ui = [
|
ui = {
|
||||||
dressing-nvim
|
dressing = [dressing-nvim];
|
||||||
];
|
lualine = [lualine-nvim];
|
||||||
|
hlchunk = [hlchunk-nvim];
|
||||||
|
};
|
||||||
qol = [
|
qol = [
|
||||||
undotree
|
undotree
|
||||||
mini-hipatterns
|
mini-hipatterns
|
||||||
];
|
];
|
||||||
telescope = [
|
telescope = {
|
||||||
telescope-nvim
|
enable = [
|
||||||
telescope-fzf-native-nvim
|
telescope-nvim
|
||||||
telescope-ui-select-nvim
|
telescope-ui-select-nvim
|
||||||
];
|
];
|
||||||
|
fzf = [telescope-fzf-native-nvim];
|
||||||
|
zf = [telescope-zf-native-nvim];
|
||||||
|
};
|
||||||
fyler = [
|
fyler = [
|
||||||
fyler-nvim
|
fyler-nvim
|
||||||
];
|
];
|
||||||
|
|
@ -159,10 +170,15 @@ in {
|
||||||
comment = [
|
comment = [
|
||||||
comment-nvim
|
comment-nvim
|
||||||
];
|
];
|
||||||
git = [
|
git = {
|
||||||
resolve-nvim
|
merge = [
|
||||||
vim-fugitive
|
resolve-nvim
|
||||||
];
|
vim-fugitive
|
||||||
|
];
|
||||||
|
gitsigns = [
|
||||||
|
gitsigns-nvim
|
||||||
|
];
|
||||||
|
};
|
||||||
lang = {
|
lang = {
|
||||||
java = [
|
java = [
|
||||||
nvim-jdtls
|
nvim-jdtls
|
||||||
|
|
@ -173,9 +189,7 @@ in {
|
||||||
# shared libraries to be added to LD_LIBRARY_PATH
|
# shared libraries to be added to LD_LIBRARY_PATH
|
||||||
# variable available to nvim runtime
|
# variable available to nvim runtime
|
||||||
sharedLibraries = {
|
sharedLibraries = {
|
||||||
general = with pkgs; [
|
general = with pkgs; [];
|
||||||
# libgit2
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
environmentVariables = {
|
environmentVariables = {
|
||||||
|
|
@ -211,15 +225,11 @@ in {
|
||||||
|
|
||||||
# see :help nixCats.flake.outputs.packageDefinitions
|
# see :help nixCats.flake.outputs.packageDefinitions
|
||||||
packageDefinitions.replace = {
|
packageDefinitions.replace = {
|
||||||
# these are the names of your packages
|
|
||||||
# you can include as many as you wish.
|
|
||||||
auroranvim = {pkgs, ...}: {
|
auroranvim = {pkgs, ...}: {
|
||||||
# they contain a settings set defined above
|
# they contain a settings set defined above
|
||||||
# see :help nixCats.flake.outputs.settings
|
# see :help nixCats.flake.outputs.settings
|
||||||
settings = {
|
settings = {
|
||||||
wrapRc = true;
|
wrapRc = true;
|
||||||
# IMPORTANT:
|
|
||||||
# your alias may not conflict with your other packages.
|
|
||||||
aliases = [
|
aliases = [
|
||||||
"auravim"
|
"auravim"
|
||||||
"foxyvim"
|
"foxyvim"
|
||||||
|
|
@ -227,14 +237,26 @@ in {
|
||||||
"fvix"
|
"fvix"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
# and a set of categories that you want
|
|
||||||
# (and other information to pass to lua)
|
|
||||||
categories = {
|
categories = {
|
||||||
general = true;
|
general = true;
|
||||||
|
|
||||||
ui = true;
|
ui = {
|
||||||
|
dressing = true;
|
||||||
|
lualine = true;
|
||||||
|
hlchunk = true;
|
||||||
|
};
|
||||||
|
|
||||||
qol = true;
|
qol = true;
|
||||||
telescope = true;
|
|
||||||
|
telescope = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
# only enable one at a time
|
||||||
|
fzf = true;
|
||||||
|
zf = false;
|
||||||
|
};
|
||||||
|
|
||||||
fyler = true;
|
fyler = true;
|
||||||
|
|
||||||
lsp = true;
|
lsp = true;
|
||||||
|
|
@ -244,50 +266,48 @@ in {
|
||||||
format = true;
|
format = true;
|
||||||
comment = true;
|
comment = true;
|
||||||
|
|
||||||
git = false; # not really setup yet
|
git = {
|
||||||
|
merge = false; # not really setup yet.. </3
|
||||||
|
gitsigns = true;
|
||||||
|
};
|
||||||
|
|
||||||
lang = {
|
lang = {
|
||||||
lua = {
|
lua.lsp = true;
|
||||||
lsp = true;
|
lua.format = true;
|
||||||
format = true;
|
|
||||||
};
|
nix.lsp = true;
|
||||||
nix = {
|
nix.format = true;
|
||||||
lsp = true;
|
nix.docs = true;
|
||||||
format = true;
|
|
||||||
docs = true;
|
rust.lsp = true;
|
||||||
};
|
rust.format = true;
|
||||||
rust = {
|
rust.formatters = {
|
||||||
lsp = true;
|
leptos = true;
|
||||||
format = true;
|
|
||||||
};
|
|
||||||
zig = {
|
|
||||||
lsp = true;
|
|
||||||
format = true;
|
|
||||||
};
|
|
||||||
elixir = {
|
|
||||||
lsp = true;
|
|
||||||
format = true;
|
|
||||||
};
|
|
||||||
gleam = {
|
|
||||||
lsp = true;
|
|
||||||
format = true;
|
|
||||||
};
|
|
||||||
haskell = {
|
|
||||||
lsp = true;
|
|
||||||
format = true;
|
|
||||||
};
|
|
||||||
java = {
|
|
||||||
lsp = true;
|
|
||||||
format = true;
|
|
||||||
};
|
|
||||||
protobuf = {
|
|
||||||
lsp = true;
|
|
||||||
format = true;
|
|
||||||
};
|
|
||||||
toml = {
|
|
||||||
lsp = true;
|
|
||||||
format = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
zig.lsp = true;
|
||||||
|
zig.format = true;
|
||||||
|
|
||||||
|
elixir.lsp = true;
|
||||||
|
elixir.format = true;
|
||||||
|
|
||||||
|
gleam.lsp = true;
|
||||||
|
gleam.format = true;
|
||||||
|
|
||||||
|
haskell.lsp = true;
|
||||||
|
haskell.format = true;
|
||||||
|
|
||||||
|
java.lsp = true;
|
||||||
|
java.format = true;
|
||||||
|
|
||||||
|
protobuf.lsp = true;
|
||||||
|
protobuf.format = true;
|
||||||
|
|
||||||
|
toml.format = true;
|
||||||
|
|
||||||
|
bash.lsp = true;
|
||||||
|
|
||||||
|
sql.format = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,12 @@
|
||||||
|
|
||||||
programs.nixcord = {
|
programs.nixcord = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
equibop.enable = true;
|
equibop.enable = true;
|
||||||
equibop.package = upkgs.equibop;
|
equibop.package = upkgs.equibop;
|
||||||
|
|
||||||
|
vesktop.enable = true;
|
||||||
|
|
||||||
discord = {
|
discord = {
|
||||||
vencord.enable = false;
|
vencord.enable = false;
|
||||||
equicord.enable = true;
|
equicord.enable = true;
|
||||||
|
|
@ -75,7 +78,6 @@
|
||||||
forwardAnywhere.enable = true;
|
forwardAnywhere.enable = true;
|
||||||
spotifyCrack.enable = true;
|
spotifyCrack.enable = true;
|
||||||
spotifyShareCommands.enable = true;
|
spotifyShareCommands.enable = true;
|
||||||
spotifyControls.enable = true;
|
|
||||||
fullUserInChatbox.enable = true;
|
fullUserInChatbox.enable = true;
|
||||||
gifPaste.enable = true;
|
gifPaste.enable = true;
|
||||||
ignoreActivities = {
|
ignoreActivities = {
|
||||||
|
|
@ -99,7 +101,6 @@
|
||||||
};
|
};
|
||||||
platformIndicators.enable = true;
|
platformIndicators.enable = true;
|
||||||
previewMessage.enable = true;
|
previewMessage.enable = true;
|
||||||
relationshipNotifier.enable = true;
|
|
||||||
revealAllSpoilers.enable = true;
|
revealAllSpoilers.enable = true;
|
||||||
serverInfo.enable = true;
|
serverInfo.enable = true;
|
||||||
serverListIndicators.enable = true;
|
serverListIndicators.enable = true;
|
||||||
|
|
@ -140,7 +141,7 @@
|
||||||
whoReacted.enable = true;
|
whoReacted.enable = true;
|
||||||
whosWatching.enable = true;
|
whosWatching.enable = true;
|
||||||
quickReply.enable = true;
|
quickReply.enable = true;
|
||||||
questCompleter.enable = true;
|
# questCompleter.enable = true; # does not seem to exist anymore?
|
||||||
shikiCodeblocks = {
|
shikiCodeblocks = {
|
||||||
enable = true;
|
enable = true;
|
||||||
useDevIcon = "COLOR";
|
useDevIcon = "COLOR";
|
||||||
|
|
@ -164,9 +165,9 @@
|
||||||
"1436964273162289185"
|
"1436964273162289185"
|
||||||
"1436988320474206311"
|
"1436988320474206311"
|
||||||
"1449837047383855119"
|
"1449837047383855119"
|
||||||
"1436968495190642722"
|
|
||||||
"1465424321919975454"
|
"1465424321919975454"
|
||||||
"1468324280445046824"
|
"1468324280445046824"
|
||||||
|
"1461929299727749145"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
@ -175,6 +176,7 @@
|
||||||
color = 10223511;
|
color = 10223511;
|
||||||
collapsed = false;
|
collapsed = false;
|
||||||
channels = [
|
channels = [
|
||||||
|
"1436968495190642722"
|
||||||
"1436985374286155799"
|
"1436985374286155799"
|
||||||
"1436965657076826222"
|
"1436965657076826222"
|
||||||
"1429921297160212681"
|
"1429921297160212681"
|
||||||
|
|
@ -191,7 +193,6 @@
|
||||||
"1461885176534794427"
|
"1461885176534794427"
|
||||||
"1462155159470866443"
|
"1462155159470866443"
|
||||||
"1468735915076878407"
|
"1468735915076878407"
|
||||||
"1461929299727749145"
|
|
||||||
"1470963392121536657"
|
"1470963392121536657"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
@ -238,6 +239,7 @@
|
||||||
"1437283420312047659"
|
"1437283420312047659"
|
||||||
"1437089201651847315"
|
"1437089201651847315"
|
||||||
"1467307140443148288"
|
"1467307140443148288"
|
||||||
|
"1473192300363649024"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@
|
||||||
settings = {
|
settings = {
|
||||||
mgr = {
|
mgr = {
|
||||||
show_hidden = true;
|
show_hidden = true;
|
||||||
|
mouse_events = ["scroll"];
|
||||||
};
|
};
|
||||||
log = {
|
log = {
|
||||||
enabled = false;
|
enabled = false;
|
||||||
|
|
|
||||||
1
homes/modules/scripts/hyprland-layout-toggle.sh
Normal file
1
homes/modules/scripts/hyprland-layout-toggle.sh
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
# files and nav stuff
|
# files and nav stuff
|
||||||
ls = "eza";
|
ls = "eza --icons=auto";
|
||||||
ll = "ls -la";
|
ll = "ls -la";
|
||||||
lt = "ls --tree";
|
lt = "ls --tree";
|
||||||
llt = "ll --tree";
|
llt = "ll --tree";
|
||||||
|
|
@ -51,12 +51,15 @@
|
||||||
cb-fox = "ssh-add ~/.ssh/codeberg_foxxyora";
|
cb-fox = "ssh-add ~/.ssh/codeberg_foxxyora";
|
||||||
tf-fox = "ssh-add ~/.ssh/tearforge_foxora";
|
tf-fox = "ssh-add ~/.ssh/tearforge_foxora";
|
||||||
|
|
||||||
|
tx = "wormhole-rs tx";
|
||||||
|
rx = "wormhole-rs rx";
|
||||||
|
|
||||||
# --------------------
|
# --------------------
|
||||||
# shorthand nix command aliases
|
# shorthand nix command aliases
|
||||||
|
|
||||||
# open nix develop with preferred shell
|
# open nix develop with preferred shell
|
||||||
# description: nd = nix develop
|
# description: nd = nix develop
|
||||||
nd = "nix develop -c $SHELL";
|
nd = "[[ -f ./flake.sh ]] && ./flake.sh -c $SHELL || nix develop -c $SHELL";
|
||||||
|
|
||||||
# description: cdns = change directory [to] nix settings
|
# description: cdns = change directory [to] nix settings
|
||||||
cdns = "cd ~/.nix";
|
cdns = "cd ~/.nix";
|
||||||
|
|
|
||||||
|
|
@ -14,5 +14,5 @@
|
||||||
{{ color13 }}
|
{{ color13 }}
|
||||||
{{ color14 }}
|
{{ color14 }}
|
||||||
{{ color15 }}
|
{{ color15 }}
|
||||||
{{ background }}
|
|
||||||
{{ foreground }}
|
{{ foreground }}
|
||||||
|
{{ background }}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# a submap for emulating keys/buttons/functions on the keyboard or mouse
|
# a submap for emulating keys/buttons/functions on the keyboard or mouse
|
||||||
|
|
||||||
bind = $mod+shift+alt, a, submap, virtual
|
bind = $mod, a, submap, cursor
|
||||||
submap = virtual
|
submap = cursor
|
||||||
|
|
||||||
# exit submap
|
# exit submap
|
||||||
bind = , escape, submap, reset
|
bind = , escape, submap, reset
|
||||||
|
|
@ -38,6 +38,6 @@ binde = alt, e, exec, wlrctl pointer scroll -15 0 # scroll left
|
||||||
binde = alt, y, exec, wlrctl pointer scroll 0 15 # scroll right
|
binde = alt, y, exec, wlrctl pointer scroll 0 15 # scroll right
|
||||||
|
|
||||||
# catches all other keys and keeps us in the submap
|
# catches all other keys and keeps us in the submap
|
||||||
bind = , catchall, submap, virtual
|
bind = , catchall, submap, cursor
|
||||||
|
|
||||||
submap = reset
|
submap = reset
|
||||||
|
|
|
||||||
|
|
@ -4,10 +4,6 @@
|
||||||
package = null;
|
package = null;
|
||||||
portalPackage = null;
|
portalPackage = null;
|
||||||
|
|
||||||
plugins = [
|
|
||||||
#inputs.hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system}.hyprscrolling
|
|
||||||
];
|
|
||||||
|
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
@ -64,18 +60,18 @@
|
||||||
layout = "dwindle";
|
layout = "dwindle";
|
||||||
};
|
};
|
||||||
|
|
||||||
plugin = {
|
|
||||||
# options at https://github.com/hyprwm/hyprland-plugins/tree/main/hyprscrolling
|
|
||||||
hyprscrolling = {
|
|
||||||
fullscreen_on_one_column = false;
|
|
||||||
column_width = 1.0;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
dwindle = {
|
dwindle = {
|
||||||
preserve_split = true;
|
preserve_split = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
scrolling = {
|
||||||
|
fullscreen_on_one_column = true;
|
||||||
|
column_width = 0.9;
|
||||||
|
wrap_focus = true;
|
||||||
|
wrap_swapcol = true;
|
||||||
|
direction = "right";
|
||||||
|
};
|
||||||
|
|
||||||
decoration = {
|
decoration = {
|
||||||
rounding = 8;
|
rounding = 8;
|
||||||
|
|
||||||
|
|
@ -111,7 +107,7 @@
|
||||||
force_no_accel = false; # not recommended to turn on
|
force_no_accel = false; # not recommended to turn on
|
||||||
};
|
};
|
||||||
|
|
||||||
cursor.no_hardware_cursors = true;
|
# cursor.no_hardware_cursors = true;
|
||||||
|
|
||||||
misc = {
|
misc = {
|
||||||
enable_anr_dialog = false;
|
enable_anr_dialog = false;
|
||||||
|
|
@ -152,6 +148,7 @@
|
||||||
|
|
||||||
# media binds (more in binde below)
|
# media binds (more in binde below)
|
||||||
", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
||||||
|
"Ctrl_R, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"
|
||||||
", XF86AudioPlay, exec, playerctl play-pause"
|
", XF86AudioPlay, exec, playerctl play-pause"
|
||||||
", XF86AudioNext, exec, playerctl next"
|
", XF86AudioNext, exec, playerctl next"
|
||||||
", XF86AudioPrev, exec, playerctl previous"
|
", XF86AudioPrev, exec, playerctl previous"
|
||||||
|
|
@ -262,6 +259,8 @@
|
||||||
binde = [
|
binde = [
|
||||||
", XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+"
|
", XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+"
|
||||||
", XF86AudioLowerVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-"
|
", XF86AudioLowerVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-"
|
||||||
|
"Ctrl_R, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SOURCE@ 5%+"
|
||||||
|
"Ctrl_R, XF86AudioLowerVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SOURCE@ 5%-"
|
||||||
"Shift_R, XF86AudioRaiseVolume, exec, playerctl volume 0.05+"
|
"Shift_R, XF86AudioRaiseVolume, exec, playerctl volume 0.05+"
|
||||||
"Shift_R, XF86AudioLowerVolume, exec, playerctl volume 0.05-"
|
"Shift_R, XF86AudioLowerVolume, exec, playerctl volume 0.05-"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages_6_12;
|
||||||
loader = {
|
loader = {
|
||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages_6_12;
|
||||||
loader = {
|
loader = {
|
||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
|
|
|
||||||
|
|
@ -22,17 +22,20 @@
|
||||||
|
|
||||||
# kernelPackages = upkgs.cachyosKernels.linuxPackages-cachyos-latest-lto-x86_64-v4;
|
# kernelPackages = upkgs.cachyosKernels.linuxPackages-cachyos-latest-lto-x86_64-v4;
|
||||||
# TODO: idk make this a toggle or smth idfk
|
# TODO: idk make this a toggle or smth idfk
|
||||||
# kernelPackages = upkgs.linuxPackages_zen;
|
kernelPackages = upkgs.linuxPackages_zen;
|
||||||
# FIX: it said my disk was full
|
|
||||||
kernelPackages = upkgs.linuxPackages_latest;
|
|
||||||
kernelModules = ["v4l2loopback"];
|
kernelModules = ["v4l2loopback"];
|
||||||
# force kernel to use dGPU
|
|
||||||
kernelParams = [
|
kernelParams = [
|
||||||
|
# force kernel to use dGPU
|
||||||
"amdgpu.primary=0000:03:00.0"
|
"amdgpu.primary=0000:03:00.0"
|
||||||
"video=PCI:0000:03:00.0:e"
|
"video=PCI:0000:03:00.0:e"
|
||||||
"initcall_blacklist=simpledrm_platform_driver_init"
|
"initcall_blacklist=simpledrm_platform_driver_init"
|
||||||
"fbcon=map:0"
|
"fbcon=map:0"
|
||||||
"pci=assign-busses"
|
|
||||||
|
# stops kernel from setting power states on nvme drives because it keeps
|
||||||
|
# disconnecting my drive and my system locks up
|
||||||
|
"nvme_core.default_ps_max_latency_us=0"
|
||||||
|
"pcie_aspm=off"
|
||||||
|
"pcie_port_pm=off"
|
||||||
];
|
];
|
||||||
extraModulePackages = with kernelPackages; [v4l2loopback];
|
extraModulePackages = with kernelPackages; [v4l2loopback];
|
||||||
|
|
||||||
|
|
@ -60,13 +63,11 @@
|
||||||
|
|
||||||
allowedTCPPorts = [
|
allowedTCPPorts = [
|
||||||
21110 # slimevr
|
21110 # slimevr
|
||||||
44949 # rquickshare
|
|
||||||
];
|
];
|
||||||
allowedUDPPorts = [
|
allowedUDPPorts = [
|
||||||
6969 # slimevr
|
6969 # slimevr
|
||||||
8266 # slimevr
|
8266 # slimevr
|
||||||
35903 # slimevr
|
35903 # slimevr
|
||||||
44949 # rquickshare
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -307,7 +308,18 @@
|
||||||
|
|
||||||
alvr = {
|
alvr = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = upkgs.alvr;
|
|
||||||
|
package = upkgs.alvr.overrideAttrs (old: rec {
|
||||||
|
postPatch =
|
||||||
|
(old.postPatch or "")
|
||||||
|
+ ''
|
||||||
|
substituteInPlace alvr/server_openvr/src/lib.rs \
|
||||||
|
--replace-fail \
|
||||||
|
"let early_hmd_initialization = !dashboard_process_paths.is_empty();" \
|
||||||
|
"let early_hmd_initialization = true;"
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue