blob: 806c75554b23a2b7507534404587d701abea792e [file] [log] [blame]
Skyler Turner0ab3b7f2022-03-04 23:24:10 +00001{ pkgs, lib, ... }:
Skyler Turner62330c12022-03-04 22:10:16 +00002let
3 variables = import ./common/variables.nix;
Skyler Turner0ab3b7f2022-03-04 23:24:10 +00004 personalPackages = import ./utils/nixFilesIn.nix lib ./apps/personal;
Skyler Turnerdb486c92022-03-06 10:48:24 +00005 personalScripts = import ./utils/nixFilesIn.nix lib ./scripts/personal;
Skyler Turner0ab3b7f2022-03-04 23:24:10 +00006 overlays = import ./utils/nixFilesIn.nix lib ./apps/personal/overlays;
Skyler Turnerbc7f6dc2022-03-29 18:40:01 +01007 packages = import ./utils/nixFilesIn.nix lib ./apps/personal/packages;
Skyler Turner62330c12022-03-04 22:10:16 +00008in {
Skyler Turnerdb486c92022-03-06 10:48:24 +00009 imports = personalPackages ++ personalScripts;
Skyler Turner62330c12022-03-04 22:10:16 +000010
Skyler Turnerbc7f6dc2022-03-29 18:40:01 +010011 nixpkgs.overlays = map (f: import f) overlays ++ [
Skyler Turnere57143f2022-03-29 18:41:41 +010012 (super: (self: builtins.listToAttrs (
Skyler Turnerbc7f6dc2022-03-29 18:40:01 +010013 let
14 callPackage = pkgs.newScope self;
15 in map (f: {
Skyler Turner13af55a2022-03-29 18:58:10 +010016 name = builtins.elemAt (builtins.match "^(.*/)*(.*)\\.nix$" (toString f)) 1;
Skyler Turnerbc7f6dc2022-03-29 18:40:01 +010017 value = callPackage (import f) { };
18 }) packages
Skyler Turner6c5119c2022-03-29 18:40:55 +010019 )))
Skyler Turnerbc7f6dc2022-03-29 18:40:01 +010020 ];
Skyler Turner62330c12022-03-04 22:10:16 +000021
22 home.packages = with pkgs; [ # New apps should be on new lines
23 anytype
24 minecraft
25 nodejs-17_x
26
27 git-crypt
28 keepassxc
29 grim slurp
30 neovim helix
31 qemu
32 bind
33 file
34 nur.repos.kira-bruneau.rofi-wayland
35 rofimoji
Skyler Turner62330c12022-03-04 22:10:16 +000036 htop
37 hue-cli
Skyler Turner62330c12022-03-04 22:10:16 +000038 zip
Skyler Turner62330c12022-03-04 22:10:16 +000039 element
40 tdesktop
Skyler Turnerdb486c92022-03-06 10:48:24 +000041 ]; # Legacy field; please don't add new packages here, instead create a file in ./apps/personal
Skyler Turnerbc7f6dc2022-03-29 18:40:01 +010042}