feat(river-shifttags): install package in user environment

This commit is contained in:
Khaïs COLIN 2024-08-09 12:27:35 +02:00
parent fba76fb410
commit 1c458ff079
3 changed files with 27 additions and 3 deletions

View file

@ -558,6 +558,23 @@
"type": "github" "type": "github"
} }
}, },
"river-shifttags": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1,
"narHash": "sha256-m7DC7MqCfT0uwD0BhdLfwyCw8DyKVlf9rAu+g29tmMo=",
"path": "./river-shifttags",
"type": "path"
},
"original": {
"path": "./river-shifttags",
"type": "path"
}
},
"root": { "root": {
"inputs": { "inputs": {
"breezex-cursor": "breezex-cursor", "breezex-cursor": "breezex-cursor",
@ -565,6 +582,7 @@
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"nixvim-flake": "nixvim-flake", "nixvim-flake": "nixvim-flake",
"river-shifttags": "river-shifttags",
"stylix": "stylix" "stylix": "stylix"
} }
}, },

View file

@ -21,9 +21,14 @@
url = "path:./breezex-cursor"; url = "path:./breezex-cursor";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
river-shifttags = {
url = "path:./river-shifttags";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = { nixpkgs, home-manager, nixvim-flake, stylix, breezex-cursor, ... }: outputs = { nixpkgs, home-manager, nixvim-flake, stylix, breezex-cursor, river-shifttags, ... }:
let let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; }; pkgs = import nixpkgs { inherit system; };
@ -44,7 +49,7 @@
./wm/wluma.nix ./wm/wluma.nix
]; ];
extraSpecialArgs = { extraSpecialArgs = {
inherit inputs breezex-cursor system; inherit inputs breezex-cursor system river-shifttags;
}; };
}; };
}; };

View file

@ -1,4 +1,4 @@
{ pkgs, inputs, ... }: let { pkgs, inputs, river-shifttags, ... }: let
username = "khais"; username = "khais";
in { in {
home = { home = {
@ -22,6 +22,7 @@ in {
wl-clipboard wl-clipboard
# wm river utils # wm river utils
swaylock playerctl brightnessctl swaylock playerctl brightnessctl
river-shifttags.packages.${system}.default
# dev tools # dev tools
gitu gitu
# music # music