aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiran Bastaja <miran.bastaja04@gmail.com>2023-11-05 21:06:28 +0100
committerMiran Bastaja <miran.bastaja04@gmail.com>2023-11-05 21:06:28 +0100
commit3f2f23bbd3ef823ac863159ec8c4441aca6d67e5 (patch)
tree840ffb6aa008ba06444398ca9d27837897630e34
parent03270487d6b04d6c0c8c7bf3f0badccf6f0b5934 (diff)
Add personal scripts
Add personal scripts as flake input and add the image-move script to wonderland's desktop packages.
-rw-r--r--flake.lock27
-rw-r--r--flake.nix6
-rw-r--r--hosts/wonderland/home.nix3
3 files changed, 36 insertions, 0 deletions
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