diff --git a/flake.lock b/flake.lock index 72140fa..d2b22c3 100644 --- a/flake.lock +++ b/flake.lock @@ -70,9 +70,7 @@ "awww": { "inputs": { "flake-compat": "flake-compat", - "nixpkgs": [ - "nixpkgs-unstable" - ], + "nixpkgs": "nixpkgs", "rust-overlay": "rust-overlay" }, "locked": { @@ -95,14 +93,14 @@ "cachyos-kernel-patches": "cachyos-kernel-patches", "flake-compat": "flake-compat_2", "flake-parts": "flake-parts", - "nixpkgs": "nixpkgs" + "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1772422417, - "narHash": "sha256-TyLPxtYIhHP7QNwVwrDRxaj+XKorVOyA4EKhRjpBI8U=", + "lastModified": 1771353108, + "narHash": "sha256-5Xtei4UKrqRC6IYLgI1KEBaPN9Xfef5JeOexdqDWVeg=", "owner": "xddxdd", "repo": "nix-cachyos-kernel", - "rev": "8ff8842cf58569ebe830f37350c6f1602fa35c39", + "rev": "98e777cdcc39e6bd0312a9d756507ef9cbd284cb", "type": "github" }, "original": { @@ -114,11 +112,11 @@ "cachyos-kernel": { "flake": false, "locked": { - "lastModified": 1772275362, - "narHash": "sha256-jIQpfzcPBXe1URbf82p/9JxJguZuZZBlMJnW1x7B5jE=", + "lastModified": 1771263855, + "narHash": "sha256-akyds1g8cb742d2OrnQ4YciscpynsQ0+0YD2a8aZdvo=", "owner": "CachyOS", "repo": "linux-cachyos", - "rev": "4a363451cc86ff5304514c8bf25eac42eb46b8c8", + "rev": "5ece16c7b4a7d1261da68153cafc318a60b78ce8", "type": "github" }, "original": { @@ -130,11 +128,11 @@ "cachyos-kernel-patches": { "flake": false, "locked": { - "lastModified": 1772269331, - "narHash": "sha256-DucfJqDGDO7PynT3sRuBfHw5jC0K2Oy0oqpJWueh4xw=", + "lastModified": 1771246613, + "narHash": "sha256-GftqKiyIgMcSgVkbNqXQq7oNnoL1+EB9V71XG4lPBRs=", "owner": "CachyOS", "repo": "kernel-patches", - "rev": "6e2a0214de28cf0af1b72a2076bbfc77d12d96e8", + "rev": "cb320a13e3c92f32ada27acb1fba8a828a22ae60", "type": "github" }, "original": { @@ -166,7 +164,6 @@ "url": "https://tearforge.net/cry/cerulean" }, "original": { - "rev": "d5211287bd3cb96078f2053488d67d557848a8f2", "type": "git", "url": "https://tearforge.net/cry/cerulean" } @@ -227,33 +224,12 @@ } }, "fenix": { - "inputs": { - "nixpkgs": [ - "nixpkgs-unstable" - ], - "rust-analyzer-src": "rust-analyzer-src" - }, - "locked": { - "lastModified": 1772435729, - "narHash": "sha256-7Ln7IuX8nMIqfiDcX8jYkEAsf9oW8GAirvlK5SBPsds=", - "owner": "nix-community", - "repo": "fenix", - "rev": "ec69754e35f5b0088645a69e486ac00e90217757", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "fenix", - "type": "github" - } - }, - "fenix_2": { "inputs": { "nixpkgs": [ "iamb", "nixpkgs" ], - "rust-analyzer-src": "rust-analyzer-src_2" + "rust-analyzer-src": "rust-analyzer-src" }, "locked": { "lastModified": 1760510549, @@ -334,6 +310,21 @@ } }, "flake-compat_5": { + "locked": { + "lastModified": 1767039857, + "narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_6": { "locked": { "lastModified": 1733328505, "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", @@ -352,11 +343,11 @@ "nixpkgs-lib": "nixpkgs-lib" }, "locked": { - "lastModified": 1772408722, - "narHash": "sha256-rHuJtdcOjK7rAHpHphUb1iCvgkU3GpfvicLMwwnfMT0=", + "lastModified": 1769996383, + "narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "f20dc5d9b8027381c474144ecabc9034d6a839a3", + "rev": "57928607ea566b5db3ad13af0e57e921e6b12381", "type": "github" }, "original": { @@ -392,24 +383,6 @@ "inputs": { "nixpkgs-lib": "nixpkgs-lib_2" }, - "locked": { - "lastModified": 1749398372, - "narHash": "sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "flake-parts", - "type": "github" - } - }, - "flake-parts_4": { - "inputs": { - "nixpkgs-lib": "nixpkgs-lib_3" - }, "locked": { "lastModified": 1769996383, "narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=", @@ -489,11 +462,11 @@ ] }, "locked": { - "lastModified": 1772380125, - "narHash": "sha256-8C+y46xA9bxcchj9GeDPJaRUDApaA3sy2fhJr1bTbUw=", + "lastModified": 1770260404, + "narHash": "sha256-3iVX1+7YUIt23hBx1WZsUllhbmP2EnXrV8tCRbLxHc8=", "owner": "nix-community", "repo": "home-manager", - "rev": "a07a44a839eb036e950bf397d9b782916f8dcab3", + "rev": "0d782ee42c86b196acff08acfbf41bb7d13eed5b", "type": "github" }, "original": { @@ -503,44 +476,23 @@ "type": "github" } }, - "home-manager-unstable": { - "inputs": { - "nixpkgs": [ - "nixpkgs-unstable" - ] - }, - "locked": { - "lastModified": 1772380461, - "narHash": "sha256-O3ukj3Bb3V0Tiy/4LUfLlBpWypJ9P0JeUgsKl2nmZZY=", - "owner": "nix-community", - "repo": "home-manager", - "rev": "f140aa04d7d14f8a50ab27f3691b5766b17ae961", - "type": "github" - }, - "original": { - "owner": "nix-community", - "ref": "master", - "repo": "home-manager", - "type": "github" - } - }, "home-manager_2": { "inputs": { "nixpkgs": [ - "nixpkgs" + "nixpkgs-unstable" ] }, "locked": { - "lastModified": 1772380125, - "narHash": "sha256-8C+y46xA9bxcchj9GeDPJaRUDApaA3sy2fhJr1bTbUw=", + "lastModified": 1771269455, + "narHash": "sha256-BZ31eN5F99YH6vkc4AhzKGE+tJgJ52kl8f01K7wCs8w=", "owner": "nix-community", "repo": "home-manager", - "rev": "a07a44a839eb036e950bf397d9b782916f8dcab3", + "rev": "5f1d42a97b19803041434f66681d5c44c9ae62e3", "type": "github" }, "original": { "owner": "nix-community", - "ref": "release-25.11", + "ref": "master", "repo": "home-manager", "type": "github" } @@ -553,11 +505,11 @@ ] }, "locked": { - "lastModified": 1772330611, - "narHash": "sha256-UZjPc/d5XRxvjDbk4veAO4XFdvx6BUum2l40V688Xq8=", + "lastModified": 1771102945, + "narHash": "sha256-e5NfW8NhC3qChR8bHVni/asrig/ZFzd1wzpq+cEE/tg=", "owner": "nix-community", "repo": "home-manager", - "rev": "58fd7ff0eec2cda43e705c4c0585729ec471d400", + "rev": "ff5e5d882c51f9a032479595cbab40fd04f56399", "type": "github" }, "original": { @@ -635,9 +587,7 @@ "hyprutils": "hyprutils", "hyprwayland-scanner": "hyprwayland-scanner", "hyprwire": "hyprwire", - "nixpkgs": [ - "nixpkgs-unstable" - ], + "nixpkgs": "nixpkgs_4", "pre-commit-hooks": "pre-commit-hooks", "systems": "systems_3", "xdph": "xdph" @@ -720,11 +670,11 @@ ] }, "locked": { - "lastModified": 1771865848, - "narHash": "sha256-xwNa+1D8WPsDnJtUofDrtyDCZKZotbUymzV/R5s+M0I=", + "lastModified": 1770899531, + "narHash": "sha256-UBrWjh0DR8db60aLNkTnZTJ9F4kWK0Y7rUDNJC88W7A=", "owner": "hyprwm", "repo": "hyprland-plugins", - "rev": "b85a56b9531013c79f2f3846fd6ee2ff014b8960", + "rev": "e03c34ccd51280a44ea6d1f5c040cd81ecca25ed", "type": "github" }, "original": { @@ -921,11 +871,9 @@ "iamb": { "inputs": { "crane": "crane", - "fenix": "fenix_2", + "fenix": "fenix", "flake-utils": "flake-utils", - "nixpkgs": [ - "nixpkgs-unstable" - ] + "nixpkgs": "nixpkgs_5" }, "locked": { "lastModified": 1768868561, @@ -1026,28 +974,6 @@ "type": "github" } }, - "mango": { - "inputs": { - "flake-parts": "flake-parts_3", - "nixpkgs": [ - "nixpkgs-unstable" - ], - "scenefx": "scenefx" - }, - "locked": { - "lastModified": 1772456032, - "narHash": "sha256-QSbTGcfBlcjFYNvxhbV8DDMLP9CEfJJOEckJL34+T48=", - "owner": "DreamMaoMao", - "repo": "mangowc", - "rev": "46e867deb9dfd58abb22ec92b19461d3761b1f3d", - "type": "github" - }, - "original": { - "owner": "DreamMaoMao", - "repo": "mangowc", - "type": "github" - } - }, "microvm": { "inputs": { "nixpkgs": [ @@ -1057,11 +983,11 @@ "spectrum": "spectrum" }, "locked": { - "lastModified": 1772338235, - "narHash": "sha256-9XcwtSIL/c+pkC3SBNuxCJuSktFOBV1TLvvkhekyB8I=", + "lastModified": 1771365290, + "narHash": "sha256-1XJOslVyF7yzf6yd/yl1VjGLywsbtwmQh3X1LuJcLI4=", "owner": "microvm-nix", "repo": "microvm.nix", - "rev": "9d1ff9b53532908a5eba7707931c9093508b6b92", + "rev": "789c90b164b55b4379e7a94af8b9c01489024c18", "type": "github" }, "original": { @@ -1073,16 +999,16 @@ "microvm_2": { "inputs": { "nixpkgs": [ - "nixpkgs-unstable" + "nixpkgs" ], "spectrum": "spectrum_2" }, "locked": { - "lastModified": 1772338235, - "narHash": "sha256-9XcwtSIL/c+pkC3SBNuxCJuSktFOBV1TLvvkhekyB8I=", + "lastModified": 1771365290, + "narHash": "sha256-1XJOslVyF7yzf6yd/yl1VjGLywsbtwmQh3X1LuJcLI4=", "owner": "microvm-nix", "repo": "microvm.nix", - "rev": "9d1ff9b53532908a5eba7707931c9093508b6b92", + "rev": "789c90b164b55b4379e7a94af8b9c01489024c18", "type": "github" }, "original": { @@ -1106,20 +1032,18 @@ "minhook-src": "minhook-src", "mini-src": "mini-src", "minizip-src": "minizip-src", - "nixpkgs": [ - "nixpkgs-unstable" - ], + "nixpkgs": "nixpkgs_6", "re2-src": "re2-src", "websocketpp-src": "websocketpp-src", "zlib-src": "zlib-src" }, "locked": { "dir": "packages/nix", - "lastModified": 1771478814, - "narHash": "sha256-BhFWModRCeZXaTPcMbuDKH1M4I7iXjdWn0M54SAttUM=", + "lastModified": 1770489586, + "narHash": "sha256-JMN7T1ZrQ7PjSsgKobxtEENHiBAxqHNNIAaJcPnCeHM=", "owner": "trivaris", "repo": "millennium", - "rev": "50fcda7794bf32c8edbd30222370e70ac511805c", + "rev": "19656df9f9c8dfa0b7c6a4d2d25073b78efc4eda", "type": "github" }, "original": { @@ -1197,6 +1121,26 @@ "type": "github" } }, + "nix-alien": { + "inputs": { + "flake-compat": "flake-compat_5", + "nix-index-database": "nix-index-database", + "nixpkgs": "nixpkgs_7" + }, + "locked": { + "lastModified": 1771150922, + "narHash": "sha256-+oQJun4CFDlOQRocbZpqQDj7agoy56/4ZjT1oUR7NOs=", + "owner": "thiagokokada", + "repo": "nix-alien", + "rev": "96045e886ba0dd45b27590e7c0c6e77bbb54033d", + "type": "github" + }, + "original": { + "owner": "thiagokokada", + "repo": "nix-alien", + "type": "github" + } + }, "nix-github-actions": { "inputs": { "nixpkgs": [ @@ -1220,6 +1164,27 @@ "type": "github" } }, + "nix-index-database": { + "inputs": { + "nixpkgs": [ + "nix-alien", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1771130777, + "narHash": "sha256-UIKOwG0D9XVIJfNWg6+gENAvQP+7LO46eO0Jpe+ItJ0=", + "owner": "nix-community", + "repo": "nix-index-database", + "rev": "efec7aaad8d43f8e5194df46a007456093c40f88", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nix-index-database", + "type": "github" + } + }, "nix-unit": { "inputs": { "flake-parts": "flake-parts_2", @@ -1262,18 +1227,16 @@ }, "nixcord": { "inputs": { - "flake-compat": "flake-compat_5", - "flake-parts": "flake-parts_4", - "nixpkgs": [ - "nixpkgs" - ] + "flake-compat": "flake-compat_6", + "flake-parts": "flake-parts_3", + "nixpkgs": "nixpkgs_8" }, "locked": { - "lastModified": 1772266502, - "narHash": "sha256-HBO3W1ooO9UwmxwwwFflnbCrAVHhaxpB8YnxFGPvOsY=", + "lastModified": 1771375681, + "narHash": "sha256-qDDw0ruBZ1kt63j4uVP5Xrd1OxGKIYrSFnig0z6ozSw=", "owner": "FlameFlag", "repo": "nixcord", - "rev": "e805e50f0cc8b9f2d950dc81cd9ee1c986899eaf", + "rev": "d030dbb48ab020092681a39c878c1d48a553ffc1", "type": "github" }, "original": { @@ -1284,27 +1247,27 @@ }, "nixpkgs": { "locked": { - "lastModified": 1772402963, - "narHash": "sha256-+MupheX+ghNTSAg1XNppNApDC+FvvgpUXyU6sJSIsJo=", - "owner": "NixOS", + "lastModified": 1763934636, + "narHash": "sha256-9glbI7f1uU+yzQCq5LwLgdZqx6svOhZWkd4JRY265fc=", + "owner": "nixos", "repo": "nixpkgs", - "rev": "d41521c807dccb71b1b866ac3b7df5a59e726d9d", + "rev": "ee09932cedcef15aaf476f9343d1dea2cb77e261", "type": "github" }, "original": { - "owner": "NixOS", - "ref": "nixos-unstable-small", + "owner": "nixos", + "ref": "nixpkgs-unstable", "repo": "nixpkgs", "type": "github" } }, "nixpkgs-lib": { "locked": { - "lastModified": 1772328832, - "narHash": "sha256-e+/T/pmEkLP6BHhYjx6GmwP5ivonQQn0bJdH9YrRB+Q=", + "lastModified": 1769909678, + "narHash": "sha256-cBEymOf4/o3FD5AZnzC3J9hLbiZ+QDT/KDuyHXVJOpM=", "owner": "nix-community", "repo": "nixpkgs.lib", - "rev": "c185c7a5e5dd8f9add5b2f8ebeff00888b070742", + "rev": "72716169fe93074c333e8d0173151350670b824c", "type": "github" }, "original": { @@ -1314,21 +1277,6 @@ } }, "nixpkgs-lib_2": { - "locked": { - "lastModified": 1748740939, - "narHash": "sha256-rQaysilft1aVMwF14xIdGS3sj1yHlI6oKQNBRTF40cc=", - "owner": "nix-community", - "repo": "nixpkgs.lib", - "rev": "656a64127e9d791a334452c6b6606d17539476e2", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "nixpkgs.lib", - "type": "github" - } - }, - "nixpkgs-lib_3": { "locked": { "lastModified": 1769909678, "narHash": "sha256-cBEymOf4/o3FD5AZnzC3J9hLbiZ+QDT/KDuyHXVJOpM=", @@ -1345,11 +1293,11 @@ }, "nixpkgs-master": { "locked": { - "lastModified": 1772458868, - "narHash": "sha256-vnqeYbLjtEubh0vDLAxYl+STQ0XAINWdwzipH9sL7k8=", + "lastModified": 1771702014, + "narHash": "sha256-/P7uAp8q1xFhaw9Z+OG7lUK3wVz1Q/wreAyeiMyyjLI=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "6896fd3d7f8a7cdd79d2a8355ce0d79db18dc875", + "rev": "cceb9213362e92c06b60b50c1e2877bc5fb95887", "type": "github" }, "original": { @@ -1361,11 +1309,11 @@ }, "nixpkgs-staging": { "locked": { - "lastModified": 1772453524, - "narHash": "sha256-2VR3/3A0mD42BYh6mNkxJ3W4qSy6mxa7Q84S4bR0VrA=", + "lastModified": 1771384451, + "narHash": "sha256-rFs7+EFjAglrHFhRz3N/M+fyn28q+dR4gVC9/9yoWS0=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "0d1bb154f92b51fa8d6fd6323dd60e4d70eb5e57", + "rev": "4f8a766def570768a6cefe8ea42f839eff9dc1eb", "type": "github" }, "original": { @@ -1377,11 +1325,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1772198003, - "narHash": "sha256-I45esRSssFtJ8p/gLHUZ1OUaaTaVLluNkABkk6arQwE=", + "lastModified": 1771008912, + "narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "dd9b079222d43e1943b6ebd802f04fd959dc8e61", + "rev": "a82ccc39b39b621151d6732718e3e250109076fa", "type": "github" }, "original": { @@ -1391,7 +1339,39 @@ "type": "github" } }, + "nixpkgs_10": { + "locked": { + "lastModified": 1771008912, + "narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "a82ccc39b39b621151d6732718e3e250109076fa", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs_2": { + "locked": { + "lastModified": 1771309086, + "narHash": "sha256-25aY7PIHMmoVW5w/x8Bs4vsfSV94A5htwiLINJ4KMuY=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "5e17f00eb60368a4b4b110a89f1c250f9a12c053", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable-small", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_3": { "locked": { "lastModified": 1767313136, "narHash": "sha256-16KkgfdYqjaeRGBaYsNrhPRRENs0qzkQVUooNHtoy2w=", @@ -1407,13 +1387,93 @@ "type": "github" } }, - "nixpkgs_3": { + "nixpkgs_4": { "locked": { - "lastModified": 1772047000, - "narHash": "sha256-7DaQVv4R97cii/Qdfy4tmDZMB2xxtyIvNGSwXBBhSmo=", + "lastModified": 1766070988, + "narHash": "sha256-G/WVghka6c4bAzMhTwT2vjLccg/awmHkdKSd2JrycLc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "1267bb4920d0fc06ea916734c11b0bf004bbe17e", + "rev": "c6245e83d836d0433170a16eb185cefe0572f8b8", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_5": { + "locked": { + "lastModified": 1760284886, + "narHash": "sha256-TK9Kr0BYBQ/1P5kAsnNQhmWWKgmZXwUQr4ZMjCzWf2c=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "cf3f5c4def3c7b5f1fc012b3d839575dbe552d43", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_6": { + "locked": { + "lastModified": 1770115704, + "narHash": "sha256-KHFT9UWOF2yRPlAnSXQJh6uVcgNcWlFqqiAZ7OVlHNc=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "e6eae2ee2110f3d31110d5c222cd395303343b08", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_7": { + "locked": { + "lastModified": 1771008912, + "narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "a82ccc39b39b621151d6732718e3e250109076fa", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_8": { + "locked": { + "lastModified": 1770617025, + "narHash": "sha256-1jZvgZoAagZZB6NwGRv2T2ezPy+X6EFDsJm+YSlsvEs=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "2db38e08fdadcc0ce3232f7279bab59a15b94482", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-25.11", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_9": { + "locked": { + "lastModified": 1771208521, + "narHash": "sha256-X01Q3DgSpjeBpapoGA4rzKOn25qdKxbPnxHeMLNoHTU=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "fa56d7d6de78f5a7f997b0ea2bc6efd5868ad9e8", "type": "github" }, "original": { @@ -1426,7 +1486,7 @@ "nt": { "inputs": { "nix-unit": "nix-unit", - "nixpkgs": "nixpkgs_2", + "nixpkgs": "nixpkgs_3", "systems": "systems_2" }, "locked": { @@ -1488,18 +1548,16 @@ "awww": "awww", "cachyos": "cachyos", "cerulean": "cerulean", - "fenix": "fenix", "home-manager": "home-manager_2", - "home-manager-unstable": "home-manager-unstable", "hyprland-git": "hyprland-git", "hyprland-plugins": "hyprland-plugins", "iamb": "iamb", - "mango": "mango", "microvm": "microvm_2", "millennium": "millennium", + "nix-alien": "nix-alien", "nixcats": "nixcats", "nixcord": "nixcord", - "nixpkgs": "nixpkgs_3", + "nixpkgs": "nixpkgs_9", "nixpkgs-master": "nixpkgs-master", "nixpkgs-staging": "nixpkgs-staging", "nixpkgs-unstable": "nixpkgs-unstable", @@ -1510,23 +1568,6 @@ } }, "rust-analyzer-src": { - "flake": false, - "locked": { - "lastModified": 1772366660, - "narHash": "sha256-UfVF6W3LKSl+KMM510AXrGOdOdkU0PTZd3xyee14iRc=", - "owner": "rust-lang", - "repo": "rust-analyzer", - "rev": "566fe415d158452c72feb026f43e8d81e249ccb0", - "type": "github" - }, - "original": { - "owner": "rust-lang", - "ref": "nightly", - "repo": "rust-analyzer", - "type": "github" - } - }, - "rust-analyzer-src_2": { "flake": false, "locked": { "lastModified": 1760457219, @@ -1564,27 +1605,6 @@ "type": "github" } }, - "scenefx": { - "inputs": { - "nixpkgs": [ - "mango", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1750785057, - "narHash": "sha256-tGX6j4W91rcb+glXJo43sjPI9zQvPotonknG1BdihR4=", - "owner": "wlrfx", - "repo": "scenefx", - "rev": "3a6cfb12e4ba97b43326357d14f7b3e40897adfc", - "type": "github" - }, - "original": { - "owner": "wlrfx", - "repo": "scenefx", - "type": "github" - } - }, "sddm-silent": { "inputs": { "nixpkgs": [ @@ -1592,11 +1612,11 @@ ] }, "locked": { - "lastModified": 1771956684, - "narHash": "sha256-+EtzmEzGA2xqwIvKrP0euYaOzrmTQWEWAiWV+k2WBEM=", + "lastModified": 1769900466, + "narHash": "sha256-WeoJBj/PhqFCCJEIycTipqPbKm5BpQT2uzFTYcYZ30I=", "owner": "uiriansan", "repo": "SilentSDDM", - "rev": "34f82e1fb8412fff78b82a0dcce763492b36054c", + "rev": "a44caf771b4cb72f5c2514f7d488455b0fa860d2", "type": "github" }, "original": { @@ -1647,11 +1667,11 @@ ] }, "locked": { - "lastModified": 1772392844, - "narHash": "sha256-jG6LoavnG1iVPXo9EGrvZoP4cgcXnsXXSydC6wKPihY=", + "lastModified": 1771268051, + "narHash": "sha256-nGqPcngnezoT+/xAvw3UDjwdKP2MC4fO315A/Otb9eE=", "owner": "Gerg-L", "repo": "spicetify-nix", - "rev": "74d7bb896e98cc3e87e7d0064a968f196fccaa90", + "rev": "b930de84c561f62a0c39a6a57c2ab553a97e8495", "type": "github" }, "original": { @@ -1837,16 +1857,14 @@ "zen": { "inputs": { "home-manager": "home-manager_3", - "nixpkgs": [ - "nixpkgs-unstable" - ] + "nixpkgs": "nixpkgs_10" }, "locked": { - "lastModified": 1772426935, - "narHash": "sha256-fLxV/FzP06eaoMFzwrnKk9x0b+kaNNjbFfp6+rsRKGs=", + "lastModified": 1771381854, + "narHash": "sha256-6uEDuQYEGuyuFnvOdSx+fW75tRbNiLswAl6+4qyTdJ4=", "owner": "0xc000022070", "repo": "zen-browser-flake", - "rev": "6caef0bf5e38a793fd269333f000b7299b160900", + "rev": "0fa995bec0e391b45b032fbd9d6e03609a30c115", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 9cabd4b..2cbefbf 100644 --- a/flake.nix +++ b/flake.nix @@ -10,16 +10,12 @@ nixpkgs-master.url = "github:NixOS/nixpkgs/master"; home-manager = { - url = "github:nix-community/home-manager/release-25.11"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - home-manager-unstable = { url = "github:nix-community/home-manager/master"; inputs.nixpkgs.follows = "nixpkgs-unstable"; }; cerulean = { - url = "git+https://tearforge.net/cry/cerulean?rev=d5211287bd3cb96078f2053488d67d557848a8f2"; + url = "git+https://tearforge.net/cry/cerulean"; inputs = { systems.follows = "systems"; nixpkgs.follows = "nixpkgs"; @@ -28,68 +24,41 @@ microvm = { url = "github:microvm-nix/microvm.nix"; - inputs.nixpkgs.follows = "nixpkgs-unstable"; + inputs.nixpkgs.follows = "nixpkgs"; }; cachyos.url = "github:xddxdd/nix-cachyos-kernel"; + nix-alien = { + # silly alien :3 + url = "github:thiagokokada/nix-alien"; + # inputs.nixpkgs.follows = "nixpkgs"; + }; + # wm/de/apps/theming flakes hyprland-git = { - # pinned rev because color management is broken on hyprland url = "github:hyprwm/Hyprland/25250527793eb04bb60f103abe7f06370b9f6e1c"; #url = "github:hyprwm/Hyprland"; - inputs.nixpkgs.follows = "nixpkgs-unstable"; }; hyprland-plugins = { url = "github:hyprwm/hyprland-plugins"; inputs.hyprland.follows = "hyprland-git"; }; - mango = { - url = "github:DreamMaoMao/mangowc"; - inputs.nixpkgs.follows = "nixpkgs-unstable"; - }; - nixcats.url = "github:BirdeeHub/nixCats-nvim"; - - awww = { - url = "git+https://codeberg.org/LGFae/awww"; - inputs.nixpkgs.follows = "nixpkgs-unstable"; - }; - - zen = { - url = "github:0xc000022070/zen-browser-flake"; - inputs.nixpkgs.follows = "nixpkgs-unstable"; - }; - - iamb = { - url = "github:ulyssa/iamb"; - inputs.nixpkgs.follows = "nixpkgs-unstable"; - }; - - nixcord = { - url = "github:FlameFlag/nixcord"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - - millennium = { - url = "github:trivaris/millennium?dir=packages/nix"; - inputs.nixpkgs.follows = "nixpkgs-unstable"; - }; - + awww.url = "git+https://codeberg.org/LGFae/awww"; + zen.url = "github:0xc000022070/zen-browser-flake"; + iamb.url = "github:ulyssa/iamb"; + nixcord.url = "github:FlameFlag/nixcord"; + millennium.url = "github:trivaris/millennium?dir=packages/nix"; spicetify-nix = { url = "github:Gerg-L/spicetify-nix"; inputs = { - nixpkgs.follows = "nixpkgs-unstable"; systems.follows = "systems"; + nixpkgs.follows = "nixpkgs-unstable"; }; }; - fenix = { - url = "github:nix-community/fenix"; - inputs.nixpkgs.follows = "nixpkgs-unstable"; - }; - # temp theme until i bother creating my own ', function() vim.cmd('wincmd h') end) -vim.keymap.set('n', '', function() vim.cmd('wincmd j') end) -vim.keymap.set('n', '', function() vim.cmd('wincmd k') end) -vim.keymap.set('n', '', function() vim.cmd('wincmd l') end) - local uv = vim.loop local colorscheme_filepath = "/home/aurora/.cache/nvim/neovim-colors" local colors = {} diff --git a/homes/modules/programs/neovim/lua/lsp/completion.lua b/homes/modules/programs/neovim/lua/lsp/completion.lua index b408f23..2e485d9 100644 --- a/homes/modules/programs/neovim/lua/lsp/completion.lua +++ b/homes/modules/programs/neovim/lua/lsp/completion.lua @@ -15,22 +15,7 @@ return { blink.setup({ keymap = { - [""] = { "show", "show_documentation", "hide_documentation" }, - [""] = { "hide", "fallback" }, - [""] = { "select_and_accept", "fallback" }, - - [""] = { "select_prev", "fallback_to_mappings" }, - [""] = { "select_next", "fallback_to_mappings" }, - [""] = { "select_prev", "fallback" }, - [""] = { "select_next", "fallback" }, - - [""] = { "scroll_documentation_up", "fallback" }, - [""] = { "scroll_documentation_down", "fallback" }, - - [""] = { "snippet_forward", "fallback" }, - [""] = { "snippet_backward", "fallback" }, - - [""] = { "show_signature", "hide_signature", "fallback" }, + preset = "default", }, appearance = { diff --git a/homes/modules/programs/neovim/lua/lsp/indentation.lua b/homes/modules/programs/neovim/lua/lsp/indentation.lua index 5deae31..b7b65ac 100644 --- a/homes/modules/programs/neovim/lua/lsp/indentation.lua +++ b/homes/modules/programs/neovim/lua/lsp/indentation.lua @@ -1,5 +1,5 @@ vim.api.nvim_create_autocmd("FileType", { - pattern = { "lua", "nix", "gleam" }, + pattern = "lua", callback = function() vim.opt_local.shiftwidth = 2 vim.opt_local.tabstop = 2 @@ -7,14 +7,11 @@ vim.api.nvim_create_autocmd("FileType", { end, }) -vim.api.nvim_create_autocmd("User", { - pattern = "TelescopePreviewerLoaded", - callback = function(args) - local ft = args.data.filetype - if vim.tbl_contains({ "lua", "nix", "gleam", "rust" }, ft) then - vim.bo.shiftwidth = 2 - vim.bo.tabstop = 2 - vim.bo.expandtab = true - end +vim.api.nvim_create_autocmd("FileType", { + pattern = "nix", + callback = function() + vim.opt_local.shiftwidth = 2 + vim.opt_local.tabstop = 2 + vim.opt_local.expandtab = true end, }) diff --git a/homes/modules/programs/neovim/lua/lsp/lsp.lua b/homes/modules/programs/neovim/lua/lsp/lsp.lua index d115a00..fd8bd1b 100644 --- a/homes/modules/programs/neovim/lua/lsp/lsp.lua +++ b/homes/modules/programs/neovim/lua/lsp/lsp.lua @@ -84,10 +84,6 @@ servers.jdtls = { }, } -servers.protols = { - settings = {}, -} - -- Taken from nixCats example: -- If you were to comment out this autocommand -- and instead pass the on attach function directly to diff --git a/homes/modules/programs/neovim/lua/plugins/comment.lua b/homes/modules/programs/neovim/lua/plugins/comment.lua index caae704..cf45027 100644 --- a/homes/modules/programs/neovim/lua/plugins/comment.lua +++ b/homes/modules/programs/neovim/lua/plugins/comment.lua @@ -8,13 +8,13 @@ return { line = "cc", block = "bc", }, - opleader = { + opLeader = { line = "c", block = "b", }, extra = { - above = "c", - below = "co", + above = "c0", + below = "bo", eol = "cA", }, }) diff --git a/homes/modules/programs/neovim/lua/plugins/format.lua b/homes/modules/programs/neovim/lua/plugins/format.lua index 2cd28a4..2097d75 100644 --- a/homes/modules/programs/neovim/lua/plugins/format.lua +++ b/homes/modules/programs/neovim/lua/plugins/format.lua @@ -11,11 +11,10 @@ return { conform.setup({ formatters_by_ft = { - lua = nixCats("lang.lua") and { "stylua" } or nil, - nix = nixCats("lang.nix") and { "nixfmt" } or nil, - rust = nixCats("lang.rust") and { "rustfmt", lsp_format = "fallback" } or nil, - haskell = nixCats("lang.haskell") and { "ormolu" } or nil, - proto = nixCats("lang.protobuf") and { "buf" } or nil, + lua = nixCats("lang.lua.format") and { "stylua" } or nil, + nix = nixCats("lang.nix.format") and { "nixfmt" } or nil, + rust = nixCats("lang.rust.format") and { "rustfmt", lsp_format = "fallback" } or nil, + haskell = nixCats("lang.haskell.format") and { "ormolu" } or nil, }, format_on_save = { timeout_ms = 500, diff --git a/homes/modules/programs/neovim/nixcats.nix b/homes/modules/programs/neovim/nixcats.nix index a599436..a90113f 100644 --- a/homes/modules/programs/neovim/nixcats.nix +++ b/homes/modules/programs/neovim/nixcats.nix @@ -2,6 +2,7 @@ # https://github.com/BirdeeHub/nix-wrapper-modules { inputs, + spkgs, mpkgs, ... }: @@ -58,23 +59,26 @@ in tree-sitter ]; lang = { - lua = [ - lua-language-server - stylua - ]; - nix = [ - nil - nix-doc # TODO: i forgot what this is for - nixfmt - ]; - rust = [ - cargo - mpkgs.rust-analyzer - # nightly rustfmt has nicer features :3 - inputs.fenix.packages.${system}.complete.rustfmt - ]; + lua = { + lsp = [ lua-language-server ]; + format = [ stylua ]; + }; + nix = { + lsp = [ + nil + nix-doc # TODO: i forgot what this is for + ]; + format = [ nixfmt ]; + }; + rust = { + lsp = [ + cargo + mpkgs.rust-analyzer + ]; + format = [ rustfmt ]; + }; zig = [ - zls + spkgs.zls # FIX: using spkgs version as zls is broken rn ;-; ]; elixir = [ elixir-ls @@ -82,19 +86,15 @@ in gleam = [ gleam ]; - haskell = [ - haskell-language-server - ormolu - ]; + haskell = { + lsp = [ haskell-language-server ]; + format = [ ormolu ]; + }; java = [ jdt-language-server javaPackages.compiler.openjdk17 javaPackages.compiler.openjdk21 ]; - protobuf = [ - protols - buf - ]; }; }; @@ -188,7 +188,11 @@ in }; }; - extraWrapperArgs = { }; + extraWrapperArgs = { + test = [ + ''--set CATTESTVAR2 "It worked again!"'' + ]; + }; # lists of the functions you would have passed to # python.withPackages or lua.withPackages @@ -196,9 +200,13 @@ in # in your lua config via # vim.g.python3_host_prog # or run from nvim terminal via :!-python3 - extraPython3Packages = { }; + extraPython3Packages = { + test = _: [ ]; + }; # populates $LUA_PATH and $LUA_CPATH - extraLuaPackages = { }; + extraLuaPackages = { + test = [ (_: [ ]) ]; + }; }; # see :help nixCats.flake.outputs.packageDefinitions @@ -215,10 +223,12 @@ in # IMPORTANT: # your alias may not conflict with your other packages. aliases = [ + "auroravim" "auravim" "foxyvim" "avix" "fvix" + "auim" ]; }; # and a set of categories that you want @@ -237,15 +247,26 @@ in comment = true; lang = { - lua = true; - nix = true; - rust = true; + lua = { + lsp = true; + format = true; + }; + nix = { + lsp = true; + format = true; + }; + rust = { + lsp = true; + format = true; + }; zig = true; elixir = true; gleam = true; - haskell = true; + haskell = { + lsp = true; + format = true; + }; java = true; - protobuf = true; }; }; }; diff --git a/homes/modules/programs/nixcord.nix b/homes/modules/programs/nixcord.nix index 6ce4c88..e5f1fa5 100644 --- a/homes/modules/programs/nixcord.nix +++ b/homes/modules/programs/nixcord.nix @@ -1,5 +1,4 @@ -{ inputs, ... }: -{ +{inputs, ...}: { imports = [ inputs.nixcord.homeModules.nixcord ]; @@ -158,6 +157,7 @@ "1436964273162289185" "1436988320474206311" "1449837047383855119" + "1436965652861685891" "1436968495190642722" "1465424321919975454" "1468324280445046824" @@ -202,7 +202,6 @@ "1419557866502754334" "1436985041203892315" "1438071327515742229" - "1436965652861685891" ]; } { @@ -248,8 +247,4 @@ ]; }; }; - - programs.nixcord.config.plugins.bypassStatus = { - enable = true; - }; } diff --git a/homes/modules/programs/yazi/yazi.nix b/homes/modules/programs/yazi/yazi.nix index dfc4f09..9943358 100644 --- a/homes/modules/programs/yazi/yazi.nix +++ b/homes/modules/programs/yazi/yazi.nix @@ -1,5 +1,4 @@ -{ upkgs, ... }: -{ +{upkgs, ...}: { # optional dependencies can be found here: # https://yazi-rs.github.io/docs/installation/ home.packages = with upkgs; [ @@ -9,7 +8,7 @@ programs.yazi = { enable = true; - enableZshIntegration = false; # i modified the script in my .zshrc + enableZshIntegration = false; # i mod"if"ied the script in my .zshrc settings = { mgr = { @@ -24,12 +23,12 @@ mgr.prepend_keymap = [ # drag and drop!! { - on = [ "" ]; + on = [""]; run = ''shell "ripdrag -x -a \"$@\"" --confirm''; } # copy hovered file to clipboard { - on = [ "" ]; + on = [""]; run = ''shell -- path=%h; echo "file://$path" | wl-copy -t text/uri-list''; } ]; @@ -171,7 +170,7 @@ [filechooser] cmd=${upkgs.xdg-desktop-portal-termfilechooser}/share/xdg-desktop-portal-termfilechooser/yazi-wrapper.sh default_dir=$HOME - env=TERMCMD='alacritty --title filechooser -e ' + env=TERMCMD='kitty --title filechooser' open_mode=suggested save_mode=last ''; diff --git a/homes/modules/scripts/task-manager.sh b/homes/modules/scripts/task-manager.sh index 1242fa4..068eb79 100755 --- a/homes/modules/scripts/task-manager.sh +++ b/homes/modules/scripts/task-manager.sh @@ -1,2 +1,2 @@ #!/usr/bin/env bash -pkill -f "alacritty --title btop -e btop" || { alacritty --title btop -e btop & disown; } +pkill -f "kitty --title btop -e btop" || { kitty --title btop -e btop & disown; } diff --git a/homes/modules/shell/fastfetch/themes/laimu.json b/homes/modules/shell/fastfetch/themes/laimu.json new file mode 100644 index 0000000..e69de29 diff --git a/homes/modules/shell/fastfetch/themes/laimu.jsonc b/homes/modules/shell/fastfetch/themes/laimu.jsonc deleted file mode 100644 index 5c774e8..0000000 --- a/homes/modules/shell/fastfetch/themes/laimu.jsonc +++ /dev/null @@ -1,128 +0,0 @@ -{ - "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", - "logo": { - "type": "auto", - "source": "nixos", - }, - "display": { - "separator": " > ", - "constants": [], - }, - "modules": [ - { - "type": "title", - "format": "╭─────╯ {user-name}@{host-name} ╰───────────────╌╌╌┄┄┄┈┈┈", - "outputColor": "cyan", - }, - { - "type": "os", - "key": "│ os", - "keyColor": "cyan", - "format": "{name} {version}", - }, - { - "type": "kernel", - "key": "│ kernel", - "keyColor": "cyan", - "format": "{sysname} {arch} - {release}", - }, - { - "type": "uptime", - "key": "│ uptime", - "keyColor": "cyan", - }, - { - "type": "packages", - "key": "│ pkgs", - "keyColor": "cyan", - }, - { - "type": "cpu", - "key": "│ cpu", - "keyColor": "magenta", - "temp": true, - "format": "{name} {cores-physical}c/{cores-logical}t @ {freq-max} ({temperature})", - }, - { - "type": "gpu", - "key": "│ gpu{1}", - "keyColor": "magenta", - "driverSpecific": false, - "detectionMethod": "pci", - "temp": true, - "percent": { - "green": 50, - "yellow": 80, - "type": 0 - }, - "format": "{name} ({temperature}) [{type}]", - }, - { - "type": "memory", - "key": "│ memory", - "keyColor": "magenta", - }, - { - "type": "swap", - "key": "│ swap", - "keyColor": "magenta", - }, - { - "type": "disk", - "key": "│ disk({1})", - "keyColor": "magenta", - }, - { - "type": "shell", - "key": "│ shell", - "keyColor": "green", - }, - { - "type": "terminal", - "key": "│ term", - "keyColor": "green", - }, - { - "type": "wm", - "key": "│ wm", - "keyColor": "green", - }, - { - "type": "terminalfont", - "key": "│ font", - "keyColor": "green", - "format": "{name}", - }, - { - "type": "locale", - "key": "│ locale", - "keyColor": "green", - }, - { - "type": "title", - "format": "├─────────────────────────────────────────╌╌╌┄┄┄┈┈┈", - "outputColor": "red", - }, - { - "type": "command", - "key": "│", - "keyWidth": 3, - "keyColor": "red", - "shell": "bash", - "text": "for i in {0..7}; do printf \"\\e[4%dm \\e[0m\" $i; done", - }, - { - "type": "command", - "key": "│", - "keyWidth": 3, - "keyColor": "red", - "shell": "bash", - "text": "for i in {0..7}; do printf \"\\e[10%dm \\e[0m\" $i; done", - }, - { - "type": "title", - "format": "╰─────────────────────────────────────────╌╌╌┄┄┄┈┈┈", - "outputColor": "red", - }, - ] -} diff --git a/homes/modules/shell/zsh.nix b/homes/modules/shell/zsh.nix index e882695..d1c9849 100644 --- a/homes/modules/shell/zsh.nix +++ b/homes/modules/shell/zsh.nix @@ -1,5 +1,4 @@ -{ upkgs, ... }: -{ +{upkgs, ...}: { programs.zsh = { enable = true; enableCompletion = true; @@ -15,22 +14,16 @@ ]; initContent = '' - # yazi wrapper!!! - function yazi() { - local tmp="$(mktemp -p "/run/user/$UID" -t "yazi-cwd.XXXXXXXX")" cwd - command yazi "$@" --cwd-file="$tmp" - IFS= read -r -d ''' cwd < "$tmp" - [ -n "$cwd" ] && [ "$cwd" != "$PWD" ] && builtin cd -- "$cwd" - rm -f -- "$tmp" - } + # yazi wrapper!!! + function yazi() { + local tmp="$(mktemp -p "/run/user/$UID" -t "yazi-cwd.XXXXXX")" cwd + command yazi "$@" --cwd-file="$tmp" + IFS= read -r -d ''' cwd < "$tmp" + [ -n "$cwd" ] && [ "$cwd" != "$PWD" ] && builtin cd -- "$cwd" + rm -f -- "$tmp" + } - # oh i'm so gay!! :3 - function hf() { - local queer_flags=('genderfae' 'lesbian' 'xenogender' 'transgender' 'transfeminine' 'transbian' 'pansexual') - local ascii_art=('fox-1.txt' 'fox-2.txt' 'fox-3.txt' 'blackhole-1.txt' 'butterfly-4.txt' 'butterfly-7.txt' 'flower-3.txt' 'flower-4.txt') - hyfetch --ascii-file="$XDG_DATA_HOME/ascii-art/$ascii_art[RANDOM % $#ascii_art + 1]" --preset="$queer_flags[RANDOM % $#queer_flags + 1]" --args="--config themes/laimu.jsonc" - } - hf + hyfetch # oh i'm so gay!! :3 ''; shellAliases = { @@ -72,6 +65,9 @@ # upgrades the system upgrade = "cdns && nix flake update && nh os switch ./ --accept-flake-config"; + # kitty's ssh command (to fix xterm and other stuff qwq) + kssh = "kitty +kitten ssh"; + # pipes are prettyyyy!!!! :3333 pipes1 = "pipes.sh -r 1024 -p 8 -f 30"; pipes2 = "pipes.sh -r 4096 -p 16 -f 100"; diff --git a/homes/modules/themeing/wallust/templates/alacritty-template.toml b/homes/modules/themeing/wallust/templates/alacritty-template.toml deleted file mode 100644 index c1a06de..0000000 --- a/homes/modules/themeing/wallust/templates/alacritty-template.toml +++ /dev/null @@ -1,27 +0,0 @@ -[colors.primary] -background = '{{ background }}' -foreground = '{{ foreground }}' - -[colors.cursor] -cursor = '{{ cursor }}' -text = '{{ cursor }}' - -[colors.normal] -black = '{{ color0 }}' -red = '{{ color1 }}' -green = '{{ color2 }}' -yellow = '{{ color3 }}' -blue = '{{ color4 }}' -magenta = '{{ color5 }}' -cyan = '{{ color6 }}' -white = '{{ color7 }}' - -[colors.bright] -black = '{{ color8 }}' -red = '{{ color9 }}' -green = '{{ color10 }}' -yellow = '{{ color11 }}' -blue = '{{ color12 }}' -magenta = '{{ color13 }}' -cyan = '{{ color14 }}' -white = '{{ color15 }}' diff --git a/homes/modules/themeing/wallust/templates/foot-template.ini b/homes/modules/themeing/wallust/templates/foot-template.ini deleted file mode 100644 index a8093e2..0000000 --- a/homes/modules/themeing/wallust/templates/foot-template.ini +++ /dev/null @@ -1,24 +0,0 @@ -[colors] -alpha=1.000000 -alpha-mode=default -background={{ background | strip }} -foreground={{ foreground | strip }} -selection-background={{ foreground | strip }} -selection-foreground={{ background | strip }} -regular0={{ color0 | strip }} -regular1={{ color1 | strip }} -regular2={{ color2 | strip }} -regular3={{ color3 | strip }} -regular4={{ color4 | strip }} -regular5={{ color5 | strip }} -regular6={{ color6 | strip }} -regular7={{ color7 | strip }} -bright0={{ color8 | strip }} -bright1={{ color9 | strip }} -bright2={{ color10 | strip }} -bright3={{ color11 | strip }} -bright4={{ color12 | strip }} -bright5={{ color13 | strip }} -bright6={{ color14 | strip }} -bright7={{ color15 | strip }} -urls={{ color13 | strip }} diff --git a/homes/modules/themeing/wallust/templates/mango-template.conf b/homes/modules/themeing/wallust/templates/mango-template.conf deleted file mode 100644 index 0ff2dea..0000000 --- a/homes/modules/themeing/wallust/templates/mango-template.conf +++ /dev/null @@ -1,11 +0,0 @@ -# background color of the root window -rootcolor=0x{{ color12 | strip }}ff - -# inactive window border -bordercolor=0x{{ color0 | strip }}ff - -# active window border -focuscolor=0x{{ color14 | strip }}ff - -# urgent / alerted window border -urgentcolor=0x{{ color10 | strip }}ff diff --git a/homes/modules/themeing/wallust/wallust.toml b/homes/modules/themeing/wallust/wallust.toml index cccd8d5..ff82190 100644 --- a/homes/modules/themeing/wallust/wallust.toml +++ b/homes/modules/themeing/wallust/wallust.toml @@ -13,18 +13,12 @@ equibop.target = "~/.config/equibop/themes/base16-colors.css" equicord.template = "discord-template.css" equicord.target = "~/.config/Equicord/themes/base16-colors.css" +kitty.template = "kitty-template.conf" +kitty.target = "~/.config/kitty/theme.conf" + hyprland.template = "hyprland-template.conf" hyprland.target = "~/.config/hypr/colors.conf" -mango.template = "mango-template.conf" -mango.target = "~/.config/mango/colors.conf" - -foot.template = "foot-template.ini" -foot.target = "~/.config/foot/theme.ini" - -alacritty.template = "alacritty-template.toml" -alacritty.target = "~/.config/alacritty/theme.toml" - waybar.template = "waybar-template.css" waybar.target = "~/.config/waybar/colors.css" diff --git a/homes/modules/wm/hyprland/hypr/windowrules.conf b/homes/modules/wm/hyprland/hypr/windowrules.conf index cbda8e0..1d2c078 100644 --- a/homes/modules/wm/hyprland/hypr/windowrules.conf +++ b/homes/modules/wm/hyprland/hypr/windowrules.conf @@ -1,19 +1,10 @@ # window rules -# ---------------------------------------------------------------------------- # -# terminal - blur -windowrule { - name = terminal-blur - match:class = ^(foot|Alacritty)$ - match:fullscreen = false - opacity = 0.95 -} - # ---------------------------------------------------------------------------- # # task manager windowrule { - name = terminal-manager - match:class = ^(foot|Alacritty)$ + name = task-manager + match:class = ^(kitty)$ match:title = ^(btop)$ float = true center = true @@ -24,13 +15,33 @@ windowrule { # terminal filechooser windowrule { name = terminal-filechooser - match:class = ^(foot|Alacritty)$ + match:class = ^(kitty)$ match:title = ^(filechooser)$ float = true center = true size = (monitor_w*0.85) (monitor_h*0.85) } +# ---------------------------------------------------------------------------- # +# yazi explorer +#windowrule { + #name = yazi + #match:class = ^(kitty)$ + #match:title = ^(yazi)$ + #float = true + #center = true + #size = (monitor_w*0.85) (monitor_h*0.85) +#} + +# ---------------------------------------------------------------------------- # +# kitty - blur +windowrule { + name = kitty-blur + match:class = ^(kitty)$ + match:fullscreen = false + opacity = 0.95 +} + # ---------------------------------------------------------------------------- # # imhex - blur windowrule { diff --git a/homes/modules/wm/hyprland/hyprland.nix b/homes/modules/wm/hyprland/hyprland.nix index cc22886..49570e5 100644 --- a/homes/modules/wm/hyprland/hyprland.nix +++ b/homes/modules/wm/hyprland/hyprland.nix @@ -1,5 +1,4 @@ -{ ... }: -{ +{...}: { wayland.windowManager.hyprland = { enable = true; package = null; @@ -24,8 +23,8 @@ "$mod" = "SUPER"; # applications - "$terminal" = "alacritty"; - "$explorer" = "alacritty -e yazi"; + "$terminal" = "kitty"; + "$explorer" = "kitty -e yazi"; "$browser" = "zen-twilight"; # menu @@ -131,13 +130,6 @@ "alt, tab, exec, pkill -x rofi || rofi -modi window -show window -show-icons" "$mod, v, exec, pkill -x rofi || cliphist list | rofi -dmenu | cliphist decode | wl-copy" - # manage windows / session - "$mod+alt, c, killactive" - "$mod, f, fullscreen" - "$mod, x, togglefloating" - "$mod, i, togglesplit" - "$mod+Alt, Delete, exit" # exit hyprland - # screenshots # todo: add active monitor "$mod, s, exec, grim -g \"\$(slurp -d)\" - | wl-copy" # region @@ -160,6 +152,13 @@ "Shift_R, XF86AudioPlay, exec, playerctl shuffle toggle" "Shift_R, XF86AudioNext, exec, playerctl loop track" + # manage windows / session + "$mod+alt, c, killactive" + "$mod, f, fullscreen" + "$mod, x, togglefloating" + "$mod, i, togglesplit" + "$mod+Alt, Delete, exit" # exit hyprland + # move focus "$mod, h, movefocus, l" "$mod, j, movefocus, d" @@ -279,29 +278,26 @@ ]; layerrule = [ - #"blur, aurorashell" - #"ignorealpha 0.7, aurorashell" + #"blur, aurorashell" + #"ignorealpha 0.7, aurorashell" - "blur on, match:namespace waybar" - "ignore_alpha 0, match:namespace waybar" + "blur on, match:namespace waybar" + "ignore_alpha 0, match:namespace waybar" - "blur on, match:namespace rofi" - "xray on, match:namespace rofi" - "ignore_alpha 0, match:namespace rofi" + "blur on, match:namespace rofi" + "xray on, match:namespace rofi" + "ignore_alpha 0, match:namespace rofi" ]; env = [ + "EDITOR,auravim" + "XCURSOR_THEME,Bunny (Icy) and Strawberries" "XCURSOR_SIZE,24" "HYPRCURSOR_THEME,Bunny (Icy) and Strawberries" "HYPRCURSOR_SIZE,24" "QT_QPA_PLATFORM,wayland" - - # makes portals work correctly - "QT_QPA_PLATFORMTHEME,xdgdesktopportal" - # the other option that might work :3 - #"QT_QPA_PLATFORMTHEME,flatpak" ]; }; }; diff --git a/homes/modules/wm/mango/default.nix b/homes/modules/wm/mango/default.nix deleted file mode 100644 index 6f55063..0000000 --- a/homes/modules/wm/mango/default.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ inputs, ... }: -{ - imports = [ - inputs.mango.hmModules.mango - ]; - - wayland.windowManager.mango = { - enable = true; - }; - - xdg.configFile."mango" = { - recursive = true; - source = ./mango; - }; -} diff --git a/homes/modules/wm/mango/mango/config.conf b/homes/modules/wm/mango/mango/config.conf deleted file mode 100644 index a8d543a..0000000 --- a/homes/modules/wm/mango/mango/config.conf +++ /dev/null @@ -1,248 +0,0 @@ -################################################################################ -##### Monitors ///////////////////////////////////////////////////////////////// -################################################################################ - -# note: display stream compression pending for open source -# amd gpu driver and my monitor (VG279QM) only supports DP 1.2 -# so no >240hz atm - -# main monitor -monitorrule = name:DP-2,width:1920,height:1080,refresh:240,x:0,y:0 -# second monitor -monitorrule = name:DP-3,width:1920,height:1080,refresh:144,x:1920,y:0 -# third monitor (drawing tablet) -monitorrule = name:HDMI-A-2,width:2560,height:1440,refresh:60,x:3840,y:0 -# tv -monitorrule = name:HDMI-A-1,width:1920,height:1080,refresh:60,x:-1920,y:0 - -################################################################################ -##### Startup ////////////////////////////////////////////////////////////////// -################################################################################ - -exec-once = waybar -exec-once = waybar --config ~/.config/mango/waybar.jsonc -exec-once = awww-daemon - -exec-once = wl-paste --type text --watch cliphist store -exec-once = wl-paste --type image --watch cliphist store -exec-once = wl-clip-persist --clipboard regular - -exec-once = playerctld daemon - -exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY XDG_SESSION_TYPE=wayland XDG_CURRENT_DESKTOP=wlroots PATH - -################################################################################ -##### Themeing ///////////////////////////////////////////////////////////////// -################################################################################ - -borderpx = 2 - -gappih = 5 # inner gap horizontal -gappiv = 5 # inner gap vertical -gappoh = 10 # outer gap horizontal -# we set the bottom vertical gap by using an empty layer that defines an exclusive zone -gappov = 0 # outer gap vertical - -border_radius = 8 - -focused_opacity = 1.0 -unfocused_opacity = 1.0 - -blur = 1 -blur_layer = 1 -blur_optimized = 1 -blur_params_radius = 6 -blur_params_num_passes = 2 -blur_params_noise = 0.02 -blur_params_brightness = 0.9 -blur_params_contrast = 0.9 -blur_params_saturation = 1.2 - -cursor_size=24 -cursor_theme=Bunny (Icy) and Strawberries - -################################################################################ -##### Animations /////////////////////////////////////////////////////////////// -################################################################################ - -animations=1 -layer_animations=1 - -################################################################################ -##### Input //////////////////////////////////////////////////////////////////// -################################################################################ - -# keyboard stuff -repeat_rate = 50 -repeat_delay = 300 - -# mouse stuff -accel_profile = 0 - -################################################################################ -##### Keybinds ///////////////////////////////////////////////////////////////// -################################################################################ - -# applications -bind = SUPER, t, spawn, alacritty -bind = SUPER, e, spawn, alacritty -e yazi -bind = SUPER, r, spawn, zen-twilight - -# rofi -bind = SUPER, d, spawn_shell, pkill -x rofi || rofi -show drun -show-icons -bind = SUPER, v, spawn_shell, pkill -x rofi || cliphist list | rofi -dmenu | cliphist decode | wl-copy -bind = ALT, TAB, spawn_shell, pkill -x rofi || rofi -modi window -show window -show-icons - -# manage session -bind = SUPER+ALT, c, killclient -bind = SUPER+SHIFT, r, reload_config -bind = SUPER+ALT, delete, quit - -# screenshots -# grim - | wl-copy -bind = SUPER, s, spawn_shell, grim -g $(slurp -d) - | wl-copy -bind = SUPER+ALT, s, spawn_shell, grim -g $(slurp -o) - | wl-copy -bind = SUPER+CTRL, s, spawn_shell, grim - | wl-copy - -# task manager -bind = SUPER+CTRL, escape, spawn, task-manager.sh -bind = SUPER+CTRL, grave, spawn, task-manager.sh - -# color picker -bind = SUPER, n, spawn, hyprpicker -v -# lock screen -bind = SUPER+ALT, y, spawn, hyprlock - -# media keybinds -bind = NONE, XF86AudioMute, spawn, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle -bind = NONE, XF86AudioPlay, spawn, playerctl play-pause -bind = NONE, XF86AudioNext, spawn, playerctl next -bind = NONE, XF86AudioPrev, spawn, playerctl previous - -# needs to be `bind` for some reason, doesn't work otherwise -# if all of them are `bind` and not `binds`, it also doesn't work -# weird bug!! qwq -binds = Shift_R, XF86AudioPlay, spawn_shell, playerctl shuffle toggle -binds = Shift_R, XF86AudioNext, spawn, playerctl loop track - -bind = NONE, XF86AudioRaiseVolume, spawn, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+ -bind = NONE, XF86AudioLowerVolume, spawn, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%- - -binds = Shift_R, XF86AudioRaiseVolume, spawn, playerctl volume 0.05+ -binds = Shift_R, XF86AudioLowerVolume, spawn, playerctl volume 0.05- - -# window states -bind = SUPER, f, togglefullscreen -bind = SUPER+ALT, f, togglefakefullscreen -bind = SUPER, x, togglefloating - -# layouts -bind = SUPER, u, switch_layout - -# move focus - l/d/u/r -bind = SUPER, h, focusdir, left -bind = SUPER, j, focusdir, down -bind = SUPER, k, focusdir, up -bind = SUPER, l, focusdir, right - -# move focus - stack -bind = SUPER+SHIFT, j, focusstack, next -bind = SUPER+SHIFT, k, focusstack, prev - -# swap window - l/d/u/r -bind = SUPER+ALT, h, exchange_client, left -bind = SUPER+ALT, j, exchange_client, down -bind = SUPER+ALT, k, exchange_client, up -bind = SUPER+ALT, l, exchange_client, right - -# swap window - stack -bind = SUPER+SHIFT, h, exchange_stack_client, next -bind = SUPER+SHIFT, l, exchange_stack_client, prev - -# swap focused window with master -bind = SUPER, g, zoom - -# view tag -BIND = SUPER, 1, view, 1, 0 -BIND = SUPER, 2, view, 2, 0 -BIND = SUPER, 3, view, 3, 0 -BIND = SUPER, 4, view, 4, 0 -BIND = SUPER, 5, view, 5, 0 -BIND = SUPER, 6, view, 6, 0 -BIND = SUPER, 7, view, 7, 0 -BIND = SUPER, 8, view, 8, 0 -BIND = SUPER, 9, view, 9, 0 -BIND = SUPER, 0, view, 10, 0 -BIND = SUPER, minus, view, 11, 0 -BIND = SUPER, equal, view, 12, 0 - -# toggle tag on monitor -BIND = SUPER+ALT, 1, toggletag, 1, 0 -BIND = SUPER+ALT, 2, toggletag, 2, 0 -BIND = SUPER+ALT, 3, toggletag, 3, 0 -BIND = SUPER+ALT, 4, toggletag, 4, 0 -BIND = SUPER+ALT, 5, toggletag, 5, 0 -BIND = SUPER+ALT, 6, toggletag, 6, 0 -BIND = SUPER+ALT, 7, toggletag, 7, 0 -BIND = SUPER+ALT, 8, toggletag, 8, 0 -BIND = SUPER+ALT, 9, toggletag, 9, 0 -BIND = SUPER+ALT, 0, toggletag, 10, 0 -BIND = SUPER+ALT, minus, toggletag, 11, 0 -BIND = SUPER+ALT, equal, toggletag, 12, 0 - -# move window to tag -BIND = SUPER+SHIFT, 1, tag, 1, 0 -BIND = SUPER+SHIFT, 2, tag, 2, 0 -BIND = SUPER+SHIFT, 3, tag, 3, 0 -BIND = SUPER+SHIFT, 4, tag, 4, 0 -BIND = SUPER+SHIFT, 5, tag, 5, 0 -BIND = SUPER+SHIFT, 6, tag, 6, 0 -BIND = SUPER+SHIFT, 7, tag, 7, 0 -BIND = SUPER+SHIFT, 8, tag, 8, 0 -BIND = SUPER+SHIFT, 9, tag, 9, 0 -BIND = SUPER+SHIFT, 0, tag, 10, 0 -BIND = SUPER+SHIFT, minus, tag, 11, 0 -BIND = SUPER+SHIFT, equal, tag, 12, 0 - -# mouse binds :3 -mousebind = SUPER, btn_left, moveresize, curmove -mousebind = SUPER, btn_right, moveresize, curresize - -################################################################################ -##### Miscellaneous //////////////////////////////////////////////////////////// -################################################################################ - -# focus follows mouse cursor -sloppyfocus = 1 - -# automatically focus windows when they request activiation -focus_on_activate = 1 - -# scroll speed -axis_scroll_factor = 1.0 - -# disables hotarea for overview mode -enable_hotarea = 0 - -################################################################################ -##### Environment Variables //////////////////////////////////////////////////// -################################################################################ - -env = XCURSOR_THEME,Bunny (Icy) and Strawberries -env = XCURSOR_SIZE,24 - -env = QT_QPA_PLATFORM,wayland -env = QT_QPA_PLATFORMTHEME,xdgdesktopportal - -################################################################################ -##### Imports ////////////////////////////////////////////////////////////////// -################################################################################ - -# windowrules!!! <3 -source = ./windowrules.conf - -# layerrules :3 -source = ./layerrules.conf - -# colors generated from palette generator -source = ./colors.conf diff --git a/homes/modules/wm/mango/mango/layerrules.conf b/homes/modules/wm/mango/mango/layerrules.conf deleted file mode 100644 index 5ae4f70..0000000 --- a/homes/modules/wm/mango/mango/layerrules.conf +++ /dev/null @@ -1,3 +0,0 @@ -# ---------------------------------------------------------------------------- # -# slurp no blur -layerrule=noblur:1,layer_name:selection diff --git a/homes/modules/wm/mango/mango/waybar.jsonc b/homes/modules/wm/mango/mango/waybar.jsonc deleted file mode 100644 index 9ba22ad..0000000 --- a/homes/modules/wm/mango/mango/waybar.jsonc +++ /dev/null @@ -1,5 +0,0 @@ -{ - "layer": "bottom", - "position": "bottom", - "height": 10, -} diff --git a/homes/modules/wm/mango/mango/windowrules.conf b/homes/modules/wm/mango/mango/windowrules.conf deleted file mode 100644 index 2a8afd7..0000000 --- a/homes/modules/wm/mango/mango/windowrules.conf +++ /dev/null @@ -1,7 +0,0 @@ -# ---------------------------------------------------------------------------- # -# i don't wanna minimise windows -windowrule = ignore_minimise - -# ---------------------------------------------------------------------------- # -# terminal - blur -windowrule = appid:^(foot|Alacritty)$, focused_opacity:0.95, unfocused_opacity:0.95 diff --git a/homes/modules/wm/river.nix b/homes/modules/wm/river.nix index 57a9626..3fac1a0 100644 --- a/homes/modules/wm/river.nix +++ b/homes/modules/wm/river.nix @@ -1,83 +1,79 @@ -{ ... }: -{ - wayland.windowManager.river = - let - layout = "rivertile"; - in - { - enable = true; - xwayland.enable = true; +{spkgs, ...}: { + wayland.windowManager.river = let + layout = "rivertile"; + in { + enable = true; + xwayland.enable = true; + package = spkgs.river-classic; # FIX: using spkgs version as zls is broken rn ;-; - settings = - let - main = "Super"; + settings = let + main = "Super"; - # applications - terminal = "alacritty"; - browser = "firefox"; - in - { - default-layout = "${layout}"; - output-layout = "${layout}"; - border-width = 1; + # applications + terminal = "kitty"; + browser = "firefox"; + in { + default-layout = "${layout}"; + output-layout = "${layout}"; + border-width = 1; - spawn = [ - "${layout}" + spawn = [ + ''${layout}'' - "awww-daemon" - "waybar" - ]; + "awww-daemon" + "waybar" + ]; - map.normal = { - "${main} C" = "close"; # close focused window - "${main}+Alt Delete" = "exit"; # exit river + map.normal = { + "${main} C" = "close"; # close focused window + "${main}+Alt Delete" = "exit"; # exit river - # app launcher - "${main} D" = ''spawn "pkill -x rofi || rofi -show drun -show-icons"''; - "Alt Tab" = ''spawn "pkill -x rofi || rofi -modi window -show window -show-icons"''; + # app launcher + "${main} D" = ''spawn "pkill -x rofi || rofi -show drun -show-icons"''; + "Alt Tab" = ''spawn "pkill -x rofi || rofi -modi window -show window -show-icons"''; - # spawn applications - "${main} T" = ''spawn "${terminal}"''; - "${main} R" = ''spawn "${browser}"''; + # spawn applications + "${main} T" = ''spawn "${terminal}"''; + "${main} R" = ''spawn "${browser}"''; - # move focused view to top of layout stack - "${main} N" = "zoom"; + # move focused view to top of layout stack + "${main} N" = ''zoom''; - # focus next/previous view - "${main} J" = "focus-view previous"; - "${main} K" = "focus-view next"; - # move to next/previous output - "${main} H" = "focus-output previous"; - "${main} L" = "focus-output next"; + # focus next/previous view + "${main} J" = "focus-view previous"; + "${main} K" = "focus-view next"; + # move to next/previous output + "${main} H" = "focus-output previous"; + "${main} L" = "focus-output next"; - # swap next/previous view - "${main}+Alt J" = "swap previous"; - "${main}+Alt K" = "swap next"; - # send view to next/previous output - # and switch to that output (wip) - "${main}+Alt H" = "send-to-output previous"; - #"${main}+Alt H" = "focus-output previous"; - "${main}+Alt L" = "send-to-output next"; - #"${main}+Alt L" = "focus-output next"; + # swap next/previous view + "${main}+Alt J" = "swap previous"; + "${main}+Alt K" = "swap next"; + # send view to next/previous output + # and switch to that output (wip) + "${main}+Alt H" = "send-to-output previous"; + #"${main}+Alt H" = "focus-output previous"; + "${main}+Alt L" = "send-to-output next"; + #"${main}+Alt L" = "focus-output next"; - # move views - #"${main}+Alt H" = "move left 100"; - #"${main}+Alt J" = "move down 100"; - #"${main}+Alt K" = "move up 100"; - #"${main}+Alt L" = "move right 100"; + # move views + #"${main}+Alt H" = "move left 100"; + #"${main}+Alt J" = "move down 100"; + #"${main}+Alt K" = "move up 100"; + #"${main}+Alt L" = "move right 100"; - # snap views - #"${main}+Control H" = "snap left"; - #"${main}+Control J" = "snap down"; - #"${main}+Control K" = "snap up"; - #"${main}+Control L" = "snap right"; + # snap views + #"${main}+Control H" = "snap left"; + #"${main}+Control J" = "snap down"; + #"${main}+Control K" = "snap up"; + #"${main}+Control L" = "snap right"; - # resize views - #"${main}+Shift H" = "resize horizontal -100"; - #"${main}+Shift J" = "resize vertical -100"; - #"${main}+Shift K" = "resize vertical 100"; - #"${main}+Shift L" = "resize horizontal 100"; - }; - }; + # resize views + #"${main}+Shift H" = "resize horizontal -100"; + #"${main}+Shift J" = "resize vertical -100"; + #"${main}+Shift K" = "resize vertical 100"; + #"${main}+Shift L" = "resize horizontal 100"; + }; }; + }; } diff --git a/homes/modules/wm/sway.nix b/homes/modules/wm/sway.nix index a5c2f58..36db54e 100644 --- a/homes/modules/wm/sway.nix +++ b/homes/modules/wm/sway.nix @@ -1,52 +1,49 @@ -{ config, ... }: -{ +{config, ...}: { wayland.windowManager.sway = { enable = true; config = rec { modifier = "Mod4"; # Mod4 = Super/Meta - terminal = "alacritty"; + terminal = "kitty"; # disable sway bar - bars = [ ]; + bars = []; # set border colors #colors = { #focused = startup = [ - { command = "awww-daemon"; } - { command = "waybar"; } + {command = "awww-daemon";} + {command = "waybar";} ]; - keybindings = - let - main = config.wayland.windowManager.sway.config.modifier; - terminal = config.wayland.windowManager.sway.config.terminal; - browser = "firefox"; - in - { - "${main}+c" = "kill"; # close focused window - "${main}+Alt+Delete" = "exit"; # exit sway + keybindings = let + main = config.wayland.windowManager.sway.config.modifier; + terminal = config.wayland.windowManager.sway.config.terminal; + browser = "firefox"; + in { + "${main}+c" = "kill"; # close focused window + "${main}+Alt+Delete" = "exit"; # exit sway - # open launcher - "${main}+d" = "exec pkill -x rofi || rofi -show drun -show-icons"; - "Alt+Tab" = "exec pkill -x rofi || rofi -modi window -show window -show-icons"; + # open launcher + "${main}+d" = "exec pkill -x rofi || rofi -show drun -show-icons"; + "Alt+Tab" = "exec pkill -x rofi || rofi -modi window -show window -show-icons"; - "${main}+t" = "exec ${terminal}"; # open terminal - "${main}+r" = "exec ${browser}"; # open browser + "${main}+t" = "exec ${terminal}"; # open terminal + "${main}+r" = "exec ${browser}"; # open browser - # move focus - "${main}+h" = "focus left"; - "${main}+j" = "focus down"; - "${main}+k" = "focus up"; - "${main}+l" = "focus right"; + # move focus + "${main}+h" = "focus left"; + "${main}+j" = "focus down"; + "${main}+k" = "focus up"; + "${main}+l" = "focus right"; - # move focused window - "${main}+Alt+h" = "move left"; - "${main}+Alt+j" = "move down"; - "${main}+Alt+k" = "move up"; - "${main}+Alt+l" = "move right"; - }; + # move focused window + "${main}+Alt+h" = "move left"; + "${main}+Alt+j" = "move down"; + "${main}+Alt+k" = "move up"; + "${main}+Alt+l" = "move right"; + }; }; }; } diff --git a/hosts/nixarawrui/default.nix b/hosts/nixarawrui/default.nix index 03db509..b07dbb5 100644 --- a/hosts/nixarawrui/default.nix +++ b/hosts/nixarawrui/default.nix @@ -1,10 +1,9 @@ { - lib, - root, + inputs, upkgs, + spkgs, ... -}: -{ +}: { imports = [ ./hardware-configuration.nix @@ -13,7 +12,7 @@ # Use the systemd-boot EFI boot loader. boot = rec { - initrd.kernelModules = [ "amdgpu" ]; + initrd.kernelModules = ["amdgpu"]; loader = { systemd-boot.enable = true; @@ -23,8 +22,8 @@ kernelPackages = upkgs.cachyosKernels.linuxPackages-cachyos-latest-lto-x86_64-v4; # TODO: idk make this a toggle or smth idfk # kernelPackages = upkgs.linuxPackages_latest; - kernelModules = [ "v4l2loopback" ]; - extraModulePackages = with kernelPackages; [ v4l2loopback ]; + kernelModules = ["v4l2loopback"]; + extraModulePackages = with kernelPackages; [v4l2loopback]; # qemu # binfmt.emulatedSystems = [ @@ -85,6 +84,10 @@ environment.sessionVariables = { NIXOS_OZONE_WL = "1"; + + # makes portals work correctly + QT_QPA_PLATFORMTHEME = "xdgdesktopportal"; + #QT_QPA_PLATFORMTHEME = "flatpak"; # sometimes might need this }; xdg.portal = { @@ -99,7 +102,7 @@ ]; config.common = { - "org.freedesktop.impl.portal.FileChooser" = [ "termfilechooser" ]; + "org.freedesktop.impl.portal.FileChooser" = ["termfilechooser"]; }; }; @@ -192,15 +195,7 @@ users.aurora = { isNormalUser = true; uid = 1000; - extraGroups = [ - "wheel" - "disk" - "input" - "video" - "audio" - "networkmanager" - "games" - ]; + extraGroups = ["wheel" "disk" "input" "video" "audio" "networkmanager" "games"]; shell = upkgs.zsh; @@ -214,14 +209,6 @@ }; }; - systemd.tmpfiles.rules = - let - imagePath = root + "/homes/aurora/profile.png"; - in - lib.mkIf (builtins.pathExists imagePath) [ - "L /var/lib/AccountsService/icons/aurora - - - - ${imagePath}" - ]; - programs = { # nix-ld runs unpatched dynamic binaries on nixos :3 nix-ld.enable = true; @@ -249,11 +236,8 @@ portalPackage = upkgs.hyprland-git.xdg-desktop-portal-hyprland; }; - mango = { - enable = true; - }; - river-classic = { + package = spkgs.river-classic; # FIX: using spkgs version as zls is broken rn ;-; enable = true; }; @@ -274,7 +258,7 @@ alvr = { enable = true; - package = upkgs.alvr; + package = spkgs.alvr; openFirewall = true; }; @@ -290,7 +274,7 @@ fish.enable = true; silentSDDM = { - enable = true; + enable = false; theme = "rei"; }; }; @@ -338,6 +322,8 @@ libxscrnsaver ]; }).run + + inputs.nix-alien.packages.${stdenv.hostPlatform.system}.nix-alien ]; system.stateVersion = "24.11"; diff --git a/snow.nix b/snow.nix index b29ba1a..c927050 100644 --- a/snow.nix +++ b/snow.nix @@ -1,136 +1,125 @@ -{ cerulean, ... }@inputs: +{cerulean, ...} @ inputs: cerulean.mkNexus ./. (self: { nexus = { - args = { inherit inputs; }; + args = {inherit inputs;}; - modules = with inputs; [ ]; + modules = with inputs; []; base = inputs.nixpkgs; - homeManager = inputs.home-manager; groups = { - servers = { }; + servers = {}; }; - nodes = - let - inherit (self.nexus) - groups - ; - in - { - nixarawrui = { - system = "x86_64-linux"; + nodes = let + inherit + (self.nexus) + groups + ; + in { + nixarawrui = { + system = "x86_64-linux"; - base = inputs.nixpkgs-unstable; - homeManager = inputs.home-manager-unstable; + base = inputs.nixpkgs-unstable; - modules = with inputs; [ - sddm-silent.nixosModules.default - inputs.mango.nixosModules.mango - ]; - }; + modules = with inputs; [ + sddm-silent.nixosModules.default + ]; + }; - arcturus = { - system = "x86_64-linux"; + arcturus = { + system = "x86_64-linux"; - groups = [ - groups.servers - ]; + groups = [ + groups.servers + ]; - modules = with inputs; [ - microvm.nixosModules.host + modules = with inputs; [ + microvm.nixosModules.host - { - microvm.vms = { - home-assistant = { - autostart = true; + { + microvm.vms = { + home-assistant = { + autostart = true; - config = { - imports = [ ./vms/home-assistant/default.nix ]; + config = { + imports = [./vms/home-assistant/default.nix]; - networking.hostName = "home-assistant"; + networking.hostName = "home-assistant"; - boot.kernelParams = [ - "console=ttyS0" - "console=ttyS1" - "8250.nr_uarts=2" + boot.kernelParams = ["console=ttyS0" "console=ttyS1" "8250.nr_uarts=2"]; + systemd.services."serial-getty@ttyS1".enable = true; + + microvm = { + hypervisor = "qemu"; + + # needed to get interface working + qemu.extraArgs = [ + "-monitor" "unix:/var/lib/microvms/home-assistant/monitor.sock,server,nowait" + "-chardev" "socket,id=serial1,path=/var/lib/microvms/home-assistant/serial.sock,server=on,wait=off" + "-serial" "chardev:serial1" ]; - systemd.services."serial-getty@ttyS1".enable = true; - microvm = { - hypervisor = "qemu"; + # memory cannot be 2GB so i doubled it and used 4GB: + # https://github.com/microvm-nix/microvm.nix/issues/171 + # TODO: can be fixed by turning off acpi in qemu + mem = 4096; # 4GB + vcpu = 2; - # needed to get interface working - qemu.extraArgs = [ - "-monitor" - "unix:/var/lib/microvms/home-assistant/monitor.sock,server,nowait" - "-chardev" - "socket,id=serial1,path=/var/lib/microvms/home-assistant/serial.sock,server=on,wait=off" - "-serial" - "chardev:serial1" - ]; + interfaces = [ + { + type = "tap"; + id = "vm-hass"; + mac = "0a:00:a0:70:01:01"; + } + ]; - # memory cannot be 2GB so i doubled it and used 4GB: - # https://github.com/microvm-nix/microvm.nix/issues/171 - # TODO: can be fixed by turning off acpi in qemu - mem = 4096; # 4GB - vcpu = 2; + volumes = [ + #{ + #image = "/var/lib/microvms/home-assistant/data.img"; + #mountPoint = "/var/lib/hass"; + #autoCreate = false; + #} + ]; + }; - interfaces = [ - { - type = "tap"; - id = "vm-hass"; - mac = "0a:00:a0:70:01:01"; - } - ]; - - volumes = [ - #{ - #image = "/var/lib/microvms/home-assistant/data.img"; - #mountPoint = "/var/lib/hass"; - #autoCreate = false; - #} - ]; - }; - - systemd.network.enable = true; - systemd.network.networks."20-lan" = { - matchConfig.Type = "ether"; - networkConfig = { - Address = [ "10.16.1.127/24" ]; - Gateway = "10.16.1.1"; - DNS = [ "10.16.1.1" ]; - IPv6AcceptRA = true; - DHCP = "yes"; - }; + systemd.network.enable = true; + systemd.network.networks."20-lan" = { + matchConfig.Type = "ether"; + networkConfig = { + Address = ["10.16.1.127/24"]; + Gateway = "10.16.1.1"; + DNS = ["10.16.1.1"]; + IPv6AcceptRA = true; + DHCP = "yes"; }; }; }; }; - } - ]; + }; + } + ]; - deploy.ssh = { - host = "10.16.1.163"; - port = 2222; - user = "foxora"; - }; - }; - - lyra = { - system = "x86_64-linux"; - - groups = [ - groups.servers - ]; - - deploy.ssh = { - host = "10.16.1.58"; - port = 2222; - user = "foxora"; - }; + deploy.ssh = { + host = "10.16.1.163"; + port = 2222; + user = "foxora"; }; }; + + lyra = { + system = "x86_64-linux"; + + groups = [ + groups.servers + ]; + + deploy.ssh = { + host = "10.16.1.58"; + port = 2222; + user = "foxora"; + }; + }; + }; }; }) diff --git a/vms/home-assistant/default.nix b/vms/home-assistant/default.nix index 94f7c73..70bcd07 100644 --- a/vms/home-assistant/default.nix +++ b/vms/home-assistant/default.nix @@ -12,13 +12,6 @@ "esphome" "met" "radio_browser" - "hassio" - "stream" - "cast" - "plex" - "dhcp" - "go2rtc" - "mobile_app" ]; extraPackages = python3Packages: with python3Packages; [