52 lines
2.5 KiB
Nix
52 lines
2.5 KiB
Nix
self: super:
|
|
let
|
|
sources = import ../nix/sources.nix {};
|
|
in {
|
|
ninjatrappeur-pkgs = rec {
|
|
weeslack = super.callPackage ./weeslack.nix {};
|
|
pod-youtube = super.callPackage ./pod-youtube.nix {};
|
|
generate-document = super.callPackage ./generate-document.nix {};
|
|
bind-port-transmission = super.callPackage ./bind-port-transmission.nix {};
|
|
configured-emacs = super.callPackage ./emacs.nix { inherit sources; };
|
|
upload-public = super.callPackage ./upload_public.nix {};
|
|
upload-screenshot = super.callPackage ./upload_screenshot.nix { inherit upload-public; };
|
|
upload-picture-gallery = super.callPackage ./upload_picture_gallery.nix { };
|
|
update-nixos = super.callPackage ./update-nixos.nix {};
|
|
sync-mail = super.callPackage ./sync-mail.nix {};
|
|
em = super.callPackage ./em.nix {};
|
|
alternativebit-blog = super.callPackage ./blog.nix {};
|
|
hll2350dw-cups = super.callPackage ./hll2350dw.nix {};
|
|
cinny = super.callPackage ./cinny.nix {};
|
|
npmlock2nix = super.callPackage sources.npmlock2nix {};
|
|
picobak = super.callPackage sources.picobak {};
|
|
backup-iphone = super.callPackage ./backup-iphone.nix { inherit picobak; };
|
|
conf-deploy = super.writers.writeBashBin
|
|
"conf-deploy"
|
|
"${super.pkgs.morph}/bin/morph deploy /etc/nixos/deployment.nix switch --passwd $@";
|
|
postgresql_12_jit = self.postgresql_12.overrideAttrs ({ nativeBuildInputs, configureFlags, ... }: {
|
|
nativeBuildInputs = nativeBuildInputs ++ [ self.llvm self.clang ];
|
|
configureFlags = configureFlags ++ [ "--with-llvm" "CFLAGS='-Wno-extra-semi-stmt'" ];
|
|
});
|
|
|
|
router-image = let
|
|
pkgs = super.pkgs;
|
|
openwrt = sources.nix-openwrt-imagebuilder;
|
|
profiles = import "${openwrt}/profiles.nix" { inherit pkgs; };
|
|
config = profiles.identifyProfile "asus_rt-ax53u" // {
|
|
packages = [ "tcpdump" ];
|
|
files = pkgs.runCommand "image-files" {} ''
|
|
mkdir -p $out/etc/uci-defaults
|
|
cat > $out/etc/uci-defaults/99-custom <<EOF
|
|
uci -q batch << EOI
|
|
set system.@system[0].hostname='porte'
|
|
set wireless.@wifi-iface[0].ssid='matin-fakerking'
|
|
set wireless.@wifi-iface[0].key='hellothisisdog'
|
|
commit
|
|
EOI
|
|
EOF
|
|
'';
|
|
};
|
|
in import ("${openwrt}/builder.nix") config;
|
|
};
|
|
}
|