From 80dd4c217fc9799523c17f8ae6c900b445e0d2bf Mon Sep 17 00:00:00 2001 From: Tomas Rivera Date: Mon, 25 May 2026 17:52:54 +0200 Subject: [PATCH] notewrapper: init flake --- flake.lock | 74 +++++++++++++++++++++++++++++++- flake.nix | 4 ++ modules/utilities/otherUtils.nix | 3 +- 3 files changed, 79 insertions(+), 2 deletions(-) diff --git a/flake.lock b/flake.lock index 2c609ee..4fad51d 100755 --- a/flake.lock +++ b/flake.lock @@ -64,6 +64,24 @@ "type": "github" } }, + "flake-utils": { + "inputs": { + "systems": "systems" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -197,6 +215,44 @@ "type": "github" } }, + "notewrapper": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": [ + "nixpkgs-unstable" + ], + "notewrapper": "notewrapper_2" + }, + "locked": { + "lastModified": 1779722999, + "narHash": "sha256-eFbiK5jLlfcwPzwTf6qqUVizEX9IwIOAdrBr7Vp9XZQ=", + "owner": "tomasriveral", + "repo": "notewrapper", + "rev": "2a09d4ee46edb24f1f9e8359d5a62d5d79865091", + "type": "github" + }, + "original": { + "owner": "tomasriveral", + "repo": "notewrapper", + "type": "github" + } + }, + "notewrapper_2": { + "flake": false, + "locked": { + "lastModified": 1779721342, + "narHash": "sha256-QbRzgD4HoUUemaVCIZ2VfiW+SUjzFY2rL51CLOxQLvk=", + "owner": "tomasriveral", + "repo": "NoteWrapper", + "rev": "e370f98c5ebc3c037dec4e7e35f26230724b70d3", + "type": "github" + }, + "original": { + "owner": "tomasriveral", + "repo": "NoteWrapper", + "type": "github" + } + }, "quickshell": { "inputs": { "nixpkgs": [ @@ -227,7 +283,23 @@ "microPlugins-vivify": "microPlugins-vivify", "nixos-grub-themes": "nixos-grub-themes", "nixpkgs": "nixpkgs_2", - "nixpkgs-unstable": "nixpkgs-unstable" + "nixpkgs-unstable": "nixpkgs-unstable", + "notewrapper": "notewrapper" + } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" } } }, diff --git a/flake.nix b/flake.nix index 6bb3c93..0dd2610 100644 --- a/flake.nix +++ b/flake.nix @@ -9,6 +9,10 @@ url = "github:nix-community/home-manager/release-25.11"; inputs.nixpkgs.follows = "nixpkgs"; }; + notewrapper = { + url = "github:tomasriveral/notewrapper"; + inputs.nixpkgs.follows = "nixpkgs-unstable"; + }; caelestia-shell = { # based on quickshell. See https://github.com/caelestia-dots/shell url = "github:caelestia-dots/shell"; diff --git a/modules/utilities/otherUtils.nix b/modules/utilities/otherUtils.nix index eb34b8a..575afaf 100644 --- a/modules/utilities/otherUtils.nix +++ b/modules/utilities/otherUtils.nix @@ -1,4 +1,4 @@ -{self, ...}: { +{self, inputs, ...}: { flake.nixosModules.otherUtils = # try to keep packages here at a minium. Preferably use a dedicated file { @@ -24,6 +24,7 @@ self.packages.${pkgs.system}.custom-syllabes pkgs-unstable.bitwarden-desktop fluffychat # matrix client + inputs.notewrapper.packages.${pkgs.system}.default ]; }; }