From 3f2f23bbd3ef823ac863159ec8c4441aca6d67e5 Mon Sep 17 00:00:00 2001 From: Miran Bastaja Date: Sun, 5 Nov 2023 21:06:28 +0100 Subject: Add personal scripts Add personal scripts as flake input and add the image-move script to wonderland's desktop packages. --- flake.lock | 27 +++++++++++++++++++++++++++ flake.nix | 6 ++++++ hosts/wonderland/home.nix | 3 +++ 3 files changed, 36 insertions(+) diff --git a/flake.lock b/flake.lock index 51b4e88..5f03af8 100644 --- a/flake.lock +++ b/flake.lock @@ -456,6 +456,7 @@ "hyprland": "hyprland", "nixpkgs": "nixpkgs", "pre-commit-hooks-nix": "pre-commit-hooks-nix", + "scripts": "scripts", "sops-nix": "sops-nix", "treefmt-nix": "treefmt-nix" } @@ -529,6 +530,32 @@ "type": "github" } }, + "scripts": { + "inputs": { + "devshell": [ + "devshell" + ], + "flake-parts": [ + "flake-parts" + ], + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1699204914, + "narHash": "sha256-X854DbLV+p+jLE8JOHPFI5pRQqKh5q2DRpuOoLxwJlI=", + "ref": "refs/heads/main", + "rev": "2fda21c4ae572f2fbce886cdd5b6c3a2cd472a32", + "revCount": 21, + "type": "git", + "url": "https://codeberg.org/miranb/scripts.git" + }, + "original": { + "type": "git", + "url": "https://codeberg.org/miranb/scripts.git" + } + }, "sops-nix": { "inputs": { "nixpkgs": [ diff --git a/flake.nix b/flake.nix index b90039d..978520a 100644 --- a/flake.nix +++ b/flake.nix @@ -36,6 +36,12 @@ url = "github:helix-editor/helix"; inputs.nixpkgs.follows = "nixpkgs"; }; + scripts = { + url = "git+https://codeberg.org/miranb/scripts.git"; + inputs.nixpkgs.follows = "nixpkgs"; + inputs.flake-parts.follows = "flake-parts"; + inputs.devshell.follows = "devshell"; + }; }; outputs = inputs@{ flake-parts, ... }: diff --git a/hosts/wonderland/home.nix b/hosts/wonderland/home.nix index df30740..b57342a 100644 --- a/hosts/wonderland/home.nix +++ b/hosts/wonderland/home.nix @@ -1,5 +1,6 @@ { pkgs , flakeRoot +, inputs , ... }: let @@ -22,7 +23,9 @@ let discord whatsapp-for-linux inkscape + nsxiv + inputs.scripts.packages.${pkgs.system}.image-move wineWowPackages.full winetricks -- cgit v1.3.1