summaryrefslogtreecommitdiff
path: root/environments
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-01-25 19:56:20 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-25 00:04:44 +0200
commiteaa9613a5654f1001f946fe73248ffcb46c28fdd (patch)
treecf0f94c0f5eb5348f49c01a79f95ae4dfc010229 /environments
parentc69634936c66ccdeaabadda5d3bd42848d374778 (diff)
downloadNUR-eaa9613a5654f1001f946fe73248ffcb46c28fdd.tar.gz
NUR-eaa9613a5654f1001f946fe73248ffcb46c28fdd.tar.zst
NUR-eaa9613a5654f1001f946fe73248ffcb46c28fdd.zip
Move environments to specific attrs
Diffstat (limited to 'environments')
-rw-r--r--environments/default.nix4
-rw-r--r--environments/immae-eu.nix131
2 files changed, 135 insertions, 0 deletions
diff --git a/environments/default.nix b/environments/default.nix
new file mode 100644
index 00000000..5f17eb9e
--- /dev/null
+++ b/environments/default.nix
@@ -0,0 +1,4 @@
1{ callPackage }:
2{
3 immae-eu = callPackage ./immae-eu.nix {};
4}
diff --git a/environments/immae-eu.nix b/environments/immae-eu.nix
new file mode 100644
index 00000000..787d3033
--- /dev/null
+++ b/environments/immae-eu.nix
@@ -0,0 +1,131 @@
1{ pkgs }: with pkgs;
2let
3 # https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh
4 # https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks
5 paths = [
6 # archives
7 lzo unzip bzip2 p7zip xz
8 # unrar is unfree
9
10 # backups
11 duply
12
13 # calendar/contacts
14 abook khard khal cadaver vdirsyncer pal
15
16 # computing
17 boinctui
18
19 # cryptocurrencies
20 cardano cardano-cli sia monero
21 xmr-stak
22 solc
23 iota-cli-app
24
25 # debugging
26 rr valgrind netcat-gnu strace shellcheck
27
28 # documentations
29 unicodeDoc
30
31 # e-mails
32 muttprint mutt-ics
33 notmuch-python2 notmuch-python3 notmuch-vim
34 neomutt mairix notmuch
35 bogofilter fetchmail
36 sieve-connect
37
38 # git
39 vcsh gitRepo gitAndTools.stgit tig ripgrep
40
41 # graphical tools
42 nextcloud-client firefox
43 dwm dmenu st
44
45 # images
46 feh imagemagick tiv graphicsmagick qrcode
47
48 # internet browsing
49 w3m lynx links elinks browsh weboob urlview urlscan googler urlwatch
50
51 # less
52 python3Packages.pygments lesspipe highlight sourceHighlight
53
54 # monitoring
55 cnagios mtop pg_activity nagios-cli mtr
56 iftop htop iotop iperf bonfire
57 goaccess tcpdump tshark tcpflow mitmproxy
58 # nagnu
59
60 # messaging/forums/news
61 #flrn slrn
62 telegram-cli telegram-history-dump telegramircd
63 weechat profanity
64 newsboat irssi
65
66 # nix
67 mylibs.yarn2nixPackage.yarn2nix nix
68 nixops nix-prefetch-scripts nix-generate-from-cpan
69 nix-zsh-completions bundix nodePackages.bower2nix
70 nodePackages.node2nix
71 # (nixos {}).nixos-generate-config
72 # (nixos {}).nixos-install
73 # (nixos {}).nixos-enter
74 # (nixos {}).manual.manpages
75
76 # note taking
77 note terminal-velocity jrnl
78
79 # office
80 sc-im ranger
81 genius bc
82 ledger
83 tmux
84 rtorrent
85 ldapvi
86 fzf
87 buku
88
89 # password management
90 pass apg pwgen
91
92 # pdf
93 pdftk poppler_utils
94
95 # programming
96 pelican emacs26-nox ctags
97 wdiff patch
98
99 # security
100 keybase
101
102 # todolist/time management
103 taskwarrior vit timewarrior
104
105 # video/music
106 youtube-dl ncmpc ncmpcpp ffmpeg
107
108 # s6 tools (part of skawarePackages)
109 skalibs execline s6 s6-dns s6-linux-utils s6-networking
110 s6-portable-utils
111
112 # system tools
113 telnet bind.dnsutils httpie ngrep nmap p0f socat lsof psmisc
114 wget patchelf rename tmux (lib.meta.hiPrio nettools)
115
116 # other tools
117 pgloader s3cmd lftp jq cpulimit libxslt gandi-cli
118
119 # Terraform + AWS
120 terraform_0_12 awscli
121 (ansible.override { python2 = python3; }) python3Packages.boto
122 openvpn
123 ];
124in
125buildEnv {
126 name = "immae-eu-packages";
127 inherit paths;
128 pathsToLink = [ "/bin" "/etc" "/include" "/lib" "/libexec" "/share"];
129 extraOutputsToInstall = [ "bin" "man" "doc" "info" ];
130 passthru = { packages = paths; };
131}