diff --git a/nix/base/common_hardware.nix b/nix/base/common_hardware.nix index 61d88c6..356e054 100644 --- a/nix/base/common_hardware.nix +++ b/nix/base/common_hardware.nix @@ -32,9 +32,7 @@ in # Enable CUPS to print documents. services.printing.enable = true; services.printing.browsing = true; - # fucking fun - # TODO: https://github.com/NixOS/nixpkgs/pull/325825 .... - # services.printing.drivers = [ pkgs.hplip ]; + services.printing.drivers = [ pkgs.hplip ]; services.printing.startWhenNeeded = true; # optional services.avahi = { enable = true; diff --git a/nix/flake.lock b/nix/flake.lock index f87db2b..b10b6fe 100644 --- a/nix/flake.lock +++ b/nix/flake.lock @@ -73,11 +73,11 @@ "base16-helix": { "flake": false, "locked": { - "lastModified": 1696727917, - "narHash": "sha256-FVrbPk+NtMra0jtlC5oxyNchbm8FosmvXIatkRbYy1g=", + "lastModified": 1720809814, + "narHash": "sha256-numb3xigRGnr/deF7wdjBwVg7fpbTH7reFDkJ75AJkY=", "owner": "tinted-theming", "repo": "base16-helix", - "rev": "dbe1480d99fe80f08df7970e471fac24c05f2ddb", + "rev": "34f41987bec14c0f3f6b2155c19787b1f6489625", "type": "github" }, "original": { @@ -173,7 +173,66 @@ "type": "github" } }, + "dashvim": { + "inputs": { + "flake-parts": "flake-parts_2", + "nixpkgs": [ + "nixpkgs" + ], + "nixvim": "nixvim" + }, + "locked": { + "lastModified": 1721001253, + "narHash": "sha256-5Nfky4JhjM865jbvrueY/+fByUT8meUCHWuuwhaIUcw=", + "owner": "DashieTM", + "repo": "DashVim", + "rev": "276041dee43e85f0223b08041a842ba38c3e1ad3", + "type": "github" + }, + "original": { + "owner": "DashieTM", + "repo": "DashVim", + "type": "github" + } + }, + "devshell": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": [ + "dashvim", + "nixvim", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1717408969, + "narHash": "sha256-Q0OEFqe35fZbbRPPRdrjTUUChKVhhWXz3T9ZSKmaoVY=", + "owner": "numtide", + "repo": "devshell", + "rev": "1ebbe68d57457c8cae98145410b164b5477761f4", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "devshell", + "type": "github" + } + }, "flake-compat": { + "locked": { + "lastModified": 1696426674, + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "revCount": 57, + "type": "tarball", + "url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.0.1/018afb31-abd1-7bff-a5e4-cff7e18efb7a/source.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz" + } + }, + "flake-compat_2": { "flake": false, "locked": { "lastModified": 1673956053, @@ -210,133 +269,7 @@ "type": "github" } }, - "flake-parts_2": { - "inputs": { - "nixpkgs-lib": [ - "hyprdock", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1715865404, - "narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "flake-parts", - "type": "github" - } - }, - "flake-parts_3": { - "inputs": { - "nixpkgs-lib": [ - "oxicalc", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1715865404, - "narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "flake-parts", - "type": "github" - } - }, - "flake-parts_4": { - "inputs": { - "nixpkgs-lib": [ - "oxidash", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1715865404, - "narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "flake-parts", - "type": "github" - } - }, - "flake-parts_5": { - "inputs": { - "nixpkgs-lib": [ - "oxinoti", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1715865404, - "narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "flake-parts", - "type": "github" - } - }, - "flake-parts_6": { - "inputs": { - "nixpkgs-lib": [ - "oxipaste", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1715865404, - "narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "flake-parts", - "type": "github" - } - }, - "flake-parts_7": { - "inputs": { - "nixpkgs-lib": [ - "oxishut", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1715865404, - "narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "flake-parts", - "type": "github" - } - }, - "flake-parts_8": { + "flake-parts_10": { "inputs": { "nixpkgs-lib": [ "reset", @@ -357,7 +290,7 @@ "type": "github" } }, - "flake-parts_9": { + "flake-parts_11": { "inputs": { "nixpkgs-lib": [ "reset-plugins", @@ -378,16 +311,182 @@ "type": "github" } }, - "flake-utils": { + "flake-parts_2": { "inputs": { - "systems": "systems_3" + "nixpkgs-lib": "nixpkgs-lib" }, "locked": { - "lastModified": 1705309234, - "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", + "lastModified": 1719994518, + "narHash": "sha256-pQMhCCHyQGRzdfAkdJ4cIWiw+JNuWsTX7f0ZYSyz0VY=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "9227223f6d922fee3c7b190b2cc238a99527bbb7", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_3": { + "inputs": { + "nixpkgs-lib": [ + "dashvim", + "nixvim", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1719877454, + "narHash": "sha256-g5N1yyOSsPNiOlFfkuI/wcUjmtah+nxdImJqrSATjOU=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "4e3583423212f9303aa1a6337f8dffb415920e4f", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_4": { + "inputs": { + "nixpkgs-lib": [ + "hyprdock", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1715865404, + "narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_5": { + "inputs": { + "nixpkgs-lib": [ + "oxicalc", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1715865404, + "narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_6": { + "inputs": { + "nixpkgs-lib": [ + "oxidash", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1715865404, + "narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_7": { + "inputs": { + "nixpkgs-lib": [ + "oxinoti", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1715865404, + "narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_8": { + "inputs": { + "nixpkgs-lib": [ + "oxipaste", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1715865404, + "narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_9": { + "inputs": { + "nixpkgs-lib": [ + "oxishut", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1715865404, + "narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-utils": { + "inputs": { + "systems": "systems_2" + }, + "locked": { + "lastModified": 1701680307, + "narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=", "owner": "numtide", "repo": "flake-utils", - "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", + "rev": "4022d587cbbfd70fe950c1e2083a02621806a725", "type": "github" }, "original": { @@ -504,6 +603,24 @@ "type": "github" } }, + "flake-utils_8": { + "inputs": { + "systems": "systems_10" + }, + "locked": { + "lastModified": 1705309234, + "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "fromYaml": { "flake": false, "locked": { @@ -536,6 +653,62 @@ "type": "github" } }, + "git-hooks": { + "inputs": { + "flake-compat": [ + "dashvim", + "nixvim", + "flake-compat" + ], + "gitignore": "gitignore", + "nixpkgs": [ + "dashvim", + "nixvim", + "nixpkgs" + ], + "nixpkgs-stable": [ + "dashvim", + "nixvim", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1719259945, + "narHash": "sha256-F1h+XIsGKT9TkGO3omxDLEb/9jOOsI6NnzsXFsZhry4=", + "owner": "cachix", + "repo": "git-hooks.nix", + "rev": "0ff4381bbb8f7a52ca4a851660fc7a437a4c6e07", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "git-hooks.nix", + "type": "github" + } + }, + "gitignore": { + "inputs": { + "nixpkgs": [ + "dashvim", + "nixvim", + "git-hooks", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1709087332, + "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", + "owner": "hercules-ci", + "repo": "gitignore.nix", + "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "gitignore.nix", + "type": "github" + } + }, "gnome-shell": { "flake": false, "locked": { @@ -556,15 +729,17 @@ "home-manager": { "inputs": { "nixpkgs": [ + "dashvim", + "nixvim", "nixpkgs" ] }, "locked": { - "lastModified": 1720646128, - "narHash": "sha256-BivO5yIQukDlJL+1875Sqf3GuOPxZDdA48dYDi3PkL8=", + "lastModified": 1719827439, + "narHash": "sha256-tneHOIv1lEavZ0vQ+rgz67LPNCgOZVByYki3OkSshFU=", "owner": "nix-community", "repo": "home-manager", - "rev": "c085b984ff2808bf322f375b10fea5a415a9c43d", + "rev": "59ce796b2563e19821361abbe2067c3bb4143a7d", "type": "github" }, "original": { @@ -574,6 +749,26 @@ } }, "home-manager_2": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1720734513, + "narHash": "sha256-neWQ8eNtLTd+YMesb7WjKl1SVCbDyCm46LUgP/g/hdo=", + "owner": "nix-community", + "repo": "home-manager", + "rev": "90ae324e2c56af10f20549ab72014804a3064c7f", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "home-manager", + "type": "github" + } + }, + "home-manager_3": { "inputs": { "nixpkgs": [ "stylix", @@ -625,8 +820,8 @@ }, "hyprdock": { "inputs": { - "flake-parts": "flake-parts_2", - "nixpkgs": "nixpkgs_2" + "flake-parts": "flake-parts_4", + "nixpkgs": "nixpkgs_3" }, "locked": { "lastModified": 1716453478, @@ -648,16 +843,16 @@ "hyprlang": "hyprlang", "hyprutils": "hyprutils", "hyprwayland-scanner": "hyprwayland-scanner", - "nixpkgs": "nixpkgs_3", - "systems": "systems_2", + "nixpkgs": "nixpkgs_4", + "systems": "systems_3", "xdph": "xdph" }, "locked": { - "lastModified": 1720731503, - "narHash": "sha256-Qlm0IRnOrI64RW/SEvW9rA1ytVvPS1CsVvRataNvStI=", + "lastModified": 1720896272, + "narHash": "sha256-zo1lDMsxjEyko/P+KfCLNYZrCAWQOrX90/J31nqzpy4=", "ref": "refs/heads/main", - "rev": "e728e56cbc6af0a9be1276b2cf8e019a894016e7", - "revCount": 4917, + "rev": "bc6b0880dda2607a80f000c134f573c970452a0f", + "revCount": 4925, "submodules": true, "type": "git", "url": "https://github.com/hyprwm/Hyprland" @@ -778,15 +973,15 @@ "inputs": { "crane": "crane", "naersk": "naersk", - "nixpkgs": "nixpkgs_5", + "nixpkgs": "nixpkgs_6", "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1719927553, - "narHash": "sha256-8DBU91zfxyEZF1mCy1qmvA7mb/ee7AwqEUAT6ScJu40=", + "lastModified": 1720904669, + "narHash": "sha256-Se+Pg81W8R+SFGFlhF1dU+NnMWSdLo3nC9TdPHa2IL4=", "owner": "JakeStanger", "repo": "ironbar", - "rev": "bcaa13deae4e47caa5fffa7fdaa0981af1fec297", + "rev": "58190ab079d00dd53babb72346f1da6e1cc9ac72", "type": "github" }, "original": { @@ -797,7 +992,7 @@ }, "naersk": { "inputs": { - "nixpkgs": "nixpkgs_4" + "nixpkgs": "nixpkgs_5" }, "locked": { "lastModified": 1717067539, @@ -813,6 +1008,28 @@ "type": "github" } }, + "nix-darwin": { + "inputs": { + "nixpkgs": [ + "dashvim", + "nixvim", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1719845423, + "narHash": "sha256-ZLHDmWAsHQQKnmfyhYSHJDlt8Wfjv6SQhl2qek42O7A=", + "owner": "lnl7", + "repo": "nix-darwin", + "rev": "ec12b88104d6c117871fad55e931addac4626756", + "type": "github" + }, + "original": { + "owner": "lnl7", + "repo": "nix-darwin", + "type": "github" + } + }, "nix-flatpak": { "locked": { "lastModified": 1711997375, @@ -844,6 +1061,18 @@ "type": "github" } }, + "nixpkgs-lib": { + "locked": { + "lastModified": 1719876945, + "narHash": "sha256-Fm2rDDs86sHy0/1jxTOKB1118Q0O3Uc7EC0iXvXKpbI=", + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/5daf0514482af3f97abaefc78a6606365c9108e2.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/5daf0514482af3f97abaefc78a6606365c9108e2.tar.gz" + } + }, "nixpkgs-stable": { "locked": { "lastModified": 1720282526, @@ -861,6 +1090,22 @@ } }, "nixpkgs_10": { + "locked": { + "lastModified": 1706487304, + "narHash": "sha256-LE8lVX28MV2jWJsidW13D2qrHU/RUUONendL2Q/WlJg=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "90f456026d284c22b3e3497be980b2e47d0b28ac", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_11": { "locked": { "lastModified": 1716137900, "narHash": "sha256-sowPU+tLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM=", @@ -876,7 +1121,7 @@ "type": "github" } }, - "nixpkgs_11": { + "nixpkgs_12": { "locked": { "lastModified": 1706487304, "narHash": "sha256-LE8lVX28MV2jWJsidW13D2qrHU/RUUONendL2Q/WlJg=", @@ -892,7 +1137,7 @@ "type": "github" } }, - "nixpkgs_12": { + "nixpkgs_13": { "locked": { "lastModified": 1716137900, "narHash": "sha256-sowPU+tLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM=", @@ -908,7 +1153,7 @@ "type": "github" } }, - "nixpkgs_13": { + "nixpkgs_14": { "locked": { "lastModified": 1716190602, "narHash": "sha256-xYRimrR0duWvokWQEvB87bSsICeCvvX9DxpUOzCfsDE=", @@ -924,7 +1169,7 @@ "type": "github" } }, - "nixpkgs_14": { + "nixpkgs_15": { "locked": { "lastModified": 1716137900, "narHash": "sha256-sowPU+tLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM=", @@ -940,23 +1185,23 @@ "type": "github" } }, - "nixpkgs_15": { - "locked": { - "lastModified": 1706487304, - "narHash": "sha256-LE8lVX28MV2jWJsidW13D2qrHU/RUUONendL2Q/WlJg=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "90f456026d284c22b3e3497be980b2e47d0b28ac", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, "nixpkgs_16": { + "locked": { + "lastModified": 1706487304, + "narHash": "sha256-LE8lVX28MV2jWJsidW13D2qrHU/RUUONendL2Q/WlJg=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "90f456026d284c22b3e3497be980b2e47d0b28ac", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_17": { "locked": { "lastModified": 1716137900, "narHash": "sha256-sowPU+tLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM=", @@ -972,7 +1217,7 @@ "type": "github" } }, - "nixpkgs_17": { + "nixpkgs_18": { "locked": { "lastModified": 1706487304, "narHash": "sha256-LE8lVX28MV2jWJsidW13D2qrHU/RUUONendL2Q/WlJg=", @@ -988,7 +1233,7 @@ "type": "github" } }, - "nixpkgs_18": { + "nixpkgs_19": { "locked": { "lastModified": 1716948383, "narHash": "sha256-SzDKxseEcHR5KzPXLwsemyTR/kaM9whxeiJohbL04rs=", @@ -1004,7 +1249,23 @@ "type": "github" } }, - "nixpkgs_19": { + "nixpkgs_2": { + "locked": { + "lastModified": 1719848872, + "narHash": "sha256-H3+EC5cYuq+gQW8y0lSrrDZfH71LB4DAf+TDFyvwCNA=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "00d80d13810dbfea8ab4ed1009b09100cca86ba8", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_20": { "locked": { "lastModified": 1706487304, "narHash": "sha256-LE8lVX28MV2jWJsidW13D2qrHU/RUUONendL2Q/WlJg=", @@ -1020,23 +1281,7 @@ "type": "github" } }, - "nixpkgs_2": { - "locked": { - "lastModified": 1716330097, - "narHash": "sha256-8BO3B7e3BiyIDsaKA0tY8O88rClYRTjvAp66y+VBUeU=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "5710852ba686cc1fd0d3b8e22b3117d43ba374c2", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_20": { + "nixpkgs_21": { "locked": { "lastModified": 1720181791, "narHash": "sha256-i4vJL12/AdyuQuviMMd1Hk2tsGt02hDNhA0Zj1m16N8=", @@ -1052,7 +1297,7 @@ "type": "github" } }, - "nixpkgs_21": { + "nixpkgs_22": { "locked": { "lastModified": 1714912032, "narHash": "sha256-clkcOIkg8G4xuJh+1onLG4HPMpbtzdLv4rHxFzgsH9c=", @@ -1069,6 +1314,22 @@ } }, "nixpkgs_3": { + "locked": { + "lastModified": 1716330097, + "narHash": "sha256-8BO3B7e3BiyIDsaKA0tY8O88rClYRTjvAp66y+VBUeU=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "5710852ba686cc1fd0d3b8e22b3117d43ba374c2", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_4": { "locked": { "lastModified": 1720542800, "narHash": "sha256-ZgnNHuKV6h2+fQ5LuqnUaqZey1Lqqt5dTUAiAnqH0QQ=", @@ -1084,7 +1345,7 @@ "type": "github" } }, - "nixpkgs_4": { + "nixpkgs_5": { "locked": { "lastModified": 1717112898, "narHash": "sha256-7R2ZvOnvd9h8fDd65p0JnB7wXfUvreox3xFdYWd1BnY=", @@ -1098,7 +1359,7 @@ "type": "indirect" } }, - "nixpkgs_5": { + "nixpkgs_6": { "locked": { "lastModified": 1716948383, "narHash": "sha256-SzDKxseEcHR5KzPXLwsemyTR/kaM9whxeiJohbL04rs=", @@ -1114,33 +1375,17 @@ "type": "github" } }, - "nixpkgs_6": { - "locked": { - "lastModified": 1720418205, - "narHash": "sha256-cPJoFPXU44GlhWg4pUk9oUPqurPlCFZ11ZQPk21GTPU=", - "owner": "NixOs", - "repo": "nixpkgs", - "rev": "655a58a72a6601292512670343087c2d75d859c1", - "type": "github" - }, - "original": { - "owner": "NixOs", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, "nixpkgs_7": { "locked": { - "lastModified": 1716137900, - "narHash": "sha256-sowPU+tLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM=", - "owner": "NixOS", + "lastModified": 1720768451, + "narHash": "sha256-EYekUHJE2gxeo2pM/zM9Wlqw1Uw2XTJXOSAO79ksc4Y=", + "owner": "NixOs", "repo": "nixpkgs", - "rev": "6c0b7a92c30122196a761b440ac0d46d3d9954f1", + "rev": "7e7c39ea35c5cdd002cd4588b03a3fb9ece6fad9", "type": "github" }, "original": { - "owner": "NixOS", + "owner": "NixOs", "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" @@ -1164,27 +1409,52 @@ }, "nixpkgs_9": { "locked": { - "lastModified": 1706487304, - "narHash": "sha256-LE8lVX28MV2jWJsidW13D2qrHU/RUUONendL2Q/WlJg=", + "lastModified": 1716137900, + "narHash": "sha256-sowPU+tLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "90f456026d284c22b3e3497be980b2e47d0b28ac", + "rev": "6c0b7a92c30122196a761b440ac0d46d3d9954f1", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixpkgs-unstable", + "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" } }, + "nixvim": { + "inputs": { + "devshell": "devshell", + "flake-compat": "flake-compat", + "flake-parts": "flake-parts_3", + "git-hooks": "git-hooks", + "home-manager": "home-manager", + "nix-darwin": "nix-darwin", + "nixpkgs": "nixpkgs_2", + "treefmt-nix": "treefmt-nix" + }, + "locked": { + "lastModified": 1720898451, + "narHash": "sha256-T7JAUYx7WZrEEItqRb9Bh6rj0Njffir4XHJUNwhQMiY=", + "owner": "nix-community", + "repo": "nixvim", + "rev": "06a44e9e8814ab13ea013e222637a497a50e96e4", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixvim", + "type": "github" + } + }, "nur": { "locked": { - "lastModified": 1720653960, - "narHash": "sha256-7Z8NTGholkQ2iQvNGyWMdnvRkzUKJnplVNjZDyf1ztE=", + "lastModified": 1720908054, + "narHash": "sha256-nRmtu5zaYvzvonEZaQlORbIoZvctVy3P3YraH/ChzG0=", "owner": "nix-community", "repo": "nur", - "rev": "477b0d6ac43b0dbb332ad5ea3cfeb82221925d20", + "rev": "fc076c6c1c848d6f950303f937b26d202b23d4b0", "type": "github" }, "original": { @@ -1195,8 +1465,8 @@ }, "oxicalc": { "inputs": { - "flake-parts": "flake-parts_3", - "nixpkgs": "nixpkgs_7" + "flake-parts": "flake-parts_5", + "nixpkgs": "nixpkgs_8" }, "locked": { "lastModified": 1716225554, @@ -1214,8 +1484,8 @@ }, "oxidash": { "inputs": { - "flake-parts": "flake-parts_4", - "nixpkgs": "nixpkgs_8", + "flake-parts": "flake-parts_6", + "nixpkgs": "nixpkgs_9", "rust-overlay": "rust-overlay_2" }, "locked": { @@ -1234,8 +1504,8 @@ }, "oxinoti": { "inputs": { - "flake-parts": "flake-parts_5", - "nixpkgs": "nixpkgs_10", + "flake-parts": "flake-parts_7", + "nixpkgs": "nixpkgs_11", "rust-overlay": "rust-overlay_3" }, "locked": { @@ -1254,8 +1524,8 @@ }, "oxipaste": { "inputs": { - "flake-parts": "flake-parts_6", - "nixpkgs": "nixpkgs_12", + "flake-parts": "flake-parts_8", + "nixpkgs": "nixpkgs_13", "rust-overlay": "rust-overlay_4" }, "locked": { @@ -1274,8 +1544,8 @@ }, "oxishut": { "inputs": { - "flake-parts": "flake-parts_7", - "nixpkgs": "nixpkgs_14", + "flake-parts": "flake-parts_9", + "nixpkgs": "nixpkgs_15", "rust-overlay": "rust-overlay_5" }, "locked": { @@ -1294,8 +1564,8 @@ }, "reset": { "inputs": { - "flake-parts": "flake-parts_8", - "nixpkgs": "nixpkgs_16", + "flake-parts": "flake-parts_10", + "nixpkgs": "nixpkgs_17", "rust-overlay": "rust-overlay_6" }, "locked": { @@ -1314,8 +1584,8 @@ }, "reset-plugins": { "inputs": { - "flake-parts": "flake-parts_9", - "nixpkgs": "nixpkgs_18", + "flake-parts": "flake-parts_11", + "nixpkgs": "nixpkgs_19", "rust-overlay": "rust-overlay_7" }, "locked": { @@ -1336,12 +1606,13 @@ "inputs": { "anyrun": "anyrun", "base16": "base16", - "home-manager": "home-manager", + "dashvim": "dashvim", + "home-manager": "home-manager_2", "hyprdock": "hyprdock", "hyprland": "hyprland", "ironbar": "ironbar", "nix-flatpak": "nix-flatpak", - "nixpkgs": "nixpkgs_6", + "nixpkgs": "nixpkgs_7", "nur": "nur", "oxicalc": "oxicalc", "oxidash": "oxidash", @@ -1356,7 +1627,7 @@ }, "rust-overlay": { "inputs": { - "flake-utils": "flake-utils", + "flake-utils": "flake-utils_2", "nixpkgs": [ "ironbar", "nixpkgs" @@ -1378,8 +1649,8 @@ }, "rust-overlay_2": { "inputs": { - "flake-utils": "flake-utils_2", - "nixpkgs": "nixpkgs_9" + "flake-utils": "flake-utils_3", + "nixpkgs": "nixpkgs_10" }, "locked": { "lastModified": 1716171463, @@ -1397,8 +1668,8 @@ }, "rust-overlay_3": { "inputs": { - "flake-utils": "flake-utils_3", - "nixpkgs": "nixpkgs_11" + "flake-utils": "flake-utils_4", + "nixpkgs": "nixpkgs_12" }, "locked": { "lastModified": 1716171463, @@ -1416,8 +1687,8 @@ }, "rust-overlay_4": { "inputs": { - "flake-utils": "flake-utils_4", - "nixpkgs": "nixpkgs_13" + "flake-utils": "flake-utils_5", + "nixpkgs": "nixpkgs_14" }, "locked": { "lastModified": 1716171463, @@ -1435,8 +1706,8 @@ }, "rust-overlay_5": { "inputs": { - "flake-utils": "flake-utils_5", - "nixpkgs": "nixpkgs_15" + "flake-utils": "flake-utils_6", + "nixpkgs": "nixpkgs_16" }, "locked": { "lastModified": 1716171463, @@ -1454,8 +1725,8 @@ }, "rust-overlay_6": { "inputs": { - "flake-utils": "flake-utils_6", - "nixpkgs": "nixpkgs_17" + "flake-utils": "flake-utils_7", + "nixpkgs": "nixpkgs_18" }, "locked": { "lastModified": 1716171463, @@ -1473,8 +1744,8 @@ }, "rust-overlay_7": { "inputs": { - "flake-utils": "flake-utils_7", - "nixpkgs": "nixpkgs_19" + "flake-utils": "flake-utils_8", + "nixpkgs": "nixpkgs_20" }, "locked": { "lastModified": 1717035469, @@ -1492,7 +1763,7 @@ }, "sops-nix": { "inputs": { - "nixpkgs": "nixpkgs_20", + "nixpkgs": "nixpkgs_21", "nixpkgs-stable": "nixpkgs-stable" }, "locked": { @@ -1518,17 +1789,17 @@ "base16-kitty": "base16-kitty", "base16-tmux": "base16-tmux", "base16-vim": "base16-vim", - "flake-compat": "flake-compat", + "flake-compat": "flake-compat_2", "gnome-shell": "gnome-shell", - "home-manager": "home-manager_2", - "nixpkgs": "nixpkgs_21" + "home-manager": "home-manager_3", + "nixpkgs": "nixpkgs_22" }, "locked": { - "lastModified": 1719525570, - "narHash": "sha256-xSO/H67GAHEW0siD2PHoO/e97MbROL3r3s5SpF6A6Dc=", + "lastModified": 1720818679, + "narHash": "sha256-u9PqY7O6TN42SLeb0e6mnYAgQOoQmclaVSHfLKMpmu0=", "owner": "danth", "repo": "stylix", - "rev": "1ff9d37d27377bfe8994c24a8d6c6c1734ffa116", + "rev": "29148118cc33f08b71058e1cda7ca017f5300b51", "type": "github" }, "original": { @@ -1552,22 +1823,7 @@ "type": "github" } }, - "systems_2": { - "locked": { - "lastModified": 1689347949, - "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", - "owner": "nix-systems", - "repo": "default-linux", - "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default-linux", - "type": "github" - } - }, - "systems_3": { + "systems_10": { "locked": { "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", @@ -1582,6 +1838,36 @@ "type": "github" } }, + "systems_2": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_3": { + "locked": { + "lastModified": 1689347949, + "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", + "owner": "nix-systems", + "repo": "default-linux", + "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default-linux", + "type": "github" + } + }, "systems_4": { "locked": { "lastModified": 1681028828, @@ -1672,6 +1958,28 @@ "type": "github" } }, + "treefmt-nix": { + "inputs": { + "nixpkgs": [ + "dashvim", + "nixvim", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1719887753, + "narHash": "sha256-p0B2r98UtZzRDM5miGRafL4h7TwGRC4DII+XXHDHqek=", + "owner": "numtide", + "repo": "treefmt-nix", + "rev": "bdb6355009562d8f9313d9460c0d3860f525bc6c", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "treefmt-nix", + "type": "github" + } + }, "xdph": { "inputs": { "hyprland-protocols": "hyprland-protocols", diff --git a/nix/flake.nix b/nix/flake.nix index 71d80b6..ada2006 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -40,7 +40,11 @@ hyprdock.url = "github:DashieTM/hyprdock"; reset.url = "github:Xetibo/ReSet"; reset-plugins.url = "github:Xetibo/ReSet-Plugins"; - + # nixvim.url = "github:nix-community/nixvim"; + dashvim = { + url = "github:DashieTM/DashVim"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = { ... }@inputs: @@ -49,9 +53,6 @@ system = "x86_64-linux"; overlays = [ inputs.nur.overlay - (_: prev: { - python312 = prev.python312.override { packageOverrides = _: pysuper: { nose = pysuper.pynose; }; }; - }) ]; config = { allowUnfree = true; diff --git a/nix/hardware/spaceship/spaceship.nix b/nix/hardware/spaceship/spaceship.nix index 461e54c..482de77 100644 --- a/nix/hardware/spaceship/spaceship.nix +++ b/nix/hardware/spaceship/spaceship.nix @@ -22,10 +22,8 @@ hardware.graphics.extraPackages = with pkgs; [ libvdpau-va-gl vaapiVdpau - # DUDE FOR FUCK SAKE - # TODO: - # rocmPackages.clr.icd - # rocm-opencl-runtime + rocmPackages.clr.icd + rocm-opencl-runtime ]; hardware.graphics = { enable = true; diff --git a/nix/modules/conf.nix b/nix/modules/conf.nix index 6a59abf..27a99fd 100644 --- a/nix/modules/conf.nix +++ b/nix/modules/conf.nix @@ -169,6 +169,15 @@ }; }; + nvim-colorscheme = lib.mkOption { + default = { tokyonight = { enable = true; }; }; + example = { catppuccin = { enable = true; }; }; + type = lib.types.attrs; + description = '' + nixvim colorscheme. + ''; + }; + colorscheme = lib.mkOption { default = { # custom tokyo night diff --git a/nix/programs/coding.nix b/nix/programs/coding.nix index e3a9c6c..305439d 100644 --- a/nix/programs/coding.nix +++ b/nix/programs/coding.nix @@ -5,9 +5,15 @@ }: { imports = [ - (import ./nvim/default.nix { inherit lib pkgs; colorscheme = config.conf.colorscheme; }) + # old neovim config + # (import ./nvim/default.nix { inherit lib pkgs; colorscheme = config.conf.colorscheme; }) ]; + programs.dashvim = { + enable = true; + colorscheme = config.conf.colorscheme; + }; + home.packages = with pkgs; [ #basics gitui diff --git a/nix/programs/common.nix b/nix/programs/common.nix index 5b4f35c..49f0074 100644 --- a/nix/programs/common.nix +++ b/nix/programs/common.nix @@ -100,12 +100,12 @@ in ''; # # dconf.settings = { - # "org/gnome/desktop/interface" = { - # gtk-theme = "adw-gtk3"; - # cursor-theme = "Bibata-Modern-Classic"; - # cursor-size = 24; - # icon-theme = "MoreWaita"; - # }; + # "org/gnome/desktop/interface" = { + # gtk-theme = "adw-gtk3"; + # cursor-theme = "Bibata-Modern-Classic"; + # cursor-size = 24; + # icon-theme = "MoreWaita"; + # }; # }; programs.nix-index = diff --git a/nix/programs/default.nix b/nix/programs/default.nix index 69fb5c8..a0e4b2f 100644 --- a/nix/programs/default.nix +++ b/nix/programs/default.nix @@ -13,6 +13,7 @@ let inputs.reset.homeManagerModules.default inputs.nix-flatpak.homeManagerModules.nix-flatpak inputs.sops-nix.homeManagerModules.sops + inputs.dashvim.homeManagerModules.dashvim ]; in { @@ -31,7 +32,6 @@ in home-manager.users.${config.conf.username} = { imports = [ - ./hyprland/default.nix ./flatpak.nix ./common.nix diff --git a/nix/programs/hyprland/config.nix b/nix/programs/hyprland/config.nix index 6dd74d5..4673dd6 100644 --- a/nix/programs/hyprland/config.nix +++ b/nix/programs/hyprland/config.nix @@ -230,8 +230,6 @@ "immediate,class:^(.*)(Pal)$" "immediate,class:^(.*)(dota2)$" "immediate,class:^(.*)(needforspeedheat.exe)$" - "forceinput,class:^(.*)(Pal)$" - "forceinput,class:^(.*)(Battlefield 4)$" ]; exec-once = [ diff --git a/nix/programs/individual_configs/kitty.nix b/nix/programs/individual_configs/kitty.nix index 301d747..4bdaf35 100644 --- a/nix/programs/individual_configs/kitty.nix +++ b/nix/programs/individual_configs/kitty.nix @@ -1,59 +1,80 @@ -{ lib, ... }: { +{ lib, config, inputs, pkgs, ... }: +let + base16 = pkgs.callPackage inputs.base16.lib { }; + scheme = (base16.mkSchemeAttrs config.stylix.base16Scheme); + hexTable = { + "0" = "1"; + "1" = "0"; + "2" = "1"; + "3" = "2"; + "4" = "3"; + "5" = "4"; + "6" = "5"; + "7" = "6"; + "8" = "7"; + "9" = "8"; + "a" = "9"; + "b" = "a"; + "c" = "b"; + "d" = "c"; + "e" = "d"; + "f" = "e"; + }; + base = "#" + lib.strings.concatStrings ((lib.lists.take 5 (lib.strings.stringToCharacters scheme.base00)) ++ [ hexTable."${(lib.lists.last (lib.strings.stringToCharacters scheme.base00))}" ]); +in +{ + + stylix.targets.kitty = { + enable = false; + }; programs.kitty = { enable = true; settings = { enable_audio_bell = "no"; window_alert_on_bell = "no"; - background_opacity = lib.mkForce "0.8"; cursor_blink_interval = "0"; window_padding_width = "1"; shell_integration = "yes"; sync_with_monitor = "no"; + background_opacity = "0.8"; font_family = "JetBrainsMono Nerd Font Mono"; bold_font = "JetBrainsMono Nerd Font Mono Extra Bold"; italic_font = "JetBrainsMono Nerd Font Mono Extra Italic"; bold_italic_font = "JetBrainsMono Nerd Font Mono Extra Bold Italic"; - # background = lib.mkForce "#1a1b25"; - # foreground = "#c5c8c6"; - # - # selection_background = "#b2ceee"; - # selection_foreground = "#080808"; - # - # url_color = "#73daca"; - # cursor = "#c0caf5"; - # cursor_text_color = "#1a1b25"; - # - # active_tab_background = "#7aa2f7"; - # active_tab_foreground = "#16161e"; - # inactive_tab_background = "#292e42"; - # inactive_tab_foreground = "#545c7e"; - # - # active_border_color = "#7aa2f7"; - # inactive_border_color = "#292e42"; + background = base; + foreground = "#" + scheme.base05; + selection_foreground = "#" + scheme.base05; + selection_background = base; + url_color = "#" + scheme.base04; + cursor = "#" + scheme.base05; + active_border_color = "#" + scheme.base03; + inactive_border_color = "#" + scheme.base01; + active_tab_background = base; + active_tab_foreground = "#" + scheme.base05; + inactive_tab_background = "#" + scheme.base01; + inactive_tab_foreground = "#" + scheme.base04; + tab_bar_background = "#" + scheme.base01; - # color0 = "#15161e"; - # color1 = "#c94448"; - # color2 = "#9ece6a"; - # color3 = "#e0af68"; - # color4 = "#7aa2f7"; - # color5 = "#bb9af7"; - # color6 = "#7dcfff"; - # color7 = "#a9b1d6"; - # - # color8 = "#414868"; - # color9 = "#f2201f"; - # color10 = "#9ece6a"; - # color11 = "#e0af68"; - # color12 = "#7aa2f7"; - # color13 = "#bb9af7"; - # color14 = "#7dcfff"; - # color15 = "#c0caf5"; - # - # color16 = "#ff9e64"; - # color17 = "#db4b4b"; + color0 = base; + color1 = "#" + scheme.base08; + color2 = "#" + scheme.base0B; + color3 = "#" + scheme.base0A; + color4 = "#" + scheme.base0D; + color5 = "#" + scheme.base0E; + color6 = "#" + scheme.base0C; + color7 = "#" + scheme.base05; + + color8 = "#" + scheme.base03; + color9 = "#" + scheme.base08; + color10 = "#" + scheme.base0B; + color11 = "#" + scheme.base0A; + color12 = "#" + scheme.base0D; + color13 = "#" + scheme.base0E; + color14 = "#" + scheme.base0C; + color15 = "#" + scheme.base07; shell = "fish"; }; diff --git a/nix/programs/themes/stylix.nix b/nix/programs/themes/stylix.nix index 4a210e2..7675e25 100644 --- a/nix/programs/themes/stylix.nix +++ b/nix/programs/themes/stylix.nix @@ -4,16 +4,20 @@ enable = true; image = /home/${config.conf.username}/Pictures/backgrounds/shinobu_2k.jpg; polarity = "dark"; + targets = { + nixvim.enable = false; + fish.enable = false; + }; fonts = { serif = { - package = pkgs.dejavu_fonts; - name = "DejaVu Serif"; + package = pkgs.cantarell-fonts; + name = "Cantarell"; }; sansSerif = { - package = pkgs.dejavu_fonts; - name = "DejaVu Sans"; + package = pkgs.cantarell-fonts; + name = "Cantarell"; }; monospace = {