citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

default.nix (2013B)


      1 extra:
      2 { config, lib, pkgs, ... }:
      3 let jb55pkgs = import <jb55pkgs> { inherit pkgs; };
      4     kindle-send = pkgs.callPackage (pkgs.fetchFromGitHub {
      5       owner = "jb55";
      6       repo = "kindle-send";
      7       rev = "0.2.1";
      8       sha256 = "0xd86s2smjvlc7rlb6rkgx2hj3c3sbcz3gs8rf93x69jqdvwb6rr";
      9     }) {};
     10     myPackages = with jb55pkgs; [
     11        rsslink
     12        #bcalc
     13        btcs
     14        csv-delim
     15        csv-scripts
     16        extname
     17        mandown
     18        ratio
     19        samp
     20        sharefile
     21        zebra
     22        define
     23        nixpkgs-ml-tools
     24     ];
     25 
     26     minimal-pkgs = with pkgs; [
     27       git-tools
     28       fzf
     29       ripgrep
     30     ];
     31 
     32     mypkgs = with pkgs; myPackages ++ [
     33       yq
     34       tut
     35 
     36       curlHTTP3
     37       python3Packages.num2words
     38       #python3Packages.howdoi
     39       tree
     40       b4
     41       datefmt
     42       #nostril
     43       nncp
     44       asciinema
     45       aspell
     46       aspellDicts.en
     47       aspellDicts.en-computers
     48       aspellDicts.en-science
     49       awscli
     50       bat
     51       bc
     52       binutils
     53       cp437
     54       dateutils
     55       direnv
     56       du-dust
     57       file
     58       fzf
     59       git-tools
     60       gnumake
     61       gnupg
     62       groff
     63       hashcash
     64       haskellPackages.una
     65       htop
     66       imagemagick
     67       jq
     68       lesspipe
     69       #libbitcoin-explorer
     70       libqalculate
     71       linuxPackages.bpftrace
     72       linuxPackages.perf
     73       lsof
     74       #mailutils
     75       man-pages
     76       mdcat
     77       minisign
     78       vim-full
     79       rustup
     80       playerctl
     81       nethack
     82       network-tools
     83       nix-direnv 
     84       nodejs
     85       opentimestamps-client
     86       par
     87       parallel
     88       patchelf
     89       pv
     90       python3
     91       ripgrep
     92       rsync
     93       scdoc
     94       screen
     95       shellcheck
     96       universal-ctags
     97       unixtools.xxd
     98       unzip
     99       #weechat
    100       websocat
    101       wget
    102       xonsh
    103       zip
    104       zstd
    105     ];
    106 in {
    107   environment.systemPackages = if extra.is-minimal then minimal-pkgs else mypkgs;
    108 
    109     nix.extraOptions = ''
    110 	keep-outputs = true
    111 	keep-derivations = true
    112     '';
    113 
    114     environment.pathsToLink = [
    115         "/share/nix-direnv"
    116     ];
    117 
    118 }