blob: 8d815ed6bac8b002515c5d34e7b0c518486d7e9e [file] [log] [blame]
{ pkgs, lib, ... }:
let
variables = import ./common/variables.nix;
personalPackages = import ./utils/nixFilesIn.nix lib ./apps/personal;
personalScripts = import ./utils/nixFilesIn.nix lib ./scripts/personal;
overlays = import ./utils/nixFilesIn.nix lib ./apps/personal/overlays;
packages = import ./utils/nixFilesIn.nix lib ./apps/personal/packages;
in {
imports = personalPackages ++ personalScripts;
nixpkgs.overlays = map (f: import f) overlays ++ [
super: self: listToAttrs (
let
callPackage = pkgs.newScope self;
in map (f: {
name = (match "(.*)\.nix" f)[0];
value = callPackage (import f) { };
}) packages
)
];
home.packages = with pkgs; [ # New apps should be on new lines
anytype
minecraft
nodejs-17_x
git-crypt
keepassxc
grim slurp
neovim helix
qemu
bind
file
nur.repos.kira-bruneau.rofi-wayland
rofimoji
htop
hue-cli
zip
element
tdesktop
]; # Legacy field; please don't add new packages here, instead create a file in ./apps/personal
}