Dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
570 B

  1. {pkgs ? import <nixpkgs> {}, ...}:
  2. let
  3. inherit (pkgs) lib;
  4. bin = pkgs.callPackage ./bin/default.nix {};
  5. i3 = with_lock: compton_name: pkgs.callPackage ./i3/i3.nix {
  6. inherit (bin) screenshot_public;
  7. inherit with_lock;
  8. inherit compton_name;
  9. };
  10. xres = dpi: pkgs.callPackage ./x/default.nix { inherit dpi; };
  11. in lib.mapAttrs (k: paths:
  12. pkgs.symlinkJoin { inherit paths; name = "dotfiles-${k}"; }
  13. ) {
  14. ascanius = [(i3 true "default") (xres 109)];
  15. woodhouse = [(i3 false "default") (xres 44)];
  16. pennyworth = [];
  17. frumar = [];
  18. jarvis = [(i3 true "intel") (xres 192)];
  19. }