21 lines
570 B
Nix
21 lines
570 B
Nix
{pkgs ? import <nixpkgs> {}, ...}:
|
|
|
|
let
|
|
inherit (pkgs) lib;
|
|
bin = pkgs.callPackage ./bin/default.nix {};
|
|
i3 = with_lock: compton_name: pkgs.callPackage ./i3/i3.nix {
|
|
inherit (bin) screenshot_public;
|
|
inherit with_lock;
|
|
inherit compton_name;
|
|
};
|
|
xres = dpi: pkgs.callPackage ./x/default.nix { inherit dpi; };
|
|
in lib.mapAttrs (k: paths:
|
|
pkgs.symlinkJoin { inherit paths; name = "dotfiles-${k}"; }
|
|
) {
|
|
ascanius = [(i3 true "default") (xres 109)];
|
|
woodhouse = [(i3 false "default") (xres 44)];
|
|
pennyworth = [];
|
|
frumar = [];
|
|
jarvis = [(i3 true "intel") (xres 192)];
|
|
}
|