citadel

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

default.nix (1977B)


      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       python3Packages.num2words
     37       python3Packages.howdoi
     38       tree
     39       xsv
     40       datefmt
     41       #nostril
     42       nncp
     43       asciinema
     44       aspell
     45       aspellDicts.en
     46       aspellDicts.en-computers
     47       aspellDicts.en-science
     48       awscli
     49       bat
     50       bc
     51       binutils
     52       cp437
     53       dateutils
     54       direnv
     55       du-dust
     56       file
     57       fzf
     58       git-tools
     59       gnumake
     60       gnupg
     61       groff
     62       hashcash
     63       haskellPackages.una
     64       htop
     65       imagemagick
     66       jq
     67       lesspipe
     68       libbitcoin-explorer
     69       libqalculate
     70       linuxPackages.bpftrace
     71       linuxPackages.perf
     72       lsof
     73       #mailutils
     74       man-pages
     75       mdcat
     76       minisign
     77       neovim
     78       nethack
     79       network-tools
     80       nix-direnv 
     81       nodejs
     82       opentimestamps-client
     83       par
     84       parallel
     85       patchelf
     86       pv
     87       python3
     88       ripgrep
     89       rsync
     90       scdoc
     91       screen
     92       shellcheck
     93       universal-ctags
     94       unixtools.xxd
     95       unzip
     96       #weechat
     97       websocat
     98       wget
     99       xonsh
    100       zip
    101       zstd
    102     ];
    103 in {
    104   environment.systemPackages = if extra.is-minimal then minimal-pkgs else mypkgs;
    105 
    106     nix.extraOptions = ''
    107 	keep-outputs = true
    108 	keep-derivations = true
    109     '';
    110 
    111     environment.pathsToLink = [
    112         "/share/nix-direnv"
    113     ];
    114 
    115 }