diff --git a/configurations/home/srid@vixen.nix b/configurations/home/srid@vixen.nix index 4882510..e3689c6 100644 --- a/configurations/home/srid@vixen.nix +++ b/configurations/home/srid@vixen.nix @@ -19,6 +19,7 @@ in "${homeMod}/all/terminal.nix" "${homeMod}/all/juspay-vertex.nix" "${homeMod}/all/1password.nix" + "${homeMod}/all/obsidian.nix" # Remote builders # "${homeMod}/all/buildMachines" diff --git a/flake.lock b/flake.lock index 6637196..1cd87d2 100644 --- a/flake.lock +++ b/flake.lock @@ -60,6 +60,29 @@ } }, "co-log-effectful": { + "inputs": { + "devshell": "devshell", + "flake-parts": "flake-parts_3", + "haskell-flake": "haskell-flake_2", + "nixpkgs": "nixpkgs_3", + "pre-commit-hooks-nix": "pre-commit-hooks-nix", + "treefmt-nix": "treefmt-nix" + }, + "locked": { + "lastModified": 1738358259, + "narHash": "sha256-V+JiNh+GY4OC+uEp4AeX6wYMzsj5JJAqnrraXn1T8kg=", + "owner": "eldritch-cookie", + "repo": "co-log-effectful", + "rev": "be451264f0637804368fba1751ed7bc8606eefc6", + "type": "github" + }, + "original": { + "owner": "eldritch-cookie", + "repo": "co-log-effectful", + "type": "github" + } + }, + "co-log-effectful_2": { "flake": false, "locked": { "lastModified": 1738358259, @@ -75,6 +98,72 @@ "type": "github" } }, + "commonmark-simple": { + "flake": false, + "locked": { + "lastModified": 1755566927, + "narHash": "sha256-2WE5SjwgwjKdsHxDRfQIb2WRrVYoNPiCIyG4HZd8Znk=", + "owner": "srid", + "repo": "commonmark-simple", + "rev": "81dc7a66b2490a701bfc87e6e892307665e6336e", + "type": "github" + }, + "original": { + "owner": "srid", + "ref": "0.2.0.0", + "repo": "commonmark-simple", + "type": "github" + } + }, + "commonmark-simple_2": { + "flake": false, + "locked": { + "lastModified": 1755566927, + "narHash": "sha256-2WE5SjwgwjKdsHxDRfQIb2WRrVYoNPiCIyG4HZd8Znk=", + "owner": "srid", + "repo": "commonmark-simple", + "rev": "81dc7a66b2490a701bfc87e6e892307665e6336e", + "type": "github" + }, + "original": { + "owner": "srid", + "repo": "commonmark-simple", + "type": "github" + } + }, + "commonmark-wikilink": { + "flake": false, + "locked": { + "lastModified": 1755567049, + "narHash": "sha256-MWOb0Ojc4EQd9fOnQEveRDdbH5Cr6kjUt04uWzBPLGQ=", + "owner": "srid", + "repo": "commonmark-wikilink", + "rev": "5ab01515939047b58943cc1234e7ee0cb82d1c22", + "type": "github" + }, + "original": { + "owner": "srid", + "ref": "0.2.0.0", + "repo": "commonmark-wikilink", + "type": "github" + } + }, + "commonmark-wikilink_2": { + "flake": false, + "locked": { + "lastModified": 1755567049, + "narHash": "sha256-MWOb0Ojc4EQd9fOnQEveRDdbH5Cr6kjUt04uWzBPLGQ=", + "owner": "srid", + "repo": "commonmark-wikilink", + "rev": "5ab01515939047b58943cc1234e7ee0cb82d1c22", + "type": "github" + }, + "original": { + "owner": "srid", + "repo": "commonmark-wikilink", + "type": "github" + } + }, "darwin": { "inputs": { "nixpkgs": [ @@ -113,6 +202,28 @@ "type": "github" } }, + "devshell": { + "inputs": { + "nixpkgs": [ + "imako", + "co-log-effectful", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1735644329, + "narHash": "sha256-tO3HrHriyLvipc4xr+Ewtdlo7wM1OjXNjlWRgmM7peY=", + "owner": "numtide", + "repo": "devshell", + "rev": "f7795ede5b02664b57035b3b757876703e2c3eac", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "devshell", + "type": "github" + } + }, "disko": { "inputs": { "nixpkgs": [ @@ -149,6 +260,23 @@ "type": "github" } }, + "ema": { + "flake": false, + "locked": { + "lastModified": 1753226458, + "narHash": "sha256-vDhjw+Cm7HniaiIHirwM0B2yzzLYLO3HHMaZsQRL3uw=", + "owner": "srid", + "repo": "ema", + "rev": "7ff434cf8f494c62de7fe6c1a36d8681929beb93", + "type": "github" + }, + "original": { + "owner": "srid", + "ref": "0.12.0.0", + "repo": "ema", + "type": "github" + } + }, "emacs-overlay": { "inputs": { "nixpkgs": [ @@ -172,7 +300,90 @@ "type": "github" } }, + "emanote": { + "inputs": { + "commonmark-simple": "commonmark-simple", + "commonmark-wikilink": "commonmark-wikilink", + "ema": "ema", + "emanote-template": "emanote-template", + "flake-parts": "flake-parts", + "fourmolu-nix": "fourmolu-nix", + "git-hooks": "git-hooks", + "haskell-flake": "haskell-flake", + "heist-extra": "heist-extra", + "lvar": "lvar", + "nixos-unified": "nixos-unified", + "nixpkgs": "nixpkgs_2", + "unionmount": "unionmount" + }, + "locked": { + "lastModified": 1763480312, + "narHash": "sha256-HffN+5HUcDNL5rZmAU9DRguwI3kcyUmkKRg+RFSoQu8=", + "owner": "srid", + "repo": "emanote", + "rev": "13c0099e07875164dcaef660fc77f4e7221cada2", + "type": "github" + }, + "original": { + "owner": "srid", + "repo": "emanote", + "type": "github" + } + }, + "emanote-template": { + "flake": false, + "locked": { + "lastModified": 1745726040, + "narHash": "sha256-cLL9ylGe1OoN/KSX7+FRW3j8rm5iPTCleOJGSdOfdE0=", + "owner": "srid", + "repo": "emanote-template", + "rev": "1475b182fc136fc5da3a3b3e2b9be90795af19bb", + "type": "github" + }, + "original": { + "owner": "srid", + "repo": "emanote-template", + "type": "github" + } + }, + "flake-compat": { + "flake": false, + "locked": { + "lastModified": 1696426674, + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, "flake-parts": { + "inputs": { + "nixpkgs-lib": [ + "emanote", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1751413152, + "narHash": "sha256-Tyw1RjYEsp5scoigs1384gIg6e0GoBVjms4aXFfRssQ=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "77826244401ea9de6e3bac47c2db46005e1f30b5", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_2": { "inputs": { "nixpkgs-lib": "nixpkgs-lib" }, @@ -190,7 +401,50 @@ "type": "github" } }, - "flake-parts_2": { + "flake-parts_3": { + "inputs": { + "nixpkgs-lib": [ + "imako", + "co-log-effectful", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1736143030, + "narHash": "sha256-+hu54pAoLDEZT9pjHlqL9DNzWz0NbUn8NEAHP7PQPzU=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "b905f6fc23a9051a6e1b741e1438dbfc0634c6de", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_4": { + "inputs": { + "nixpkgs-lib": [ + "imako", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1756770412, + "narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "4524271976b625a4a605beefd893f270620fd751", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_5": { "inputs": { "nixpkgs-lib": [ "nixvim", @@ -211,7 +465,7 @@ "type": "github" } }, - "flake-parts_3": { + "flake-parts_6": { "inputs": { "nixpkgs-lib": "nixpkgs-lib_2" }, @@ -229,7 +483,7 @@ "type": "github" } }, - "flake-parts_4": { + "flake-parts_7": { "inputs": { "nixpkgs-lib": [ "vira", @@ -319,7 +573,53 @@ "type": "github" } }, + "fourmolu-nix_2": { + "locked": { + "lastModified": 1707266073, + "narHash": "sha256-tCFzZQJicDdYjnuJiNK4hiiRAH7c2wQzMhOCdUMbVKE=", + "owner": "jedimahdi", + "repo": "fourmolu-nix", + "rev": "717f5a91b0d7b97b1be7ecc3a0fd42d37ffe1c9b", + "type": "github" + }, + "original": { + "owner": "jedimahdi", + "repo": "fourmolu-nix", + "type": "github" + } + }, + "fourmolu-nix_3": { + "locked": { + "lastModified": 1707266073, + "narHash": "sha256-tCFzZQJicDdYjnuJiNK4hiiRAH7c2wQzMhOCdUMbVKE=", + "owner": "jedimahdi", + "repo": "fourmolu-nix", + "rev": "717f5a91b0d7b97b1be7ecc3a0fd42d37ffe1c9b", + "type": "github" + }, + "original": { + "owner": "jedimahdi", + "repo": "fourmolu-nix", + "type": "github" + } + }, "git-hooks": { + "flake": false, + "locked": { + "lastModified": 1748731907, + "narHash": "sha256-KVgK2PB1h5RNhHJzGn090XcW1i9Mq0FVh6qTVKsg2RU=", + "owner": "bmrips", + "repo": "git-hooks.nix", + "rev": "2749fc9197fd12231746ef685225eaf85fe087fd", + "type": "github" + }, + "original": { + "owner": "bmrips", + "repo": "git-hooks.nix", + "type": "github" + } + }, + "git-hooks_2": { "flake": false, "locked": { "lastModified": 1732021966, @@ -335,7 +635,23 @@ "type": "github" } }, - "git-hooks_2": { + "git-hooks_3": { + "flake": false, + "locked": { + "lastModified": 1758108966, + "narHash": "sha256-ytw7ROXaWZ7OfwHrQ9xvjpUWeGVm86pwnEd1QhzawIo=", + "owner": "cachix", + "repo": "git-hooks.nix", + "rev": "54df955a695a84cd47d4a43e08e1feaf90b1fd9b", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "git-hooks.nix", + "type": "github" + } + }, + "git-hooks_4": { "flake": false, "locked": { "lastModified": 1748731907, @@ -366,7 +682,75 @@ "type": "github" } }, + "gitignore": { + "inputs": { + "nixpkgs": [ + "imako", + "co-log-effectful", + "pre-commit-hooks-nix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1709087332, + "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", + "owner": "hercules-ci", + "repo": "gitignore.nix", + "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "gitignore.nix", + "type": "github" + } + }, "haskell-flake": { + "locked": { + "lastModified": 1752499668, + "narHash": "sha256-Yif99ho8GNgXP0l9vxPHCKi7X16Cf7rwVd+HW1cMVeQ=", + "owner": "srid", + "repo": "haskell-flake", + "rev": "39065472d2587af93a502423276bfb98c2c6fb09", + "type": "github" + }, + "original": { + "owner": "srid", + "repo": "haskell-flake", + "type": "github" + } + }, + "haskell-flake_2": { + "locked": { + "lastModified": 1737903979, + "narHash": "sha256-NL9+FkAzmU/zVy7EQUj13s/+FjX2Mcz6ID7dW1j32Xg=", + "owner": "srid", + "repo": "haskell-flake", + "rev": "3bc6fe9793bf1239a335f9439f0be66c964df1a3", + "type": "github" + }, + "original": { + "owner": "srid", + "repo": "haskell-flake", + "type": "github" + } + }, + "haskell-flake_3": { + "locked": { + "lastModified": 1757958175, + "narHash": "sha256-5JZMbyhI5qUTYDTpbJ1Tb7mmIcjXKd2gSTs75dMOWMk=", + "owner": "srid", + "repo": "haskell-flake", + "rev": "6df12c6bbf5af89edea64184a62d08db9c92d43d", + "type": "github" + }, + "original": { + "owner": "srid", + "repo": "haskell-flake", + "type": "github" + } + }, + "haskell-flake_4": { "locked": { "lastModified": 1761850356, "narHash": "sha256-K1L7vq25E0JdbBqjtheC75wxEZEeOjeXHmdbOwlzvW4=", @@ -381,6 +765,23 @@ "type": "github" } }, + "heist-extra": { + "flake": false, + "locked": { + "lastModified": 1755566620, + "narHash": "sha256-J/AmooFxQkFas0qWe2rxWJw9vTzG56nX22grUDMw9Oc=", + "owner": "srid", + "repo": "heist-extra", + "rev": "ee59ac1bd98ef90a902158b46401b66f4a3aad3b", + "type": "github" + }, + "original": { + "owner": "srid", + "ref": "0.4.0.0", + "repo": "heist-extra", + "type": "github" + } + }, "hint-nix": { "flake": false, "locked": { @@ -471,6 +872,71 @@ "type": "github" } }, + "htmx-extensions_2": { + "flake": false, + "locked": { + "lastModified": 1740062719, + "narHash": "sha256-KW8ahQdu1pevghnKNL+Idie2o6TtKlUqwES2kpmqOVs=", + "owner": "juspay", + "repo": "htmx-extensions", + "rev": "0f7b0b569651c259af0fa81d78530f0f540d709b", + "type": "github" + }, + "original": { + "owner": "juspay", + "ref": "sse-unload", + "repo": "htmx-extensions", + "type": "github" + } + }, + "htmx_2": { + "flake": false, + "locked": { + "lastModified": 1730661957, + "narHash": "sha256-ce3CVJVmY5240qyEt2W0Q3HUeMAKP6IQwxtIO+zDzAs=", + "owner": "JonathanLorimer", + "repo": "htmx", + "rev": "a9592b2627a75f522cd710d6bcfb7670a4a587dd", + "type": "github" + }, + "original": { + "owner": "JonathanLorimer", + "repo": "htmx", + "type": "github" + } + }, + "imako": { + "inputs": { + "co-log-effectful": "co-log-effectful", + "commonmark-simple": "commonmark-simple_2", + "commonmark-wikilink": "commonmark-wikilink_2", + "flake-parts": "flake-parts_4", + "fourmolu-nix": "fourmolu-nix_2", + "git-hooks": "git-hooks_3", + "haskell-flake": "haskell-flake_3", + "htmx": "htmx", + "htmx-extensions": "htmx-extensions", + "lvar": "lvar_2", + "nixos-unified": "nixos-unified_2", + "nixpkgs": "nixpkgs_4", + "servant-event-stream": "servant-event-stream", + "tabler-icons": "tabler-icons", + "unionmount": "unionmount_2" + }, + "locked": { + "lastModified": 1762538008, + "narHash": "sha256-yifOO9/tAL+zX+e2u0rraqaDKcWbIfwKdL7ZWXFkDuk=", + "owner": "srid", + "repo": "imako", + "rev": "3f351f17da7a164183ddd38c5d794f8af706c3a4", + "type": "github" + }, + "original": { + "owner": "srid", + "repo": "imako", + "type": "github" + } + }, "ixx": { "inputs": { "flake-utils": [ @@ -514,13 +980,46 @@ "type": "github" } }, + "lvar": { + "flake": false, + "locked": { + "lastModified": 1753226155, + "narHash": "sha256-Uwg5s0SlxLp83bXHA+6TIQV+L+lu8lwMpBdNuiuk7hg=", + "owner": "srid", + "repo": "lvar", + "rev": "cd110d4823ee7b8bbbf115a47c79bc304c3309cd", + "type": "github" + }, + "original": { + "owner": "srid", + "ref": "0.2.0.0", + "repo": "lvar", + "type": "github" + } + }, + "lvar_2": { + "flake": false, + "locked": { + "lastModified": 1756579735, + "narHash": "sha256-ApkFfqFFOL5NlqrIJQXYHQp7oNL9jl+bOKLBVotTW2I=", + "owner": "srid", + "repo": "lvar", + "rev": "c35ed20233b169187e0543406e4a372444ee0db4", + "type": "github" + }, + "original": { + "owner": "srid", + "repo": "lvar", + "type": "github" + } + }, "nix-ai-tools": { "inputs": { "blueprint": "blueprint", "nixpkgs": [ "nixpkgs" ], - "treefmt-nix": "treefmt-nix" + "treefmt-nix": "treefmt-nix_2" }, "locked": { "lastModified": 1763395921, @@ -647,11 +1146,11 @@ }, "nixos-unified": { "locked": { - "lastModified": 1759258942, - "narHash": "sha256-2DAU2nkJTw54BCSOSinX1C43IWPyTKCkXOyq1wQ+9Ko=", + "lastModified": 1751174231, + "narHash": "sha256-OLPo3ZI/gKH0C6P6l2W9RYm1ow/Jl4qBrasQ3rjAA0E=", "owner": "srid", "repo": "nixos-unified", - "rev": "aa19b27d29e74a510774ba3f7f6f633bcb053416", + "rev": "05eb3d59d3b48460ea01c419702d4fc0c3210805", "type": "github" }, "original": { @@ -675,10 +1174,40 @@ "type": "github" } }, + "nixos-unified_3": { + "locked": { + "lastModified": 1759258942, + "narHash": "sha256-2DAU2nkJTw54BCSOSinX1C43IWPyTKCkXOyq1wQ+9Ko=", + "owner": "srid", + "repo": "nixos-unified", + "rev": "aa19b27d29e74a510774ba3f7f6f633bcb053416", + "type": "github" + }, + "original": { + "owner": "srid", + "repo": "nixos-unified", + "type": "github" + } + }, + "nixos-unified_4": { + "locked": { + "lastModified": 1754753812, + "narHash": "sha256-sYZLY+hsaMzz3gsYdwHA7conki3H8zSl43YH2xWnKBc=", + "owner": "srid", + "repo": "nixos-unified", + "rev": "4a5e3c33c6177237a27902d3fa4d845448d48e2b", + "type": "github" + }, + "original": { + "owner": "srid", + "repo": "nixos-unified", + "type": "github" + } + }, "nixos-vscode-server": { "inputs": { "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs_2" + "nixpkgs": "nixpkgs_5" }, "locked": { "lastModified": 1684517665, @@ -738,6 +1267,54 @@ } }, "nixpkgs_2": { + "locked": { + "lastModified": 1752900028, + "narHash": "sha256-dPALCtmik9Wr14MGqVXm+OQcv7vhPBXcWNIOThGnB/Q=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "6b4955211758ba47fac850c040a27f23b9b4008f", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_3": { + "locked": { + "lastModified": 1738264807, + "narHash": "sha256-6x6WLFwoLdR3w3FYtCnLye2Xe32SqsL7Zf0jpa5wJMM=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "93f6e8d16bc5653505d0165ccec7b667690f7071", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "haskell-updates", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_4": { + "locked": { + "lastModified": 1758029226, + "narHash": "sha256-TjqVmbpoCqWywY9xIZLTf6ANFvDCXdctCjoYuYPYdMI=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "08b8f92ac6354983f5382124fef6006cade4a1c1", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_5": { "locked": { "lastModified": 1682526928, "narHash": "sha256-2cKh4O6t1rQ8Ok+v16URynmb0rV7oZPEbXkU0owNLQs=", @@ -750,7 +1327,7 @@ "type": "indirect" } }, - "nixpkgs_3": { + "nixpkgs_6": { "locked": { "lastModified": 1757014016, "narHash": "sha256-i+/3jrkW5j4BHWMuZ7+GP36bW6KltMdZipzWiYZO8HY=", @@ -766,7 +1343,7 @@ "type": "github" } }, - "nixpkgs_4": { + "nixpkgs_7": { "locked": { "lastModified": 1701436327, "narHash": "sha256-tRHbnoNI8SIM5O5xuxOmtSLnswEByzmnQcGGyNRjxsE=", @@ -780,7 +1357,7 @@ "url": "https://flakehub.com/f/NixOS/nixpkgs/0.1.%2A.tar.gz" } }, - "nixpkgs_5": { + "nixpkgs_8": { "locked": { "lastModified": 1755577059, "narHash": "sha256-5hYhxIpco8xR+IpP3uU56+4+Bw7mf7EMyxS/HqUYHQY=", @@ -796,7 +1373,7 @@ "type": "github" } }, - "nixpkgs_6": { + "nixpkgs_9": { "locked": { "lastModified": 1760349414, "narHash": "sha256-W4Ri1ZwYuNcBzqQQa7NnWfrv0wHMo7rduTWjIeU9dZk=", @@ -814,7 +1391,7 @@ }, "nixvim": { "inputs": { - "flake-parts": "flake-parts_2", + "flake-parts": "flake-parts_5", "nixpkgs": [ "nixpkgs" ], @@ -837,7 +1414,7 @@ }, "nuenv": { "inputs": { - "nixpkgs": "nixpkgs_4", + "nixpkgs": "nixpkgs_7", "rust-overlay": "rust-overlay" }, "locked": { @@ -878,6 +1455,30 @@ "type": "github" } }, + "pre-commit-hooks-nix": { + "inputs": { + "flake-compat": "flake-compat", + "gitignore": "gitignore", + "nixpkgs": [ + "imako", + "co-log-effectful", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1737465171, + "narHash": "sha256-R10v2hoJRLq8jcL4syVFag7nIGE7m13qO48wRIukWNg=", + "owner": "cachix", + "repo": "pre-commit-hooks.nix", + "rev": "9364dc02281ce2d37a1f55b6e51f7c0f65a75f17", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "pre-commit-hooks.nix", + "type": "github" + } + }, "process-compose-flake": { "locked": { "lastModified": 1762286656, @@ -914,19 +1515,21 @@ "AI": "AI", "agenix": "agenix", "disko": "disko", - "flake-parts": "flake-parts", - "git-hooks": "git-hooks", + "emanote": "emanote", + "flake-parts": "flake-parts_2", + "git-hooks": "git-hooks_2", "github-nix-ci": "github-nix-ci", "home-manager": "home-manager_2", + "imako": "imako", "landrun-nix": "landrun-nix", "nix-ai-tools": "nix-ai-tools", "nix-darwin": "nix-darwin", "nix-doom-emacs-unstraightened": "nix-doom-emacs-unstraightened", "nix-index-database": "nix-index-database", "nixos-hardware": "nixos-hardware", - "nixos-unified": "nixos-unified", + "nixos-unified": "nixos-unified_3", "nixos-vscode-server": "nixos-vscode-server", - "nixpkgs": "nixpkgs_3", + "nixpkgs": "nixpkgs_6", "nixvim": "nixvim", "nuenv": "nuenv", "try": "try", @@ -971,6 +1574,22 @@ "type": "github" } }, + "servant-event-stream_2": { + "flake": false, + "locked": { + "lastModified": 1755782458, + "narHash": "sha256-odwdQHMQjwo3np2BH9rNoKLpkdkkInocSbzv/naTH/U=", + "owner": "bflyblue", + "repo": "servant-event-stream", + "rev": "4bd039405c864076407a2b4f1ffe99e29496e942", + "type": "github" + }, + "original": { + "owner": "bflyblue", + "repo": "servant-event-stream", + "type": "github" + } + }, "systems": { "locked": { "lastModified": 1681028828, @@ -1076,6 +1695,22 @@ "type": "github" } }, + "tabler-icons": { + "flake": false, + "locked": { + "lastModified": 1756335210, + "narHash": "sha256-NVOfzoJ792fE6NOlmkbOVRBaEInyujA3dl8sEiydUbg=", + "owner": "juspay", + "repo": "tabler-icons-hs", + "rev": "405c85321d4a9de87f0cea218aa75c5fe5969116", + "type": "github" + }, + "original": { + "owner": "juspay", + "repo": "tabler-icons-hs", + "type": "github" + } + }, "tabler-icons-hs": { "flake": false, "locked": { @@ -1093,6 +1728,28 @@ } }, "treefmt-nix": { + "inputs": { + "nixpkgs": [ + "imako", + "co-log-effectful", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1738070913, + "narHash": "sha256-j6jC12vCFsTGDmY2u1H12lMr62fnclNjuCtAdF1a4Nk=", + "owner": "numtide", + "repo": "treefmt-nix", + "rev": "bebf27d00f7d10ba75332a0541ac43676985dea3", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "treefmt-nix", + "type": "github" + } + }, + "treefmt-nix_2": { "inputs": { "nixpkgs": [ "nix-ai-tools", @@ -1115,8 +1772,8 @@ }, "try": { "inputs": { - "flake-parts": "flake-parts_3", - "nixpkgs": "nixpkgs_5" + "flake-parts": "flake-parts_6", + "nixpkgs": "nixpkgs_8" }, "locked": { "lastModified": 1756813707, @@ -1132,24 +1789,57 @@ "type": "github" } }, + "unionmount": { + "flake": false, + "locked": { + "lastModified": 1755566785, + "narHash": "sha256-1TBIhcgbQxBF48ET7Dy+PM3U2lCROBDVg5PhOtm2Q/M=", + "owner": "srid", + "repo": "unionmount", + "rev": "4387cdeca64d22ff02da318b1527ff8817123ced", + "type": "github" + }, + "original": { + "owner": "srid", + "ref": "0.3.0.0", + "repo": "unionmount", + "type": "github" + } + }, + "unionmount_2": { + "flake": false, + "locked": { + "lastModified": 1755566785, + "narHash": "sha256-1TBIhcgbQxBF48ET7Dy+PM3U2lCROBDVg5PhOtm2Q/M=", + "owner": "srid", + "repo": "unionmount", + "rev": "4387cdeca64d22ff02da318b1527ff8817123ced", + "type": "github" + }, + "original": { + "owner": "srid", + "repo": "unionmount", + "type": "github" + } + }, "vira": { "inputs": { - "co-log-effectful": "co-log-effectful", + "co-log-effectful": "co-log-effectful_2", "devour-flake": "devour-flake", - "flake-parts": "flake-parts_4", - "fourmolu-nix": "fourmolu-nix", - "git-hooks": "git-hooks_2", - "haskell-flake": "haskell-flake", + "flake-parts": "flake-parts_7", + "fourmolu-nix": "fourmolu-nix_3", + "git-hooks": "git-hooks_4", + "haskell-flake": "haskell-flake_4", "hint-nix": "hint-nix", - "htmx": "htmx", - "htmx-extensions": "htmx-extensions", + "htmx": "htmx_2", + "htmx-extensions": "htmx-extensions_2", "nix-serve-ng": "nix-serve-ng", "nix-systems": "nix-systems", - "nixos-unified": "nixos-unified_2", - "nixpkgs": "nixpkgs_6", + "nixos-unified": "nixos-unified_4", + "nixpkgs": "nixpkgs_9", "process-compose-flake": "process-compose-flake", "record-hasfield": "record-hasfield", - "servant-event-stream": "servant-event-stream", + "servant-event-stream": "servant-event-stream_2", "tabler-icons-hs": "tabler-icons-hs", "warp-tls-simple": "warp-tls-simple" }, diff --git a/flake.nix b/flake.nix index 20c2b0e..a592f91 100644 --- a/flake.nix +++ b/flake.nix @@ -41,6 +41,10 @@ nix-doom-emacs-unstraightened.url = "github:marienz/nix-doom-emacs-unstraightened"; nix-doom-emacs-unstraightened.inputs.nixpkgs.follows = "nixpkgs"; + # Emanote & Imako + emanote.url = "github:srid/emanote"; + imako.url = "github:srid/imako"; + # Devshell git-hooks.url = "github:cachix/git-hooks.nix"; git-hooks.flake = false; diff --git a/modules/home/all/obsidian.nix b/modules/home/all/obsidian.nix new file mode 100644 index 0000000..92c8f7a --- /dev/null +++ b/modules/home/all/obsidian.nix @@ -0,0 +1,41 @@ +{ flake, pkgs, lib, config, ... }: + +let + inherit (flake) inputs; + imakoPackage = inputs.imako.packages.${pkgs.system}.default; + myVault = "/home/srid/Dropbox/Vault"; +in +{ + imports = [ + inputs.emanote.homeManagerModule + ]; + + services.emanote = { + enable = true; + notes = [ + myVault + ]; + # port = 7000; + package = inputs.emanote.packages.${pkgs.system}.default; + }; + + # TODO: Upstream as module + # port = 4009 (hardcoded) + systemd.user.services.imako = { + Unit = { + Description = "Imako for Obsidian"; + After = [ "network.target" ]; + }; + + Service = { + Type = "simple"; + ExecStart = "${imakoPackage}/bin/imako ${myVault}"; + # Restart = "always"; + # RestartSec = 5; + }; + + Install = { + WantedBy = [ "default.target" ]; + }; + }; +}