meta: Use separate packages directory

This makes it easier to see all the custom packages in the repository
and reduces the amount of nested directories.
This commit is contained in:
Donovan Glover 2023-06-04 08:50:44 -04:00
parent 711791fcc5
commit f55b5ae2db
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
17 changed files with 7 additions and 14 deletions

View File

@ -6,7 +6,7 @@
environment.systemPackages = with pkgs; [
xfce.exo # Open with kitty support
glib
(pkgs.callPackage ./go-thumbnailer {})
(pkgs.callPackage ../../packages/go-thumbnailer { })
];
services.gvfs.enable = true; # Trash support
services.gnome.gnome-keyring.enable = true; # Mount support

View File

@ -7,7 +7,6 @@
./fcitx5-mozc
./fonts
./hyprland
./nwg-dock
./pipewire
./rofi
./stylix
@ -25,6 +24,7 @@
swww
kickoff
greetd.tuigreet
(pkgs.callPackage ../packages/nwg-dock { })
];
services.greetd = {

View File

@ -1,7 +0,0 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
(pkgs.callPackage ./package {})
];
}

View File

@ -5,8 +5,8 @@
programs.rofi = {
enable = true;
package = (pkgs.callPackage ./package/wrapper.nix {
rofi-unwrapped = (pkgs.callPackage ./package/wayland.nix { });
package = (pkgs.callPackage ../../packages/rofi/wrapper.nix {
rofi-unwrapped = (pkgs.callPackage ../../packages/rofi/wayland.nix { });
});
cycle = false;

View File

@ -4,7 +4,7 @@
home-manager.sharedModules = [{
programs.waybar = {
enable = true;
package = (pkgs.callPackage ./package { });
package = (pkgs.callPackage ../../packages/waybar { });
settings = {
mainBar = {

View File

@ -2,7 +2,7 @@
{
environment.systemPackages = with pkgs; [
(pkgs.callPackage ./package {})
(pkgs.callPackage ../../packages/srb2 { })
slade
];
}

View File

@ -2,7 +2,7 @@
{
environment.systemPackages = [
(pkgs.callPackage ./package {})
(pkgs.callPackage ../../packages/joshuto { })
];
home-manager.sharedModules = [{