Skyler Turner | 0ab3b7f | 2022-03-04 23:24:10 +0000 | [diff] [blame] | 1 | { pkgs, lib, ... }: |
Skyler Turner | 62330c1 | 2022-03-04 22:10:16 +0000 | [diff] [blame] | 2 | let |
| 3 | variables = import ./common/variables.nix; |
Skyler Turner | 0ab3b7f | 2022-03-04 23:24:10 +0000 | [diff] [blame] | 4 | personalPackages = import ./utils/nixFilesIn.nix lib ./apps/personal; |
Skyler Turner | db486c9 | 2022-03-06 10:48:24 +0000 | [diff] [blame] | 5 | personalScripts = import ./utils/nixFilesIn.nix lib ./scripts/personal; |
Skyler Turner | 0ab3b7f | 2022-03-04 23:24:10 +0000 | [diff] [blame] | 6 | overlays = import ./utils/nixFilesIn.nix lib ./apps/personal/overlays; |
Skyler Turner | bc7f6dc | 2022-03-29 18:40:01 +0100 | [diff] [blame] | 7 | packages = import ./utils/nixFilesIn.nix lib ./apps/personal/packages; |
Skyler Turner | 62330c1 | 2022-03-04 22:10:16 +0000 | [diff] [blame] | 8 | in { |
Skyler Turner | db486c9 | 2022-03-06 10:48:24 +0000 | [diff] [blame] | 9 | imports = personalPackages ++ personalScripts; |
Skyler Turner | 62330c1 | 2022-03-04 22:10:16 +0000 | [diff] [blame] | 10 | |
Skyler Turner | bc7f6dc | 2022-03-29 18:40:01 +0100 | [diff] [blame] | 11 | nixpkgs.overlays = map (f: import f) overlays ++ [ |
Skyler Turner | e57143f | 2022-03-29 18:41:41 +0100 | [diff] [blame] | 12 | (super: (self: builtins.listToAttrs ( |
Skyler Turner | bc7f6dc | 2022-03-29 18:40:01 +0100 | [diff] [blame] | 13 | let |
| 14 | callPackage = pkgs.newScope self; |
| 15 | in map (f: { |
Skyler Turner | 13af55a | 2022-03-29 18:58:10 +0100 | [diff] [blame^] | 16 | name = builtins.elemAt (builtins.match "^(.*/)*(.*)\\.nix$" (toString f)) 1; |
Skyler Turner | bc7f6dc | 2022-03-29 18:40:01 +0100 | [diff] [blame] | 17 | value = callPackage (import f) { }; |
| 18 | }) packages |
Skyler Turner | 6c5119c | 2022-03-29 18:40:55 +0100 | [diff] [blame] | 19 | ))) |
Skyler Turner | bc7f6dc | 2022-03-29 18:40:01 +0100 | [diff] [blame] | 20 | ]; |
Skyler Turner | 62330c1 | 2022-03-04 22:10:16 +0000 | [diff] [blame] | 21 | |
| 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 Turner | 62330c1 | 2022-03-04 22:10:16 +0000 | [diff] [blame] | 36 | htop |
| 37 | hue-cli |
Skyler Turner | 62330c1 | 2022-03-04 22:10:16 +0000 | [diff] [blame] | 38 | zip |
Skyler Turner | 62330c1 | 2022-03-04 22:10:16 +0000 | [diff] [blame] | 39 | element |
| 40 | tdesktop |
Skyler Turner | db486c9 | 2022-03-06 10:48:24 +0000 | [diff] [blame] | 41 | ]; # Legacy field; please don't add new packages here, instead create a file in ./apps/personal |
Skyler Turner | bc7f6dc | 2022-03-29 18:40:01 +0100 | [diff] [blame] | 42 | } |