with import <nixpkgs> { overlays = builtins.attrValues (import ./overlays); };
# https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh
# https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks
- {
- boinctui = callPackage ./pkgs/boinctui {};
- cnagios = callPackage ./pkgs/cnagios {};
- duply = callPackage ./pkgs/duply {};
- flrn = callPackage ./pkgs/flrn { slang = callPackage ./pkgs/slang_1 {}; };
- genius = callPackage ./pkgs/genius {};
- mtop = callPackage ./pkgs/mtop {};
- muttprint = callPackage ./pkgs/muttprint {};
- mutt-ics = callPackage ./pkgs/mutt-ics {};
- nagios-cli = callPackage ./pkgs/nagios-cli {};
- #nagnu = callPackage ./pkgs/nagnu {};
- note = callPackage ./pkgs/note {};
- notmuch-python2 = callPackage ./pkgs/notmuch/notmuch-python { pythonPackages = python2Packages; };
- notmuch-python3 = callPackage ./pkgs/notmuch/notmuch-python { pythonPackages = python3Packages; };
- notmuch-vim = callPackage ./pkgs/notmuch/notmuch-vim {};
- pg_activity = callPackage ./pkgs/pg_activity {};
- pgloader = callPackage ./pkgs/pgloader {};
- telegram-cli = callPackage ./pkgs/telegram-cli {};
- telegram-history-dump = callPackage ./pkgs/telegram-history-dump {};
- telegramircd = callPackage ./pkgs/telegramircd { telethon = callPackage ./pkgs/telethon_sync {}; };
- terminal-velocity = callPackage ./pkgs/terminal-velocity {};
- tiv = callPackage ./pkgs/tiv {};
- unicode = callPackage ./pkgs/unicode {};
+ { # files in overlays/mypkgs.nix
+ inherit boinctui;
+ inherit cnagios;
+ inherit duply;
+ inherit flrn;
+ inherit genius;
+ inherit mtop;
+ inherit muttprint;
+ inherit mutt-ics;
+ inherit nagios-cli;
+ #inherit nagnu;
+ inherit note;
+ inherit notmuch-python2;
+ inherit notmuch-python3;
+ inherit notmuch-vim;
+ inherit pg_activity;
+ inherit pgloader;
+ inherit telegram-cli;
+ inherit telegram-history-dump;
+ inherit telegramircd;
+ inherit terminal-velocity;
+ inherit tiv;
+ inherit unicodeDoc;
- cardano = callPackage ./pkgs/crypto/cardano {};
- iota-cli-app = callPackage ./pkgs/crypto/iota-cli-app {};
- sia = callPackage ./pkgs/crypto/sia {};
+ inherit cardano;
+ inherit iota-cli-app;
+ inherit sia;
} // { # overlays
inherit weboob;
inherit taskwarrior;
extraDomains = { "ftp.immae.eu" = null; };
};
- nixpkgs.overlays = [ (self: super: {
- pure-ftpd = self.callPackage ./pure-ftpd.nix {};
- }) ];
-
networking = {
firewall = {
allowedTCPPorts = [ 21 ];
{ lib, pkgs, config, myconfig, mylibs, ... }:
{
config = {
- nixpkgs.overlays = [ (self: super: rec {
- mpd = (self.callPackage ./mpd.nix {}).mpd;
- }) ];
mySecrets.keys = [
{
dest = "mpd";
{
mylibs = self: super: { mylibs = import ../libs.nix { nixpkgs = self; }; };
+ mypkgs = import ./mypkgs.nix;
bitlbee = import ./bitlbee;
dwm = import ./dwm;
--- /dev/null
+self: super: with self;
+{
+ boinctui = callPackage ../pkgs/boinctui {};
+ cnagios = callPackage ../pkgs/cnagios {};
+ duply = callPackage ../pkgs/duply {};
+ flrn = callPackage ../pkgs/flrn { slang = callPackage ../pkgs/slang_1 {}; };
+ genius = callPackage ../pkgs/genius {};
+ mtop = callPackage ../pkgs/mtop {};
+ muttprint = callPackage ../pkgs/muttprint {};
+ mutt-ics = callPackage ../pkgs/mutt-ics {};
+ nagios-cli = callPackage ../pkgs/nagios-cli {};
+ nagnu = callPackage ../pkgs/nagnu {};
+ note = callPackage ../pkgs/note {};
+ notmuch-python2 = callPackage ../pkgs/notmuch/notmuch-python { pythonPackages = python2Packages; };
+ notmuch-python3 = callPackage ../pkgs/notmuch/notmuch-python { pythonPackages = python3Packages; };
+ notmuch-vim = callPackage ../pkgs/notmuch/notmuch-vim {};
+ pg_activity = callPackage ../pkgs/pg_activity {};
+ pgloader = callPackage ../pkgs/pgloader {};
+ telegram-cli = callPackage ../pkgs/telegram-cli {};
+ telegram-history-dump = callPackage ../pkgs/telegram-history-dump {};
+ telegramircd = callPackage ../pkgs/telegramircd { telethon = callPackage ../pkgs/telethon_sync {}; };
+ terminal-velocity = callPackage ../pkgs/terminal-velocity {};
+ tiv = callPackage ../pkgs/tiv {};
+ unicodeDoc = callPackage ../pkgs/unicode {};
+
+ cardano = callPackage ../pkgs/crypto/cardano {};
+ iota-cli-app = callPackage ../pkgs/crypto/iota-cli-app {};
+ sia = callPackage ../pkgs/crypto/sia {};
+
+ pure-ftpd = callPackage ../pkgs/pure-ftpd {};
+ mpd = (callPackage ../pkgs/mpd_0_21 {}).mpd;
+ mpd-small = (callPackage ../pkgs/mpd_0_21 {}).mpd-small;
+}