From 87973eb74130969f3644fe0940e4587cb68b0d53 Mon Sep 17 00:00:00 2001 From: Schrottkatze Date: Wed, 18 Mar 2026 15:51:07 +0100 Subject: [PATCH 1/3] flake.lock: Update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Flake lock file updates: • Updated input 'crane': 'github:ipetkov/crane/01bc1d404a51a0a07e9d8759cd50a7903e218c82' (2025-12-26) → 'github:ipetkov/crane/6fa2fb4cf4a89ba49fc9dd5a3eb6cde99d388269' (2026-03-11) • Updated input 'fenix': 'github:nix-community/fenix/33e17a88166bba14f4017b3ee6cafe5b3376aef0' (2025-12-31) → 'github:nix-community/fenix/b8b443c5a1bd8dd99df899b4ac786a7f410193e5' (2026-03-18) • Updated input 'fenix/rust-analyzer-src': 'github:rust-lang/rust-analyzer/2b4263b042d9bdee370e027e4b0ea0f6101709d0' (2025-12-30) → 'github:rust-lang/rust-analyzer/4eac290b58a70961e78f2e0c04f61a08b995b2cb' (2026-03-17) • Updated input 'home-manager': 'github:nix-community/home-manager/e4e78a2cbeaddd07ab7238971b16468cc1d14daf' (2025-12-30) → 'github:nix-community/home-manager/d47357a4c806d18a3e853ad2699eaec3c01622e7' (2026-03-18) • Updated input 'nixcord': 'github:kaylorben/nixcord/38592e01087877116adc2af0876aebb61083b531' (2025-12-31) → 'github:kaylorben/nixcord/6a503af15e1cb2b0b2e4acdc7c7e8f25ab6251a2' (2026-03-18) • Updated input 'nixcord/flake-parts': 'github:hercules-ci/flake-parts/a34fae9c08a15ad73f295041fec82323541400a9' (2025-12-15) → 'github:hercules-ci/flake-parts/f20dc5d9b8027381c474144ecabc9034d6a839a3' (2026-03-01) • Updated input 'nixcord/flake-parts/nixpkgs-lib': 'github:nix-community/nixpkgs.lib/2075416fcb47225d9b68ac469a5c4801a9c4dd85' (2025-12-14) → 'github:nix-community/nixpkgs.lib/c185c7a5e5dd8f9add5b2f8ebeff00888b070742' (2026-03-01) • Updated input 'nixcord/nixpkgs': 'github:NixOS/nixpkgs/9ef261221d1e72399f2036786498d78c38185c46' (2025-12-28) → 'github:NixOS/nixpkgs/0590cd39f728e129122770c029970378a79d076a' (2026-03-11) • Added input 'nixcord/nixpkgs-nixcord': 'github:NixOS/nixpkgs/0590cd39f728e129122770c029970378a79d076a' (2026-03-11) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/40b1a28dce561bea34858287fbb23052c3ee63fe' (2025-12-31) → 'github:NixOS/nixos-hardware/f8e82243fd601afb9f59ad230958bd073795cbfe' (2026-03-15) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/c0b0e0fddf73fd517c3471e546c0df87a42d53f4' (2025-12-28) → 'github:NixOS/nixpkgs/cda48547b432e8d3b18b4180ba07473762ec8558' (2026-03-17) • Updated input 'nixpkgs-stable': 'github:NixOS/nixpkgs/89dbf01df72eb5ebe3b24a86334b12c27d68016a' (2025-12-29) → 'github:NixOS/nixpkgs/48652e9d5aea46e555b3df87354280d4f29cd3a3' (2026-03-16) • Updated input 'nixpkgs-unstable-small': 'github:NixOS/nixpkgs/cad22e7d996aea55ecab064e84834289143e44a0' (2025-12-30) → 'github:NixOS/nixpkgs/af90506ab0acf18cfd6449225c32c096138cba52' (2026-03-18) • Updated input 'stylix': 'github:danth/stylix/551df12ee3ebac52c5712058bd97fd9faa4c3430' (2025-12-24) → 'github:danth/stylix/3f2f9d307fe58c6abe2a16eb9b62c42d53ef5ee1' (2026-03-18) • Updated input 'stylix/firefox-gnome-theme': 'github:rafaelmardojai/firefox-gnome-theme/66b7c635763d8e6eb86bd766de5a1e1fbfcc1047' (2025-12-03) → 'github:rafaelmardojai/firefox-gnome-theme/f7ffd917ac0d253dbd6a3bf3da06888f57c69f92' (2025-12-04) • Updated input 'stylix/flake-parts': 'github:hercules-ci/flake-parts/2cccadc7357c0ba201788ae99c4dfa90728ef5e0' (2025-11-21) → 'github:hercules-ci/flake-parts/250481aafeb741edfe23d29195671c19b36b6dca' (2026-01-05) • Updated input 'stylix/gnome-shell': 'gitlab:GNOME/gnome-shell/c0e1ad9f0f703fd0519033b8f46c3267aab51a22' (2025-11-30) → 'gitlab:GNOME/gnome-shell/ef02db02bf0ff342734d525b5767814770d85b49' (2026-01-06) • Updated input 'stylix/nixpkgs': 'github:NixOS/nixpkgs/2d293cbfa5a793b4c50d17c05ef9e385b90edf6c' (2025-11-30) → 'github:NixOS/nixpkgs/5912c1772a44e31bf1c63c0390b90501e5026886' (2026-01-07) • Updated input 'stylix/nur': 'github:nix-community/NUR/1d9616689e98beded059ad0384b9951e967a17fa' (2025-12-03) → 'github:nix-community/NUR/dead29c804adc928d3a69dfe7f9f12d0eec1f1a4' (2026-01-07) • Updated input 'stylix/tinted-schemes': 'github:tinted-theming/schemes/0f6be815d258e435c9b137befe5ef4ff24bea32c' (2025-11-23) → 'github:tinted-theming/schemes/2800e2b8ac90f678d7e4acebe4fa253f602e05b2' (2026-01-06) • Updated input 'stylix/tinted-tmux': 'github:tinted-theming/tinted-tmux/edf89a780e239263cc691a987721f786ddc4f6aa' (2025-11-30) → 'github:tinted-theming/tinted-tmux/3c32729ccae99be44fe8a125d20be06f8d7d8184' (2026-01-04) • Updated input 'stylix/tinted-zed': 'github:tinted-theming/base16-zed/907dbba5fb8cf69ebfd90b00813418a412d0a29a' (2025-11-30) → 'github:tinted-theming/base16-zed/11abb0b282ad3786a2aae088d3a01c60916f2e40' (2026-01-04) --- flake.lock | 147 ++++++++++++++++++++++++++++++----------------------- 1 file changed, 82 insertions(+), 65 deletions(-) diff --git a/flake.lock b/flake.lock index cd80714..2cd20f0 100644 --- a/flake.lock +++ b/flake.lock @@ -70,11 +70,11 @@ }, "crane": { "locked": { - "lastModified": 1766774972, - "narHash": "sha256-8qxEFpj4dVmIuPn9j9z6NTbU+hrcGjBOvaxTzre5HmM=", + "lastModified": 1773189535, + "narHash": "sha256-E1G/Or6MWeP+L6mpQ0iTFLpzSzlpGrITfU2220Gq47g=", "owner": "ipetkov", "repo": "crane", - "rev": "01bc1d404a51a0a07e9d8759cd50a7903e218c82", + "rev": "6fa2fb4cf4a89ba49fc9dd5a3eb6cde99d388269", "type": "github" }, "original": { @@ -106,11 +106,11 @@ "rust-analyzer-src": "rust-analyzer-src" }, "locked": { - "lastModified": 1767163745, - "narHash": "sha256-sJXyT3AeB3rHPuK93VjnVI16hoLJazieFq7LP62cTHw=", + "lastModified": 1773818109, + "narHash": "sha256-Wsk92HrZODmCgBb+v7XfTMUAIEhqU+Obwj+09IKRTpU=", "owner": "nix-community", "repo": "fenix", - "rev": "33e17a88166bba14f4017b3ee6cafe5b3376aef0", + "rev": "b8b443c5a1bd8dd99df899b4ac786a7f410193e5", "type": "github" }, "original": { @@ -144,11 +144,11 @@ "firefox-gnome-theme": { "flake": false, "locked": { - "lastModified": 1764724327, - "narHash": "sha256-OkFLrD3pFR952TrjQi1+Vdj604KLcMnkpa7lkW7XskI=", + "lastModified": 1764873433, + "narHash": "sha256-1XPewtGMi+9wN9Ispoluxunw/RwozuTRVuuQOmxzt+A=", "owner": "rafaelmardojai", "repo": "firefox-gnome-theme", - "rev": "66b7c635763d8e6eb86bd766de5a1e1fbfcc1047", + "rev": "f7ffd917ac0d253dbd6a3bf3da06888f57c69f92", "type": "github" }, "original": { @@ -176,11 +176,11 @@ "nixpkgs-lib": "nixpkgs-lib" }, "locked": { - "lastModified": 1765835352, - "narHash": "sha256-XswHlK/Qtjasvhd1nOa1e8MgZ8GS//jBoTqWtrS1Giw=", + "lastModified": 1772408722, + "narHash": "sha256-rHuJtdcOjK7rAHpHphUb1iCvgkU3GpfvicLMwwnfMT0=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "a34fae9c08a15ad73f295041fec82323541400a9", + "rev": "f20dc5d9b8027381c474144ecabc9034d6a839a3", "type": "github" }, "original": { @@ -197,11 +197,11 @@ ] }, "locked": { - "lastModified": 1763759067, - "narHash": "sha256-LlLt2Jo/gMNYAwOgdRQBrsRoOz7BPRkzvNaI/fzXi2Q=", + "lastModified": 1767609335, + "narHash": "sha256-feveD98mQpptwrAEggBQKJTYbvwwglSbOv53uCfH9PY=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "2cccadc7357c0ba201788ae99c4dfa90728ef5e0", + "rev": "250481aafeb741edfe23d29195671c19b36b6dca", "type": "github" }, "original": { @@ -248,11 +248,11 @@ "flake": false, "locked": { "host": "gitlab.gnome.org", - "lastModified": 1764524476, - "narHash": "sha256-bTmNn3Q4tMQ0J/P0O5BfTQwqEnCiQIzOGef9/aqAZvk=", + "lastModified": 1767737596, + "narHash": "sha256-eFujfIUQDgWnSJBablOuG+32hCai192yRdrNHTv0a+s=", "owner": "GNOME", "repo": "gnome-shell", - "rev": "c0e1ad9f0f703fd0519033b8f46c3267aab51a22", + "rev": "ef02db02bf0ff342734d525b5767814770d85b49", "type": "gitlab" }, "original": { @@ -270,11 +270,11 @@ ] }, "locked": { - "lastModified": 1767104570, - "narHash": "sha256-GKgwu5//R+cLdKysZjGqvUEEOGXXLdt93sNXeb2M/Lk=", + "lastModified": 1773810247, + "narHash": "sha256-6Vz1Thy/1s7z+Rq5OfkWOBAdV4eD+OrvDs10yH6xJzQ=", "owner": "nix-community", "repo": "home-manager", - "rev": "e4e78a2cbeaddd07ab7238971b16468cc1d14daf", + "rev": "d47357a4c806d18a3e853ad2699eaec3c01622e7", "type": "github" }, "original": { @@ -287,14 +287,15 @@ "inputs": { "flake-compat": "flake-compat", "flake-parts": "flake-parts", - "nixpkgs": "nixpkgs" + "nixpkgs": "nixpkgs", + "nixpkgs-nixcord": "nixpkgs-nixcord" }, "locked": { - "lastModified": 1767190262, - "narHash": "sha256-C1BMnQasK43IQz3/dC0a/uNbf2bQhvk8rVw47x9h0q0=", + "lastModified": 1773794880, + "narHash": "sha256-Ta6qtvm9JFGvJBQMCi/MtWsC7JT0fgUFQxgFg0hqQoo=", "owner": "kaylorben", "repo": "nixcord", - "rev": "38592e01087877116adc2af0876aebb61083b531", + "rev": "6a503af15e1cb2b0b2e4acdc7c7e8f25ab6251a2", "type": "github" }, "original": { @@ -305,11 +306,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1767185284, - "narHash": "sha256-ljDBUDpD1Cg5n3mJI81Hz5qeZAwCGxon4kQW3Ho3+6Q=", + "lastModified": 1773533765, + "narHash": "sha256-qonGfS2lzCgCl59Zl63jF6dIRRpvW3AJooBGMaXjHiY=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "40b1a28dce561bea34858287fbb23052c3ee63fe", + "rev": "f8e82243fd601afb9f59ad230958bd073795cbfe", "type": "github" }, "original": { @@ -319,11 +320,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1766885793, - "narHash": "sha256-P6RVkrM9JLCW6xBjSwHfgTOQ1JwBUma5xe5LI8xAPC0=", + "lastModified": 1773222311, + "narHash": "sha256-BHoB/XpbqoZkVYZCfXJXfkR+GXFqwb/4zbWnOr2cRcU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "9ef261221d1e72399f2036786498d78c38185c46", + "rev": "0590cd39f728e129122770c029970378a79d076a", "type": "github" }, "original": { @@ -335,11 +336,11 @@ }, "nixpkgs-lib": { "locked": { - "lastModified": 1765674936, - "narHash": "sha256-k00uTP4JNfmejrCLJOwdObYC9jHRrr/5M/a/8L2EIdo=", + "lastModified": 1772328832, + "narHash": "sha256-e+/T/pmEkLP6BHhYjx6GmwP5ivonQQn0bJdH9YrRB+Q=", "owner": "nix-community", "repo": "nixpkgs.lib", - "rev": "2075416fcb47225d9b68ac469a5c4801a9c4dd85", + "rev": "c185c7a5e5dd8f9add5b2f8ebeff00888b070742", "type": "github" }, "original": { @@ -360,13 +361,29 @@ "url": "https://github.com/NixOS/nixpkgs/archive/356624c12086a18f2ea2825fed34523d60ccc4e3.tar.gz" } }, - "nixpkgs-stable": { + "nixpkgs-nixcord": { "locked": { - "lastModified": 1767047869, - "narHash": "sha256-tzYsEzXEVa7op1LTnrLSiPGrcCY6948iD0EcNLWcmzo=", + "lastModified": 1773222311, + "narHash": "sha256-BHoB/XpbqoZkVYZCfXJXfkR+GXFqwb/4zbWnOr2cRcU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "89dbf01df72eb5ebe3b24a86334b12c27d68016a", + "rev": "0590cd39f728e129122770c029970378a79d076a", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-25.11", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-stable": { + "locked": { + "lastModified": 1773705440, + "narHash": "sha256-xB30bbAp0e7ogSEYyc126mAJMt4FRFh8wtm6ADE1xuM=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "48652e9d5aea46e555b3df87354280d4f29cd3a3", "type": "github" }, "original": { @@ -377,11 +394,11 @@ }, "nixpkgs-unstable-small": { "locked": { - "lastModified": 1767116409, - "narHash": "sha256-5vKw92l1GyTnjoLzEagJy5V5mDFck72LiQWZSOnSicw=", + "lastModified": 1773826178, + "narHash": "sha256-RwA0KkNaCDBMDGYef/OjG3Z5B5oRTuV6Zy1iPk3F8Ro=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "cad22e7d996aea55ecab064e84834289143e44a0", + "rev": "af90506ab0acf18cfd6449225c32c096138cba52", "type": "github" }, "original": { @@ -392,11 +409,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1766902085, - "narHash": "sha256-coBu0ONtFzlwwVBzmjacUQwj3G+lybcZ1oeNSQkgC0M=", + "lastModified": 1773734432, + "narHash": "sha256-IF5ppUWh6gHGHYDbtVUyhwy/i7D261P7fWD1bPefOsw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c0b0e0fddf73fd517c3471e546c0df87a42d53f4", + "rev": "cda48547b432e8d3b18b4180ba07473762ec8558", "type": "github" }, "original": { @@ -407,11 +424,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1764517877, - "narHash": "sha256-pp3uT4hHijIC8JUK5MEqeAWmParJrgBVzHLNfJDZxg4=", + "lastModified": 1767767207, + "narHash": "sha256-Mj3d3PfwltLmukFal5i3fFt27L6NiKXdBezC1EBuZs4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "2d293cbfa5a793b4c50d17c05ef9e385b90edf6c", + "rev": "5912c1772a44e31bf1c63c0390b90501e5026886", "type": "github" }, "original": { @@ -449,11 +466,11 @@ ] }, "locked": { - "lastModified": 1764773531, - "narHash": "sha256-mCBl7MD1WZ7yCG6bR9MmpPO2VydpNkWFgnslJRIT1YU=", + "lastModified": 1767810917, + "narHash": "sha256-ZKqhk772+v/bujjhla9VABwcvz+hB2IaRyeLT6CFnT0=", "owner": "nix-community", "repo": "NUR", - "rev": "1d9616689e98beded059ad0384b9951e967a17fa", + "rev": "dead29c804adc928d3a69dfe7f9f12d0eec1f1a4", "type": "github" }, "original": { @@ -479,11 +496,11 @@ "rust-analyzer-src": { "flake": false, "locked": { - "lastModified": 1767092832, - "narHash": "sha256-cZFPNglcpjQuA9MXejYELyrIvPm67jR5CZ8Sq2o5P0w=", + "lastModified": 1773775226, + "narHash": "sha256-413aE+fhubk1GA2v4IlRrpdZZzW/b89wJGuDfZCVtEs=", "owner": "rust-lang", "repo": "rust-analyzer", - "rev": "2b4263b042d9bdee370e027e4b0ea0f6101709d0", + "rev": "4eac290b58a70961e78f2e0c04f61a08b995b2cb", "type": "github" }, "original": { @@ -541,11 +558,11 @@ "tinted-zed": "tinted-zed" }, "locked": { - "lastModified": 1766603026, - "narHash": "sha256-J2DDdRqSU4w9NNgkMfmMeaLIof5PXtS9RG7y6ckDvQE=", + "lastModified": 1773792048, + "narHash": "sha256-Oy9PCLG3vtflFBWcJd8c/EB3h5RU7ABAIDWn6JrGf6o=", "owner": "danth", "repo": "stylix", - "rev": "551df12ee3ebac52c5712058bd97fd9faa4c3430", + "rev": "3f2f9d307fe58c6abe2a16eb9b62c42d53ef5ee1", "type": "github" }, "original": { @@ -620,11 +637,11 @@ "tinted-schemes": { "flake": false, "locked": { - "lastModified": 1763914658, - "narHash": "sha256-Hju0WtMf3iForxtOwXqGp3Ynipo0EYx1AqMKLPp9BJw=", + "lastModified": 1767710407, + "narHash": "sha256-+W1EB79Jl0/gm4JqmO0Nuc5C7hRdp4vfsV/VdzI+des=", "owner": "tinted-theming", "repo": "schemes", - "rev": "0f6be815d258e435c9b137befe5ef4ff24bea32c", + "rev": "2800e2b8ac90f678d7e4acebe4fa253f602e05b2", "type": "github" }, "original": { @@ -636,11 +653,11 @@ "tinted-tmux": { "flake": false, "locked": { - "lastModified": 1764465359, - "narHash": "sha256-lbSVPqLEk2SqMrnpvWuKYGCaAlfWFMA6MVmcOFJjdjE=", + "lastModified": 1767489635, + "narHash": "sha256-e6nnFnWXKBCJjCv4QG4bbcouJ6y3yeT70V9MofL32lU=", "owner": "tinted-theming", "repo": "tinted-tmux", - "rev": "edf89a780e239263cc691a987721f786ddc4f6aa", + "rev": "3c32729ccae99be44fe8a125d20be06f8d7d8184", "type": "github" }, "original": { @@ -652,11 +669,11 @@ "tinted-zed": { "flake": false, "locked": { - "lastModified": 1764464512, - "narHash": "sha256-rCD/pAhkMdCx6blsFwxIyvBJbPZZ1oL2sVFrH07lmqg=", + "lastModified": 1767488740, + "narHash": "sha256-wVOj0qyil8m+ouSsVZcNjl5ZR+1GdOOAooAatQXHbuU=", "owner": "tinted-theming", "repo": "base16-zed", - "rev": "907dbba5fb8cf69ebfd90b00813418a412d0a29a", + "rev": "11abb0b282ad3786a2aae088d3a01c60916f2e40", "type": "github" }, "original": { From 63d865be007e43643cdafba7a762a4f3ec3662c1 Mon Sep 17 00:00:00 2001 From: Schrottkatze Date: Wed, 25 Mar 2026 10:59:42 +0100 Subject: [PATCH 2/3] flake.lock: Update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Flake lock file updates: • Updated input 'crane': 'github:ipetkov/crane/6fa2fb4cf4a89ba49fc9dd5a3eb6cde99d388269' (2026-03-11) → 'github:ipetkov/crane/3d9df76e29656c679c744968b17fbaf28f0e923d' (2026-03-24) • Updated input 'fenix': 'github:nix-community/fenix/b8b443c5a1bd8dd99df899b4ac786a7f410193e5' (2026-03-18) → 'github:nix-community/fenix/b70d7535088cd8a9e4322c372a475f66ffa18adf' (2026-03-25) • Updated input 'fenix/rust-analyzer-src': 'github:rust-lang/rust-analyzer/4eac290b58a70961e78f2e0c04f61a08b995b2cb' (2026-03-17) → 'github:rust-lang/rust-analyzer/eabb84b771420b8396ab4bb4747694302d9be277' (2026-03-24) • Updated input 'home-manager': 'github:nix-community/home-manager/d47357a4c806d18a3e853ad2699eaec3c01622e7' (2026-03-18) → 'github:nix-community/home-manager/1eb0549a1ab3fe3f5acf86668249be15fa0e64f7' (2026-03-24) • Updated input 'nixcord': 'github:kaylorben/nixcord/6a503af15e1cb2b0b2e4acdc7c7e8f25ab6251a2' (2026-03-18) → 'github:kaylorben/nixcord/1e20d00ccb0fd2ed9ae7a9cce953ea74c430f318' (2026-03-24) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/f8e82243fd601afb9f59ad230958bd073795cbfe' (2026-03-15) → 'github:NixOS/nixos-hardware/632e4bfc21c01e5be900d0d8255a5368a5d6082f' (2026-03-25) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/cda48547b432e8d3b18b4180ba07473762ec8558' (2026-03-17) → 'github:NixOS/nixpkgs/6c9a78c09ff4d6c21d0319114873508a6ec01655' (2026-03-21) • Updated input 'nixpkgs-stable': 'github:NixOS/nixpkgs/48652e9d5aea46e555b3df87354280d4f29cd3a3' (2026-03-16) → 'github:NixOS/nixpkgs/4590696c8693fea477850fe379a01544293ca4e2' (2026-03-23) • Updated input 'nixpkgs-unstable-small': 'github:NixOS/nixpkgs/af90506ab0acf18cfd6449225c32c096138cba52' (2026-03-18) → 'github:NixOS/nixpkgs/2b772c21c564364cfb5ea92c930178f0400a645c' (2026-03-25) • Updated input 'stylix': 'github:danth/stylix/3f2f9d307fe58c6abe2a16eb9b62c42d53ef5ee1' (2026-03-18) → 'github:danth/stylix/e31c79f571c5595a155f84b9d77ce53a84745494' (2026-03-21) --- flake.lock | 60 +++++++++++++++++++++++++++--------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/flake.lock b/flake.lock index 2cd20f0..687655e 100644 --- a/flake.lock +++ b/flake.lock @@ -70,11 +70,11 @@ }, "crane": { "locked": { - "lastModified": 1773189535, - "narHash": "sha256-E1G/Or6MWeP+L6mpQ0iTFLpzSzlpGrITfU2220Gq47g=", + "lastModified": 1774313767, + "narHash": "sha256-hy0XTQND6avzGEUFrJtYBBpFa/POiiaGBr2vpU6Y9tY=", "owner": "ipetkov", "repo": "crane", - "rev": "6fa2fb4cf4a89ba49fc9dd5a3eb6cde99d388269", + "rev": "3d9df76e29656c679c744968b17fbaf28f0e923d", "type": "github" }, "original": { @@ -106,11 +106,11 @@ "rust-analyzer-src": "rust-analyzer-src" }, "locked": { - "lastModified": 1773818109, - "narHash": "sha256-Wsk92HrZODmCgBb+v7XfTMUAIEhqU+Obwj+09IKRTpU=", + "lastModified": 1774423251, + "narHash": "sha256-g/PP8G9WcP4vtZVOBNYwfGxLnwLQoTERHnef8irAMeQ=", "owner": "nix-community", "repo": "fenix", - "rev": "b8b443c5a1bd8dd99df899b4ac786a7f410193e5", + "rev": "b70d7535088cd8a9e4322c372a475f66ffa18adf", "type": "github" }, "original": { @@ -270,11 +270,11 @@ ] }, "locked": { - "lastModified": 1773810247, - "narHash": "sha256-6Vz1Thy/1s7z+Rq5OfkWOBAdV4eD+OrvDs10yH6xJzQ=", + "lastModified": 1774379316, + "narHash": "sha256-0nGNxWDUH2Hzlj/R3Zf4FEK6fsFNB/dvewuboSRZqiI=", "owner": "nix-community", "repo": "home-manager", - "rev": "d47357a4c806d18a3e853ad2699eaec3c01622e7", + "rev": "1eb0549a1ab3fe3f5acf86668249be15fa0e64f7", "type": "github" }, "original": { @@ -291,11 +291,11 @@ "nixpkgs-nixcord": "nixpkgs-nixcord" }, "locked": { - "lastModified": 1773794880, - "narHash": "sha256-Ta6qtvm9JFGvJBQMCi/MtWsC7JT0fgUFQxgFg0hqQoo=", + "lastModified": 1774376318, + "narHash": "sha256-4qPK1/nTax4RJ4VClNBdDpz9o3uh5KTQwz+2e3XFOn4=", "owner": "kaylorben", "repo": "nixcord", - "rev": "6a503af15e1cb2b0b2e4acdc7c7e8f25ab6251a2", + "rev": "1e20d00ccb0fd2ed9ae7a9cce953ea74c430f318", "type": "github" }, "original": { @@ -306,11 +306,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1773533765, - "narHash": "sha256-qonGfS2lzCgCl59Zl63jF6dIRRpvW3AJooBGMaXjHiY=", + "lastModified": 1774422943, + "narHash": "sha256-o1xgNumjljdBBfOrcQX95hhKGFOJQYNZqpF3EfaScMk=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "f8e82243fd601afb9f59ad230958bd073795cbfe", + "rev": "632e4bfc21c01e5be900d0d8255a5368a5d6082f", "type": "github" }, "original": { @@ -379,11 +379,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1773705440, - "narHash": "sha256-xB30bbAp0e7ogSEYyc126mAJMt4FRFh8wtm6ADE1xuM=", + "lastModified": 1774244481, + "narHash": "sha256-4XfMXU0DjN83o6HWZoKG9PegCvKvIhNUnRUI19vzTcQ=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "48652e9d5aea46e555b3df87354280d4f29cd3a3", + "rev": "4590696c8693fea477850fe379a01544293ca4e2", "type": "github" }, "original": { @@ -394,11 +394,11 @@ }, "nixpkgs-unstable-small": { "locked": { - "lastModified": 1773826178, - "narHash": "sha256-RwA0KkNaCDBMDGYef/OjG3Z5B5oRTuV6Zy1iPk3F8Ro=", + "lastModified": 1774422283, + "narHash": "sha256-Hli+qOgWID+eatqY5KBaoj80hNyIbeTwiAr/SGrPHpg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "af90506ab0acf18cfd6449225c32c096138cba52", + "rev": "2b772c21c564364cfb5ea92c930178f0400a645c", "type": "github" }, "original": { @@ -409,11 +409,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1773734432, - "narHash": "sha256-IF5ppUWh6gHGHYDbtVUyhwy/i7D261P7fWD1bPefOsw=", + "lastModified": 1774106199, + "narHash": "sha256-US5Tda2sKmjrg2lNHQL3jRQ6p96cgfWh3J1QBliQ8Ws=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "cda48547b432e8d3b18b4180ba07473762ec8558", + "rev": "6c9a78c09ff4d6c21d0319114873508a6ec01655", "type": "github" }, "original": { @@ -496,11 +496,11 @@ "rust-analyzer-src": { "flake": false, "locked": { - "lastModified": 1773775226, - "narHash": "sha256-413aE+fhubk1GA2v4IlRrpdZZzW/b89wJGuDfZCVtEs=", + "lastModified": 1774376228, + "narHash": "sha256-7oA0u4aghFjjIcIDKZ26NUpXH7hVXGPC0sI1OfK7NUk=", "owner": "rust-lang", "repo": "rust-analyzer", - "rev": "4eac290b58a70961e78f2e0c04f61a08b995b2cb", + "rev": "eabb84b771420b8396ab4bb4747694302d9be277", "type": "github" }, "original": { @@ -558,11 +558,11 @@ "tinted-zed": "tinted-zed" }, "locked": { - "lastModified": 1773792048, - "narHash": "sha256-Oy9PCLG3vtflFBWcJd8c/EB3h5RU7ABAIDWn6JrGf6o=", + "lastModified": 1774124764, + "narHash": "sha256-Poz9WTjiRlqZIf197CrMMJfTifZhrZpbHFv0eU1Nhtg=", "owner": "danth", "repo": "stylix", - "rev": "3f2f9d307fe58c6abe2a16eb9b62c42d53ef5ee1", + "rev": "e31c79f571c5595a155f84b9d77ce53a84745494", "type": "github" }, "original": { From 70e5b25e38f653c5f59c16096f00fdac6b55fc57 Mon Sep 17 00:00:00 2001 From: Schrottkatze Date: Sat, 28 Mar 2026 17:23:29 +0100 Subject: [PATCH 3/3] blargh --- hosts/denkbrett/configuration.nix | 1 - modules/desktop-legacy/gaming.nix | 2 - modules/desktop-legacy/social.nix | 1 - modules/desktop/audio.nix | 2 +- modules/desktop/home/browser.nix | 68 +++++++++++------- modules/desktop/home/niri/shaders/arc.frag | 2 + modules/desktop/home/terminal.nix | 1 - modules/editors/helix/default.nix | 7 ++ modules/net/hosts.nix | 53 +++++++------- modules/shell/btop.nix | 34 ++++----- modules/shell/default.nix | 17 +++-- modules/shell/elvish.nix | 8 +++ modules/shell/elvish/lib/direnv.elv | 18 +++++ modules/shell/elvish/rc.elv | 28 ++++++++ modules/shell/git.nix | 82 ++++++++++------------ modules/shell/mprocs.nix | 42 +++++------ modules/shell/nu.nix | 80 ++++++++++----------- modules/shell/nu/aliases.nu | 8 --- modules/shell/starship.nix | 74 +++++++++---------- 19 files changed, 289 insertions(+), 239 deletions(-) create mode 100644 modules/shell/elvish.nix create mode 100644 modules/shell/elvish/lib/direnv.elv create mode 100644 modules/shell/elvish/rc.elv diff --git a/hosts/denkbrett/configuration.nix b/hosts/denkbrett/configuration.nix index da56c5d..c217277 100644 --- a/hosts/denkbrett/configuration.nix +++ b/hosts/denkbrett/configuration.nix @@ -62,7 +62,6 @@ pkgs.mobile-broadband-provider-info pkgs.modem-manager-gui pkgs.wireshark - pkgs.jetbrains.idea-ultimate ]; # Bootloader. diff --git a/modules/desktop-legacy/gaming.nix b/modules/desktop-legacy/gaming.nix index e8b0df4..94f60fa 100644 --- a/modules/desktop-legacy/gaming.nix +++ b/modules/desktop-legacy/gaming.nix @@ -17,9 +17,7 @@ with lib; { pkgs, ... }: { home.packages = with pkgs; [ - lutris prismlauncher - wineWowPackages.stable dxvk_2 vkd3d-proton ]; diff --git a/modules/desktop-legacy/social.nix b/modules/desktop-legacy/social.nix index dda7fc3..22f80f0 100644 --- a/modules/desktop-legacy/social.nix +++ b/modules/desktop-legacy/social.nix @@ -59,7 +59,6 @@ with lib; mumble element-desktop pkgs.evolution-data-server-gtk4 - iamb deltachat-desktop ]; }; diff --git a/modules/desktop/audio.nix b/modules/desktop/audio.nix index 2354ae8..acba28b 100644 --- a/modules/desktop/audio.nix +++ b/modules/desktop/audio.nix @@ -14,6 +14,6 @@ environment.systemPackages = with pkgs; [ playerctl pulsemixer - helvum + crosspipe ]; } diff --git a/modules/desktop/home/browser.nix b/modules/desktop/home/browser.nix index 932db95..abe1ca1 100644 --- a/modules/desktop/home/browser.nix +++ b/modules/desktop/home/browser.nix @@ -17,29 +17,23 @@ }; policies = { DefaultDownloadDirectory = "\${home}/Downloads"; - Extensions.Install = - builtins.map (name: "https://addons.mozilla.org/firefox/downloads/latest/${name}") - [ - "bitwarden-password-manager" - "darkreader" - "gruvbox-dark-theme" - "indie-wiki-buddy" - "kagi-search-for-firefox" - "multi-account-containers" - "privacy-badger17" - "return-youtube-dislikes" - "shinigami-eyes" - "sponsorblock" - "styl-us" - "tabby-cat-friend" - "terms-of-service-didnt-read" - "torproject-snowflake" - "tridactyl-vim" - "ublock-origin" - "view-page-archive" - "web-clipper-obsidian" - "web-scrobbler" - ]; + Extensions.Install = map (name: "https://addons.mozilla.org/firefox/downloads/latest/${name}") [ + "bitwarden-password-manager" + "darkreader" + "indie-wiki-buddy" + "kagi-search-for-firefox" + "multi-account-containers" + "privacy-badger17" + "return-youtube-dislikes" + "sponsorblock" + "styl-us" + "tabby-cat-friend" + "torproject-snowflake" + "tridactyl-vim" + "ublock-origin" + "web-clipper-obsidian" + "web-scrobbler" + ]; Extensions.Uninstall = [ "ddg@search.mozilla.org" "google@search.mozilla.org" @@ -180,6 +174,21 @@ icon = "https://lib.rs/favicon.png"; definedAliases = [ "libs" ]; }; + "gleam packages" = { + urls = [ + { + template = "https://packages.gleam.run/"; + params = [ + { + name = "search"; + value = "{searchTerms}"; + } + ]; + } + ]; + icon = "https://packages.gleam.run/static/packages-icon.svg"; + definedAliases = [ "libs" ]; + }; "rust docs" = { urls = [ { @@ -195,6 +204,16 @@ icon = "https://docs.rs/-/static/favicon.ico"; definedAliases = [ "docs" ]; }; + "gleam docs direct open" = { + urls = [ + { + template = "https://hexdocs.pm/{searchTerms}"; + } + ]; + definedAliases = [ + "gd" + ]; + }; "rust docs direct open" = { urls = [ { @@ -202,8 +221,7 @@ } ]; definedAliases = [ - "doc" - "docd" + "rd" ]; }; "rust std docs" = { diff --git a/modules/desktop/home/niri/shaders/arc.frag b/modules/desktop/home/niri/shaders/arc.frag index 3de5014..91b43cd 100644 --- a/modules/desktop/home/niri/shaders/arc.frag +++ b/modules/desktop/home/niri/shaders/arc.frag @@ -1,4 +1,6 @@ + #define PI 3.14159 + #define TAU 6.28319 #define WIDTH 3. diff --git a/modules/desktop/home/terminal.nix b/modules/desktop/home/terminal.nix index 725a68e..12eee04 100644 --- a/modules/desktop/home/terminal.nix +++ b/modules/desktop/home/terminal.nix @@ -4,7 +4,6 @@ enable = true; font.size = 12; font.name = "Departure Mono Nerd Font"; - shellIntegration.enableFishIntegration = false; keybindings = { "ctrl+shift+n" = "new_os_window_with_cwd"; }; diff --git a/modules/editors/helix/default.nix b/modules/editors/helix/default.nix index e75c477..99170c7 100644 --- a/modules/editors/helix/default.nix +++ b/modules/editors/helix/default.nix @@ -105,6 +105,13 @@ }; }; language = [ + { + name = "gleam"; + language-servers = [ + "gleam" + "discord-presence-lsp" + ]; + } { name = "nu"; language-servers = [ diff --git a/modules/net/hosts.nix b/modules/net/hosts.nix index 20333f7..c71569c 100644 --- a/modules/net/hosts.nix +++ b/modules/net/hosts.nix @@ -1,26 +1,31 @@ -{ ... }: +{ lib, ... }: +let + domains = [ + "tiktok.com" + "twitter.com" + "instagram.com" + "facebook.com" + "snapchat.com" + # "youtube.com" + + "google-analytics.com" + "stats.g.doubleclick.net" + "googleadservices.com" + "googletagmanager.com" + "googletagservices.com" + "googlesyndication.com" + ]; + prefixes = [ + "www." + "" + ]; +in { - networking.hosts = { - "127.0.0.1" = [ - "www.tiktok.com" - "www.twitter.com" - "www.instagram.com" - "www.facebook.com" - "www.snapchat.com" - - "tiktok.com" - "twitter.com" - "instagram.com" - "facebook.com" - "snapchat.com" - "lovense.com" - - "google-analytics.com" - "stats.g.doubleclick.net" - "googleadservices.com" - "googletagmanager.com" - "googletagservices.com" - "googlesyndication.com" - ]; - }; + networking.hosts = + let + withPrefixes = prefixes |> map (prefix: map (domain: prefix + domain) domains) |> lib.flatten; + in + { + "127.0.0.1" = withPrefixes; + }; } diff --git a/modules/shell/btop.nix b/modules/shell/btop.nix index 39b96dc..8f3c6c5 100644 --- a/modules/shell/btop.nix +++ b/modules/shell/btop.nix @@ -1,22 +1,18 @@ -{ ... }: +{ pkgs, ... }: { - home-manager.users.jade = - { pkgs, ... }: - { - programs.btop = { - enable = true; - package = pkgs.btop-rocm; - settings = { - shown_boxes = "cpu mem net proc gpu0"; - color_theme = "gruvbox_dark"; - vim_keys = true; - proc_per_core = true; - proc_filter_kernel = true; - proc_aggregate = true; - cpu_graph_upper = "total"; - cpu_graph_lower = "user"; - update_ms = 500; - }; - }; + programs.btop = { + enable = true; + package = pkgs.btop-rocm; + settings = { + shown_boxes = "cpu mem net proc gpu0"; + color_theme = "gruvbox_dark"; + vim_keys = true; + proc_per_core = true; + proc_filter_kernel = true; + proc_aggregate = true; + cpu_graph_upper = "total"; + cpu_graph_lower = "user"; + update_ms = 500; }; + }; } diff --git a/modules/shell/default.nix b/modules/shell/default.nix index 8db99b2..101833f 100644 --- a/modules/shell/default.nix +++ b/modules/shell/default.nix @@ -1,19 +1,23 @@ { pkgs, ... }: { imports = [ - ./nu.nix - ./starship.nix ./tty.nix - ./git.nix - ./mprocs.nix - ./btop.nix ./sudo.nix ]; programs.mosh.enable = true; programs.bat.enable = true; + environment.systemPackages = [ pkgs.nushell ]; home-manager.users.jade = { ... }: { + imports = [ + ./btop.nix + ./mprocs.nix + ./git.nix + ./starship.nix + ./nu.nix + ./elvish.nix + ]; programs.broot = { enable = true; settings = { @@ -33,5 +37,6 @@ }; }; - users.defaultUserShell = pkgs.nushell; + # TODO: Proper switch + users.defaultUserShell = pkgs.elvish; } diff --git a/modules/shell/elvish.nix b/modules/shell/elvish.nix new file mode 100644 index 0000000..832a0b7 --- /dev/null +++ b/modules/shell/elvish.nix @@ -0,0 +1,8 @@ +{ ... }: +{ + xdg.configFile."elvish" = { + recursive = true; + executable = true; + source = ./elvish; + }; +} diff --git a/modules/shell/elvish/lib/direnv.elv b/modules/shell/elvish/lib/direnv.elv new file mode 100644 index 0000000..15babb0 --- /dev/null +++ b/modules/shell/elvish/lib/direnv.elv @@ -0,0 +1,18 @@ +## hook for direnv +set @edit:before-readline = $@edit:before-readline { + try { + var m = [("/nix/store/kv03kmfwkinhv4ar2hvh79jfkm1n5id5-direnv-2.37.1/bin/direnv" export elvish | from-json)] + if (> (count $m) 0) { + set m = (all $m) + keys $m | each { |k| + if $m[$k] { + set-env $k $m[$k] + } else { + unset-env $k + } + } + } + } catch e { + echo $e + } +} diff --git a/modules/shell/elvish/rc.elv b/modules/shell/elvish/rc.elv new file mode 100644 index 0000000..6732ffe --- /dev/null +++ b/modules/shell/elvish/rc.elv @@ -0,0 +1,28 @@ +# + +fn gnix {|@a| cd ~/nix-configs $@a } +fn grepo {|@a| cd ~/Documents/repos $@a } +fn wh {|@a| wormhole-rs $@a } + +fn gc {|@a| git commit $@a } +fn gca {|@a| git commit --all $@a } +fn gp {|@a| git push $@a } +fn gl {|@a| git pull $@a } +fn gs {|@a| git status $@a } + +fn cr {|@a| cargo run $@a } +fn cl {|@a| cargo clippy $@a } +fn cb {|@a| cargo build $@a } +fn cch {|@a| cargo check $@a } + +fn jb {|@a| just build $@a } + +fn px {|@a| pulsemixer $@a } + +fn guni {|@a| cd ~/Docs/uni $@a } + +fn juts {|@a| just $@a } + +# + +use direnv diff --git a/modules/shell/git.nix b/modules/shell/git.nix index f0315df..fbccfe7 100644 --- a/modules/shell/git.nix +++ b/modules/shell/git.nix @@ -5,51 +5,43 @@ ... }: { - home-manager.users.jade = - { - pkgs, - config, - ... - }: - { - programs.git = { - enable = true; - settings = { - user = { - name = "Schrottkatze"; - email = "git@schrottkatze.de"; - }; - }; - signing = { - format = "ssh"; - key = lib.mkDefault "${pkgs.writeText "blue_nk3.pub" "SHA256:h7d9+w4uACtz63L/MI7B1oB3fYxh8u+q6bs+SsSTKzY ssh:"}"; - signByDefault = true; - }; - }; - programs.jujutsu = { - enable = true; - settings = { - user = { - name = config.programs.git.userName; - email = config.programs.git.userEmail; - }; - }; - }; - programs.gitui = { - enable = true; - keyConfig = '' - ( - move_left: Some(( code: Char('h'), modifiers: "")), - move_right: Some(( code: Char('l'), modifiers: "")), - move_up: Some(( code: Char('k'), modifiers: "")), - move_down: Some(( code: Char('j'), modifiers: "")), - - stash_open: Some(( code: Char('l'), modifiers: "")), - open_help: Some(( code: F(1), modifiers: "")), - - status_reset_item: Some(( code: Char('U'), modifiers: "SHIFT")), - ) - ''; + programs.git = { + enable = true; + settings = { + user = { + name = "Schrottkatze"; + email = "git@schrottkatze.de"; }; }; + signing = { + format = "ssh"; + key = lib.mkDefault "${pkgs.writeText "blue_nk3.pub" "SHA256:h7d9+w4uACtz63L/MI7B1oB3fYxh8u+q6bs+SsSTKzY ssh:"}"; + signByDefault = true; + }; + }; + programs.jujutsu = { + enable = true; + settings = { + user = { + name = config.programs.git.userName; + email = config.programs.git.userEmail; + }; + }; + }; + programs.gitui = { + enable = true; + keyConfig = '' + ( + move_left: Some(( code: Char('h'), modifiers: "")), + move_right: Some(( code: Char('l'), modifiers: "")), + move_up: Some(( code: Char('k'), modifiers: "")), + move_down: Some(( code: Char('j'), modifiers: "")), + + stash_open: Some(( code: Char('l'), modifiers: "")), + open_help: Some(( code: F(1), modifiers: "")), + + status_reset_item: Some(( code: Char('U'), modifiers: "SHIFT")), + ) + ''; + }; } diff --git a/modules/shell/mprocs.nix b/modules/shell/mprocs.nix index 1a7a401..b087fff 100644 --- a/modules/shell/mprocs.nix +++ b/modules/shell/mprocs.nix @@ -1,31 +1,23 @@ -{ ... }: +{ pkgs, ... }: { - home-manager.users.jade = - { - pkgs, - lib, - ... - }: - { - home = { - packages = [ pkgs.mprocs ]; + home = { + packages = [ pkgs.mprocs ]; + }; + xdg.configFile."mprocs/mprocs.yaml" = { + text = builtins.toJSON { + proc_list_width = 15; + keymap_procs = { + "" = { + c = "toggle-focus"; + }; }; - xdg.configFile."mprocs/mprocs.yaml" = { - text = builtins.toJSON { - proc_list_width = 15; - keymap_procs = { - "" = { - c = "toggle-focus"; - }; - }; - keymap_term = { - "" = null; - # Ctrl-m so it doesnt overlap with zellij or helix - "" = { - c = "toggle-focus"; - }; - }; + keymap_term = { + "" = null; + # Ctrl-m so it doesnt overlap with zellij or helix + "" = { + c = "toggle-focus"; }; }; }; + }; } diff --git a/modules/shell/nu.nix b/modules/shell/nu.nix index 521a300..bcf3e9e 100644 --- a/modules/shell/nu.nix +++ b/modules/shell/nu.nix @@ -1,46 +1,42 @@ -{ config, ... }: +{ pkgs, ... }: { - home-manager.users.jade = - { pkgs, ... }: - { - # Needed for nu_scripts background_task - services.pueue = { - enable = true; - settings = { - shared = { - use_unix_socket = true; - }; - }; + # Needed for nu_scripts background_task + services.pueue = { + enable = true; + settings = { + shared = { + use_unix_socket = true; }; - home.packages = [ - pkgs.pueue - ]; - home.file."shell-startup" = { - source = ./nu/shell-startup.nu; - target = ".config/nushell/shell-startup.nu"; - }; - programs.nushell = { - enable = true; - package = config.users.defaultUserShell; - configFile.source = ./nu/config.nu; - envFile.source = ./nu/env.nu; - extraConfig = '' - plugin add ${pkgs.nushellPlugins.query}/bin/nu_plugin_query; - plugin add ${pkgs.nushellPlugins.polars}/bin/nu_plugin_polars; - plugin add ${pkgs.nushellPlugins.formats}/bin/nu_plugin_formats; - - plugin use query; - plugin use polars; - plugin use formats; - - source ${./nu/custom_commands.nu}; - source ${./nu/aliases.nu}; - nu ${./nu/shell-startup.nu}; - ''; - extraEnv = ''''; - }; - # programs.starship.enableNushellIntegration = true; - programs.carapace.enableNushellIntegration = true; - programs.direnv.enableNushellIntegration = true; }; + }; + home.packages = [ + pkgs.pueue + ]; + home.file."shell-startup" = { + source = ./nu/shell-startup.nu; + target = ".config/nushell/shell-startup.nu"; + }; + programs.nushell = { + enable = false; + # package = config.users.defaultUserShell; + configFile.source = ./nu/config.nu; + envFile.source = ./nu/env.nu; + extraConfig = '' + plugin add ${pkgs.nushellPlugins.query}/bin/nu_plugin_query; + plugin add ${pkgs.nushellPlugins.polars}/bin/nu_plugin_polars; + plugin add ${pkgs.nushellPlugins.formats}/bin/nu_plugin_formats; + + plugin use query; + plugin use polars; + plugin use formats; + + source ${./nu/custom_commands.nu}; + source ${./nu/aliases.nu}; + nu ${./nu/shell-startup.nu}; + ''; + extraEnv = ""; + }; + # programs.starship.enableNushellIntegration = true; + programs.carapace.enableNushellIntegration = true; + programs.direnv.enableNushellIntegration = true; } diff --git a/modules/shell/nu/aliases.nu b/modules/shell/nu/aliases.nu index 16ee547..80c4786 100644 --- a/modules/shell/nu/aliases.nu +++ b/modules/shell/nu/aliases.nu @@ -1,16 +1,8 @@ -alias gnix = cd ~/nix-configs; -alias grepo = cd ~/Documents/repos; -alias wh = wormhole-rs; alias b = broot; alias gg = gitui; alias ga = git add; -alias gc = git commit; -alias gca = git commit --all; -alias gp = git push; -alias gl = git pull; -alias gs = git status; alias clip = xclip -selection c; alias cr = cargo run; diff --git a/modules/shell/starship.nix b/modules/shell/starship.nix index 8cf92c5..04b6df6 100644 --- a/modules/shell/starship.nix +++ b/modules/shell/starship.nix @@ -1,44 +1,40 @@ { ... }: { - home-manager.users.jade = - { pkgs, ... }: - { - programs.starship = { - enable = true; - enableNushellIntegration = false; - settings = { - format = "$all$directory$character"; - character = { - success_symbol = "[\\$](green)"; - error_symbol = "[X](red)"; - }; - git_branch = { - format = "\\[[$symbol$branch]($style)\\]"; - symbol = " "; - }; - git_status = { - format = "([\\[$all_status$ahead_behind\\]]($style))"; - }; - haskell = { - format = "\\[[$symbol($version)]($style)\\]"; - symbol = " "; - }; - cmd_duration = { - format = "\\[[⏱ $duration]($style)\\]"; - }; - nix_shell = { - format = "\\[[$symbol$state( \\($name\\))]($style)\\]"; - symbol = " "; - }; - rust = { - format = "\\[[$symbol($version)]($style)\\]"; - symbol = " "; - }; - package = { - format = "\\[[$symbol$version]($style)\\]"; - symbol = " "; - }; - }; + programs.starship = { + enable = true; + enableNushellIntegration = false; + settings = { + format = "$all$directory$character"; + character = { + success_symbol = "[\\$](green)"; + error_symbol = "[X](red)"; + }; + git_branch = { + format = "\\[[$symbol$branch]($style)\\]"; + symbol = " "; + }; + git_status = { + format = "([\\[$all_status$ahead_behind\\]]($style))"; + }; + haskell = { + format = "\\[[$symbol($version)]($style)\\]"; + symbol = " "; + }; + cmd_duration = { + format = "\\[[⏱ $duration]($style)\\]"; + }; + nix_shell = { + format = "\\[[$symbol$state( \\($name\\))]($style)\\]"; + symbol = " "; + }; + rust = { + format = "\\[[$symbol($version)]($style)\\]"; + symbol = " "; + }; + package = { + format = "\\[[$symbol$version]($style)\\]"; + symbol = " "; }; }; + }; }