Move custom packages into own default.nix and load all at once

This separates foreign packages and custom ones.
This commit is contained in:
Daniel Siepmann 2023-03-16 08:40:10 +01:00
parent bb64b6d859
commit d1ec08d755
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
2 changed files with 23 additions and 15 deletions

View file

@ -10,16 +10,6 @@ with pkgs; [
gnome.gnome-screenshot
networkmanager_dmenu
# TODO: Create one `./packages/custom/default.nix which includes all other?
(callPackage ./packages/custom/dmenu-scripts { })
(callPackage ./packages/custom/update-system { })
(callPackage ./packages/custom/backup { })
(callPackage ./packages/custom/nextcloud-sync/from-local.nix { })
(callPackage ./packages/custom/nextcloud-sync/from-remote.nix { })
(callPackage ./packages/custom/typo3-documentation-rendering {
inherit ownLib;
})
(callPackage ./packages/custom/build-phpactor { })
i3blocks
st
ncdu
@ -60,10 +50,6 @@ with pkgs; [
# Use in conjuncion with https://github.com/autozimu/LanguageClient-neovim
# rnix-lsp
(callPackage ./packages/custom/project {
inherit ownLib;
})
# Communication
signal-desktop
thunderbird
@ -98,4 +84,8 @@ with pkgs; [
# hikari 2
(callPackage ./packages/custom/update-ubuntu-system { })
])
# TODO: Right now only for Ubuntu (hikari2) system
(callPackage ./packages/custom/backup { })
]) ++ (callPackage ./packages/custom {
inherit ownLib;
})

View file

@ -0,0 +1,18 @@
{
callPackage
, ownLib
}:
[
(callPackage ./dmenu-scripts { })
(callPackage ./update-system { })
(callPackage ./nextcloud-sync/from-local.nix { })
(callPackage ./nextcloud-sync/from-remote.nix { })
(callPackage ./typo3-documentation-rendering {
inherit ownLib;
})
(callPackage ./build-phpactor { })
(callPackage ./project {
inherit ownLib;
})
]