diff --git a/flake.lock b/flake.lock index ca9aeec..fd02d5e 100755 --- a/flake.lock +++ b/flake.lock @@ -59,11 +59,11 @@ }, "crane": { "locked": { - "lastModified": 1748047550, - "narHash": "sha256-t0qLLqb4C1rdtiY8IFRH5KIapTY/n3Lqt57AmxEv9mk=", + "lastModified": 1742394900, + "narHash": "sha256-vVOAp9ahvnU+fQoKd4SEXB2JG2wbENkpqcwlkIXgUC0=", "owner": "ipetkov", "repo": "crane", - "rev": "b718a78696060df6280196a6f992d04c87a16aef", + "rev": "70947c1908108c0c551ddfd73d4f750ff2ea67cd", "type": "github" }, "original": { @@ -110,11 +110,11 @@ "flake-compat": { "flake": false, "locked": { - "lastModified": 1747046372, - "narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=", + "lastModified": 1733328505, + "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", "owner": "edolstra", "repo": "flake-compat", - "rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885", + "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec", "type": "github" }, "original": { @@ -221,11 +221,11 @@ }, "flake-compat_8": { "locked": { - "lastModified": 1747046372, - "narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=", + "lastModified": 1733328505, + "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", "owner": "edolstra", "repo": "flake-compat", - "rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885", + "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec", "type": "github" }, "original": { @@ -391,16 +391,17 @@ "inputs": { "flake-compat": "flake-compat", "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs", + "nixpkgs-stable": "nixpkgs-stable", + "nixpkgs-unstable": "nixpkgs-unstable", "zig": "zig", "zon2nix": "zon2nix" }, "locked": { - "lastModified": 1748672231, - "narHash": "sha256-9DwoMa9VvwATvK3lolyUwJBfiF+y28EKmGj9FyEaJWo=", + "lastModified": 1748096269, + "narHash": "sha256-B1VEZQDJ1Q3VjR8egAI7Hyn3kTsIYkzgQEfwChJIROM=", "owner": "ghostty-org", "repo": "ghostty", - "rev": "1ff91625981ef92add92624c01b6b9095c365ed1", + "rev": "034c1c12ef22005ddb7042d4e9a1c315d5432dfe", "type": "github" }, "original": { @@ -482,11 +483,11 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1748702599, - "narHash": "sha256-cXzTGHrZsT4wSxlLvw2ZlHPVjC/MA2W0sI/KF1yStbY=", + "lastModified": 1748101349, + "narHash": "sha256-XKqmBA2kCZkZLa/sZ4PQbNiYAe0oWODSahLzdCOHacU=", "owner": "helix-editor", "repo": "helix", - "rev": "2baff46b2578d78d817b9e128e8cc00345541f0b", + "rev": "702a9615178bc9f06b07ef5eb6a8768d403a4431", "type": "github" }, "original": { @@ -529,11 +530,11 @@ ] }, "locked": { - "lastModified": 1748737919, - "narHash": "sha256-5kvBbLYdp+n7Ftanjcs6Nv+UO6sBhelp6MIGJ9nWmjQ=", + "lastModified": 1747978958, + "narHash": "sha256-pQQnbxWpY3IiZqgelXHIe/OAE/Yv4NSQq7fch7M6nXQ=", "owner": "nix-community", "repo": "home-manager", - "rev": "5675a9686851d9626560052a032c4e14e533c1fa", + "rev": "7419250703fd5eb50e99bdfb07a86671939103ea", "type": "github" }, "original": { @@ -618,11 +619,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1748808233, - "narHash": "sha256-8ODprnZklafpJ5f2aLsZf8Lo3pP6z75NR4ArkwlH6cI=", + "lastModified": 1748036495, + "narHash": "sha256-kYyrhoxu8pZ/YHd2Yy2VNaRGeqydOh1OTayvknhweGg=", "owner": "hyprwm", "repo": "Hyprland", - "rev": "16c62a6dbb5f8eee4dcfe903e743f6f144971c06", + "rev": "81cd526f923f4a9074bbfef59b4c7e9f3350c349", "type": "github" }, "original": { @@ -643,11 +644,11 @@ "systems": "systems_3" }, "locked": { - "lastModified": 1748204791, - "narHash": "sha256-fc97Jf4TbLAnJ0TQrQrcEE3SOEZi5BI2sdttNCiifqE=", + "lastModified": 1745871725, + "narHash": "sha256-M24SNc2flblWGXFkGQfqSlEOzAGZnMc9QG3GH4K/KbE=", "owner": "hyprwm", "repo": "xdg-desktop-portal-hyprland", - "rev": "6036ce9c86e88fc1549a54c3e44749f81ec399b1", + "rev": "76bbf1a6b1378e4ab5230bad00ad04bc287c969e", "type": "github" }, "original": { @@ -985,17 +986,18 @@ "buildbot-nix": "buildbot-nix", "dream2nix": "dream2nix", "flake-utils": "flake-utils_3", - "nixpkgs": "nixpkgs_2", + "nixpkgs": "nixpkgs", + "nixpkgs-stable": "nixpkgs-stable_2", "pre-commit-hooks": "pre-commit-hooks_2", "sops-nix": "sops-nix", "systems": "systems_5" }, "locked": { - "lastModified": 1748622925, - "narHash": "sha256-mB9F6/IdZFF7jWWmnEsUf87z3mxNJPIJlKNgNQmPf5k=", + "lastModified": 1747831714, + "narHash": "sha256-YOfpNuADwzrh76A5iXID0qYqxuauQb2sEz9yNqDWDZM=", "owner": "ngi-nix", "repo": "ngipkgs", - "rev": "55dbfb268e7effdb8405dbb6cdd9c7dd83db36c2", + "rev": "52c0b887994e3f497ef21878ccfc2c7b8b292d5c", "type": "github" }, "original": { @@ -1011,16 +1013,16 @@ "nixpkgs": [ "nixpkgs" ], - "nixpkgs-stable": "nixpkgs-stable", + "nixpkgs-stable": "nixpkgs-stable_3", "xwayland-satellite-stable": "xwayland-satellite-stable", "xwayland-satellite-unstable": "xwayland-satellite-unstable" }, "locked": { - "lastModified": 1748797644, - "narHash": "sha256-zLkSMDE/4kEK+1q0Ep0fmSO7PJ/3ZxovvYNIA5TuN4I=", + "lastModified": 1748033637, + "narHash": "sha256-TetDbakvubacirX9JTzrZ8FePtT8taVv53sbqY61t38=", "owner": "sodiboo", "repo": "niri-flake", - "rev": "2036ef9e1bfac9d50d96c0771a412226b6998ba5", + "rev": "262837d8190629c4af723e35a7f2a3f49d1afb26", "type": "github" }, "original": { @@ -1049,11 +1051,11 @@ "niri-unstable": { "flake": false, "locked": { - "lastModified": 1748794937, - "narHash": "sha256-LQfI1BlFm+JeZGjg0MPKdsmyupETu/9HzGmxVd0G4fw=", + "lastModified": 1748030931, + "narHash": "sha256-34Y9mI/IN9eWZm6v1wQS+TUw1BK9Ed5XBWe8lrVu6RE=", "owner": "YaLTeR", "repo": "niri", - "rev": "1911cf3f55ac3d9d24c8692434a93214dcbde9ba", + "rev": "a605a3f016769ba2fd7e2147fe05c9ac3707f973", "type": "github" }, "original": { @@ -1065,16 +1067,16 @@ "nixos-cosmic": { "inputs": { "flake-compat": "flake-compat_5", - "nixpkgs": "nixpkgs_3", - "nixpkgs-stable": "nixpkgs-stable_2", + "nixpkgs": "nixpkgs_2", + "nixpkgs-stable": "nixpkgs-stable_4", "rust-overlay": "rust-overlay_2" }, "locked": { - "lastModified": 1748776124, - "narHash": "sha256-vs2cMCHX9wnWJutXhQyWkWOpMF/Xbw0ZAUAFGsKLifA=", + "lastModified": 1748084900, + "narHash": "sha256-XxVAY/U3qloh2gCy8T8aBj6lXu6DOAX5wH7cTg1QSkE=", "owner": "lilyinstarlight", "repo": "nixos-cosmic", - "rev": "e989a41092f6f0375e7afb789bc97cb30d01fdb8", + "rev": "d01c1a4044129f6eddb944f4d71a84e07c139eba", "type": "github" }, "original": { @@ -1084,51 +1086,6 @@ } }, "nixpkgs": { - "locked": { - "lastModified": 1748189127, - "narHash": "sha256-zRDR+EbbeObu4V2X5QCd2Bk5eltfDlCr5yvhBwUT6pY=", - "rev": "7c43f080a7f28b2774f3b3f43234ca11661bf334", - "type": "tarball", - "url": "https://releases.nixos.org/nixos/25.05/nixos-25.05.802491.7c43f080a7f2/nixexprs.tar.xz" - }, - "original": { - "type": "tarball", - "url": "https://channels.nixos.org/nixos-25.05/nixexprs.tar.xz" - } - }, - "nixpkgs-stable": { - "locked": { - "lastModified": 1748437600, - "narHash": "sha256-hYKMs3ilp09anGO7xzfGs3JqEgUqFMnZ8GMAqI6/k04=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "7282cb574e0607e65224d33be8241eae7cfe0979", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-25.05", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs-stable_2": { - "locked": { - "lastModified": 1748421225, - "narHash": "sha256-XXILOc80tvlvEQgYpYFnze8MkQQmp3eQxFbTzb3m/R0=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "78add7b7abb61689e34fc23070a8f55e1d26185b", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-24.11", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_2": { "locked": { "lastModified": 1747467164, "narHash": "sha256-JBXbjJ0t6T6BbVc9iPVquQI9XSXCGQJD8c8SgnUquus=", @@ -1144,13 +1101,109 @@ "type": "github" } }, - "nixpkgs_3": { + "nixpkgs-stable": { "locked": { - "lastModified": 1748693115, - "narHash": "sha256-StSrWhklmDuXT93yc3GrTlb0cKSS0agTAxMGjLKAsY8=", + "lastModified": 1741992157, + "narHash": "sha256-nlIfTsTrMSksEJc1f7YexXiPVuzD1gOfeN1ggwZyUoc=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "da4b122f63095ca1199bd4d526f9e26426697689", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "release-24.11", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-stable_2": { + "locked": { + "lastModified": 1747485343, + "narHash": "sha256-YbsZyuRE1tobO9sv0PUwg81QryYo3L1F3R3rF9bcG38=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "910796cabe436259a29a72e8d3f5e180fc6dfacc", + "rev": "9b5ac7ad45298d58640540d0323ca217f32a6762", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-24.11", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-stable_3": { + "locked": { + "lastModified": 1747862697, + "narHash": "sha256-U4HaNZ1W26cbOVm0Eb5OdGSnfQVWQKbLSPrSSa78KC0=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "2baa12ff69913392faf0ace833bc54bba297ea95", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-24.11", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-stable_4": { + "locked": { + "lastModified": 1747862697, + "narHash": "sha256-U4HaNZ1W26cbOVm0Eb5OdGSnfQVWQKbLSPrSSa78KC0=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "2baa12ff69913392faf0ace833bc54bba297ea95", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-24.11", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-unstable": { + "locked": { + "lastModified": 1741865919, + "narHash": "sha256-4thdbnP6dlbdq+qZWTsm4ffAwoS8Tiq1YResB+RP6WE=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "573c650e8a14b2faa0041645ab18aed7e60f0c9a", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_2": { + "locked": { + "lastModified": 1747744144, + "narHash": "sha256-W7lqHp0qZiENCDwUZ5EX/lNhxjMdNapFnbErcbnP11Q=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "2795c506fe8fb7b03c36ccb51f75b6df0ab2553f", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_3": { + "locked": { + "lastModified": 1748026106, + "narHash": "sha256-6m1Y3/4pVw1RWTsrkAK2VMYSzG4MMIj7sqUy7o8th1o=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "063f43f2dbdef86376cc29ad646c45c46e93234c", "type": "github" }, "original": { @@ -1161,22 +1214,6 @@ } }, "nixpkgs_4": { - "locked": { - "lastModified": 1748693115, - "narHash": "sha256-StSrWhklmDuXT93yc3GrTlb0cKSS0agTAxMGjLKAsY8=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "910796cabe436259a29a72e8d3f5e180fc6dfacc", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_5": { "locked": { "lastModified": 1747312588, "narHash": "sha256-MmJvj6mlWzeRwKGLcwmZpKaOPZ5nJb/6al5CXqJsgjo=", @@ -1201,11 +1238,11 @@ "treefmt-nix": "treefmt-nix_2" }, "locked": { - "lastModified": 1748782935, - "narHash": "sha256-wjo1BhHoBFzdtj92LrAonR1eJ8j5dt1YhnkPpqaam38=", + "lastModified": 1748108751, + "narHash": "sha256-3nny7VjOFPC3geBCQj59qQdKoYE8+bf+tc48YPEL8QU=", "owner": "nix-community", "repo": "NUR", - "rev": "73385c8de1fac0066f513adc9a7e59d69f2327c2", + "rev": "65f929e6e23929e6da5fa6b95ac3c5c4e43d6216", "type": "github" }, "original": { @@ -1335,7 +1372,7 @@ "ngipkgs": "ngipkgs", "niri": "niri", "nixos-cosmic": "nixos-cosmic", - "nixpkgs": "nixpkgs_4", + "nixpkgs": "nixpkgs_3", "nur": "nur", "pre-commit-hooks-nix": "pre-commit-hooks-nix", "sops-nix": "sops-nix_2", @@ -1375,11 +1412,11 @@ ] }, "locked": { - "lastModified": 1748746145, - "narHash": "sha256-bwkCAK9pOyI2Ww4Q4oO1Ynv7O9aZPrsIAMMASmhVGp4=", + "lastModified": 1748054080, + "narHash": "sha256-rwFiLLNCwkj9bqePtH1sMqzs1xmohE0Ojq249piMzF4=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "12a0d94a2f2b06714f747ab97b2fa546f46b460c", + "rev": "2221d8d53c128beb69346fa3ab36da3f19bb1691", "type": "github" }, "original": { @@ -1417,11 +1454,11 @@ ] }, "locked": { - "lastModified": 1748227081, - "narHash": "sha256-RLnN7LBxhEdCJ6+rIL9sbhjBVDaR6jG377M/CLP/fmE=", + "lastModified": 1747363019, + "narHash": "sha256-N4dwkRBmpOosa4gfFkFf/LTD8oOcNkAyvZ07JvRDEf0=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "1cbe817fd8c64a9f77ba4d7861a4839b0b15983e", + "rev": "0e624f2b1972a34be1a9b35290ed18ea4b419b6f", "type": "github" }, "original": { @@ -1724,11 +1761,11 @@ "xwayland-satellite-unstable": { "flake": false, "locked": { - "lastModified": 1748488455, - "narHash": "sha256-IiLr1alzKFIy5tGGpDlabQbe6LV1c9ABvkH6T5WmyRI=", + "lastModified": 1747111562, + "narHash": "sha256-GAqhWoxaBIk0tgoecZPa8gTHDHxNc0JtlwWHZN2iOOo=", "owner": "Supreeeme", "repo": "xwayland-satellite", - "rev": "3ba30b149f9eb2bbf42cf4758d2158ca8cceef73", + "rev": "ec9ff64c1e0cbec42710b580b7c0f759b1694e72", "type": "github" }, "original": { @@ -1740,15 +1777,15 @@ "yazi": { "inputs": { "flake-utils": "flake-utils_4", - "nixpkgs": "nixpkgs_5", + "nixpkgs": "nixpkgs_4", "rust-overlay": "rust-overlay_3" }, "locked": { - "lastModified": 1748740817, - "narHash": "sha256-Vj4QAPNXONRmpL9LdmZt2DTqLCqgIBFjuseQprs9Kvg=", + "lastModified": 1747819961, + "narHash": "sha256-ZlXhPOAz/j3cte0K7uIr6+Qs/+4Y4c8N+d5W21E2eVY=", "owner": "sxyazi", "repo": "yazi", - "rev": "d5038eeed52a459fa43b953c3b42a65a1b0d922c", + "rev": "622ba09a803b4a38983339b027d420238affa3d6", "type": "github" }, "original": { @@ -1767,11 +1804,11 @@ "rust-overlay": "rust-overlay_4" }, "locked": { - "lastModified": 1748790933, - "narHash": "sha256-zEQSuEcJgEiFac2odqDjIq8mpg2QaxiQpojGcwvmrHI=", + "lastModified": 1748069556, + "narHash": "sha256-Pn3pIXN58ZGJmj9LqZIXjILP0GXXvteyvd8+tX6SGJ8=", "owner": "zed-industries", "repo": "zed", - "rev": "d3bc561f26e8077a1de8ffb98b7d9e012133980c", + "rev": "6f918ed99bfa107d496f7e6a7101a956494f3153", "type": "github" }, "original": { @@ -1813,15 +1850,15 @@ ], "nixpkgs": [ "ghostty", - "nixpkgs" + "nixpkgs-stable" ] }, "locked": { - "lastModified": 1748261582, - "narHash": "sha256-3i0IL3s18hdDlbsf0/E+5kyPRkZwGPbSFngq5eToiAA=", + "lastModified": 1741825901, + "narHash": "sha256-aeopo+aXg5I2IksOPFN79usw7AeimH1+tjfuMzJHFdk=", "owner": "mitchellh", "repo": "zig-overlay", - "rev": "aafb1b093fb838f7a02613b719e85ec912914221", + "rev": "0b14285e283f5a747f372fb2931835dd937c4383", "type": "github" }, "original": { @@ -1838,7 +1875,7 @@ ], "nixpkgs": [ "ghostty", - "nixpkgs" + "nixpkgs-unstable" ] }, "locked": { diff --git a/modules/home/gui/apps/tools/espanso/config/base.nix b/modules/home/gui/apps/tools/espanso/config/base.nix new file mode 100755 index 0000000..65bb056 --- /dev/null +++ b/modules/home/gui/apps/tools/espanso/config/base.nix @@ -0,0 +1,7 @@ +{ matchHelper, ... }: +[ + (matchHelper ":up" "↑") + (matchHelper ":down" "↓") + (matchHelper ":left" "←") + (matchHelper ":right" "→") +] diff --git a/modules/home/gui/apps/tools/espanso/config/characters.nix b/modules/home/gui/apps/tools/espanso/config/characters.nix index d118c16..aad8e1b 100755 --- a/modules/home/gui/apps/tools/espanso/config/characters.nix +++ b/modules/home/gui/apps/tools/espanso/config/characters.nix @@ -3,14 +3,4 @@ (matchHelper ":delta" "Δ") (matchHelper ":emdash" "—") (matchHelper ":degree" "°") - (matchHelper ":+-" "±") - (matchHelper ":<=" "≤") - (matchHelper ":>=" "≥") - (matchHelper ":copyright" "©") - (matchHelper ":restricted" "®") - (matchHelper ":trademark" "™") - (matchHelper ":up" "↑") - (matchHelper ":down" "↓") - (matchHelper ":left" "←") - (matchHelper ":right" "→") ] diff --git a/modules/home/gui/apps/tools/espanso/config/debate.nix b/modules/home/gui/apps/tools/espanso/config/debate.nix index 94dcc40..7ac3c8f 100755 --- a/modules/home/gui/apps/tools/espanso/config/debate.nix +++ b/modules/home/gui/apps/tools/espanso/config/debate.nix @@ -1,35 +1,8 @@ { matchHelper, ... }: [ - (matchHelper ":ntt1" '' + (matchHelper ":ntt" '' World A) Animals farmed for food. World B) Humans farmed for food. All else equal, what is true of world A that is untrue of world B, that if made true of world B, would make world B permissible?'') - (matchHelper ":ntt2" '' - P1) For all things, if a being has moral worth, then we should not exploit it to any greater degree than we would tolerate for trait-adjusted humans. - (∀x(Px→¬Qx)) - - P2) If animals don’t have moral worth, then there exists a trait that is absent in animals such that if it were absent in humans, humans wouldn’t have moral worth. - (¬Pa→∃t(Rta→(Rth→¬Ph))) - - P3) There doesn’t exist a trait that is absent in animals such that if it were absent in humans, humans wouldn’t have moral worth. - (¬∃t(Rta→(Rth→¬Ph))) - - C) Therefore, we should not exploit animals to any greater degree than we would tolerate for trait-adjusted humans. - (∴¬Qa)'') - (matchHelper ":transid" '' - P1) Someone is a woman if, and only if, someone possesses a sufficiently greater sum of weighted traits that more closely associate with large gametes than weighted traits that associate with small gametes and someone is over 18 years of age. - (∀x(Px↔Rx∧Wx)) - - P2) Someone is a man if, and only if, someone possesses a sufficiently greater sum of weighted traits that more closely associate with small gametes than weighted traits that associate with large gametes and someone is over 18 years of age. - (∀x(Qx↔Sx∧Wx)) - - P3) A trans person of the male sex possesses a sufficiently greater sum of weighted traits that more closely associate with large gametes than weighted traits that associate with small gametes and a trans person with small gametes is over 18 years of age. - (Ra∧Wa) - - P4)A trans person of the female sex possesses a sufficiently greater sum of weighted traits that more closely associate with small gametes than weighted traits that associate with large gametes and a trans person with large gametes is over 18 years of age. - (Sg∧Wg) - - C) Therefore, a trans person of the male sex is a woman and a trans person with female sex is a man. - (∴Pa∧Qg)'') ] diff --git a/modules/home/gui/apps/tools/espanso/config/logic.nix b/modules/home/gui/apps/tools/espanso/config/logic.nix index 519b391..7adec9d 100755 --- a/modules/home/gui/apps/tools/espanso/config/logic.nix +++ b/modules/home/gui/apps/tools/espanso/config/logic.nix @@ -4,27 +4,8 @@ (matchHelper ":conj" "∧") (matchHelper ":disj" "∨") (matchHelper ":imp" "→") - (matchHelper ":iff" "↔") + (matchHelper ":bicon" "↔") (matchHelper ":forall" "∀") (matchHelper ":exist" "∃") (matchHelper ":therefore" "∴") - (matchHelper ":because" "∵") - (matchHelper ":nexist" "∄") - (matchHelper ":nand" "⊼") - (matchHelper ":nor" "⊽") - (matchHelper ":xor" "⊕") - (matchHelper ":xnor" "⊙") - (matchHelper ":notimp" "↛") - (matchHelper ":notiff" "↮") - (matchHelper ":models" "⊨") - (matchHelper ":notmodels" "⊭") - (matchHelper ":proves" "⊢") - (matchHelper ":notproves" "⊬") - (matchHelper ":forces" "⊩") - (matchHelper ":notforces" "⊮") - (matchHelper ":top" "⊤") - (matchHelper ":bottom" "⊥") - (matchHelper ":dashv" "⊣") - (matchHelper ":necessary" "□") - (matchHelper ":possible" "◇") ] diff --git a/modules/home/gui/apps/tools/espanso/config/numbers.nix b/modules/home/gui/apps/tools/espanso/config/numbers.nix deleted file mode 100755 index b7cea6a..0000000 --- a/modules/home/gui/apps/tools/espanso/config/numbers.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ matchHelper, ... }: -[ - (matchHelper ":super1" "¹") - (matchHelper ":super2" "²") - (matchHelper ":super3" "³") - (matchHelper ":super4" "⁴") - (matchHelper ":super5" "⁵") - (matchHelper ":super6" "⁶") - (matchHelper ":super7" "⁷") - (matchHelper ":super8" "⁸") - (matchHelper ":super9" "⁹") - (matchHelper ":super0" "⁰") - (matchHelper ":sub1" "₁") - (matchHelper ":sub2" "₂") - (matchHelper ":sub3" "₃") - (matchHelper ":sub4" "₄") - (matchHelper ":sub5" "₅") - (matchHelper ":sub6" "₆") - (matchHelper ":sub7" "₇") - (matchHelper ":sub8" "₈") - (matchHelper ":sub9" "₉") - (matchHelper ":sub0" "₀") - (matchHelper ":1/2" "½") - (matchHelper ":1/3" "⅓") - (matchHelper ":2/3" "⅔") - (matchHelper ":1/4" "¼") - (matchHelper ":3/4" "¾") - (matchHelper ":1/5" "⅕") - (matchHelper ":2/5" "⅖") - (matchHelper ":3/5" "⅗") - (matchHelper ":4/5" "⅘") - (matchHelper ":1/6" "⅙") - (matchHelper ":5/6" "⅚") - (matchHelper ":1/7" "⅐") - (matchHelper ":1/8" "⅛") - (matchHelper ":3/8" "⅜") - (matchHelper ":5/8" "⅝") - (matchHelper ":7/8" "⅞") - (matchHelper ":1/9" "⅑") - (matchHelper ":1/10" "⅒") -] diff --git a/modules/home/gui/apps/tools/espanso/config/superscript.nix b/modules/home/gui/apps/tools/espanso/config/superscript.nix new file mode 100755 index 0000000..c119ac5 --- /dev/null +++ b/modules/home/gui/apps/tools/espanso/config/superscript.nix @@ -0,0 +1,13 @@ +{ matchHelper, ... }: +[ + (matchHelper ":ss1" "¹") + (matchHelper ":ss2" "²") + (matchHelper ":ss3" "³") + (matchHelper ":ss4" "⁴") + (matchHelper ":ss5" "⁵") + (matchHelper ":ss6" "⁶") + (matchHelper ":ss7" "⁷") + (matchHelper ":ss8" "⁸") + (matchHelper ":ss9" "⁹") + (matchHelper ":ss0" "⁰") +] diff --git a/modules/home/gui/apps/tools/espanso/default.nix b/modules/home/gui/apps/tools/espanso/default.nix index 7cbd4ea..ef636ac 100755 --- a/modules/home/gui/apps/tools/espanso/default.nix +++ b/modules/home/gui/apps/tools/espanso/default.nix @@ -1,30 +1,28 @@ { flake, - lib, pkgs, ... }: let + matchHelper = trigger: replace: { trigger = trigger; replace = replace; }; + configPath = ./config; - configs = { - url = { inherit flake matchHelper; }; - logic = { inherit matchHelper; }; - debate = { inherit matchHelper; }; - characters = { inherit matchHelper; }; - academic = { inherit matchHelper; }; - numbers = { inherit matchHelper; }; - email = { inherit flake matchHelper; }; - }; - baseMatches = { - matches = lib.concatMap (name: import (configPath + "/${name}.nix") configs.${name}) ( - builtins.attrNames configs - ); + matches = + [ ] + ++ (import (configPath + /base.nix) { inherit matchHelper; }) + ++ (import (configPath + /url.nix) { inherit flake matchHelper; }) + ++ (import (configPath + /logic.nix) { inherit matchHelper; }) + ++ (import (configPath + /debate.nix) { inherit matchHelper; }) + ++ (import (configPath + /characters.nix) { inherit matchHelper; }) + ++ (import (configPath + /academic.nix) { inherit matchHelper; }) + ++ (import (configPath + /superscript.nix) { inherit matchHelper; }) + ++ (import (configPath + /email.nix) { inherit flake matchHelper; }); }; in { diff --git a/modules/home/gui/desktop/hypr/land/config/monitor.nix b/modules/home/gui/desktop/hypr/land/config/monitor.nix index df77e9c..fbd1df1 100755 --- a/modules/home/gui/desktop/hypr/land/config/monitor.nix +++ b/modules/home/gui/desktop/hypr/land/config/monitor.nix @@ -1,14 +1,6 @@ -{ flake, osConfig, ... }: let - inherit (flake.config.machines) devices; - - deimos = devices.deimos.name; - host = osConfig.networking.hostName; - - deviceLogic = if host == deimos then "1" else "1"; - monitorSettings = [ - "eDP-1,highres@highrr,0x0,${deviceLogic}" + "eDP-1,highres@highrr,0x0,1" ]; in monitorSettings diff --git a/modules/home/gui/desktop/hypr/land/default.nix b/modules/home/gui/desktop/hypr/land/default.nix index d77e245..879c095 100755 --- a/modules/home/gui/desktop/hypr/land/default.nix +++ b/modules/home/gui/desktop/hypr/land/default.nix @@ -20,7 +20,7 @@ let misc = import (configPath + /misc.nix); windowrulev2 = import (configPath + /windowrulev2.nix); xwayland = import (configPath + /xwayland.nix); - monitor = import (configPath + /monitor.nix) { inherit flake osConfig; }; + monitor = import (configPath + /monitor.nix); }; in { diff --git a/modules/nixos/core/nh/default.nix b/modules/nixos/core/nh/default.nix index a0e7607..bc6f8ac 100755 --- a/modules/nixos/core/nh/default.nix +++ b/modules/nixos/core/nh/default.nix @@ -1,14 +1,5 @@ -{ flake, ... }: -let - inherit (flake.config.people) user0; -in { programs.nh = { enable = true; - clean = { - enable = true; - dates = "daily"; - }; - flake = "/home/${user0}/Files/Projects/dotfiles"; }; } diff --git a/modules/nixos/core/nix/default.nix b/modules/nixos/core/nix/default.nix index 4693056..fb117ec 100755 --- a/modules/nixos/core/nix/default.nix +++ b/modules/nixos/core/nix/default.nix @@ -19,10 +19,15 @@ nix = { extraOptions = '' - experimental-features = nix-command flakes repl-flake + experimental-features = nix-command flakes keep-outputs = true keep-derivations = true ''; + gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 10d"; + }; settings = { substituters = [ ]; diff --git a/modules/nixos/programs/coreCtrl/default.nix b/modules/nixos/programs/coreCtrl/default.nix index bf606c9..63fbcfb 100755 --- a/modules/nixos/programs/coreCtrl/default.nix +++ b/modules/nixos/programs/coreCtrl/default.nix @@ -3,5 +3,9 @@ programs.corectrl = { enable = true; package = pkgs.corectrl; + gpuOverclock = { + enable = true; + ppfeaturemask = "0xffffffff"; + }; }; } diff --git a/systems/deimos/config/hardware.nix b/systems/deimos/config/hardware.nix index 9533ff4..60e08be 100755 --- a/systems/deimos/config/hardware.nix +++ b/systems/deimos/config/hardware.nix @@ -6,10 +6,6 @@ }: { hardware = { - amdgpu.overdrive = { - enable = true; - ppfeaturemask = "0xffffffff"; - }; firmware = [ pkgs.rtl8761b-firmware ]; diff --git a/systems/mars/config/graphics.nix b/systems/mars/config/graphics.nix index 53283f2..84429f1 100755 --- a/systems/mars/config/graphics.nix +++ b/systems/mars/config/graphics.nix @@ -1,10 +1,6 @@ { pkgs, ... }: { hardware = { - amdgpu.overdrive = { - enable = true; - ppfeaturemask = "0xffffffff"; - }; graphics = { enable = true; enable32Bit = true;