Extract GUI-related software from common `jrpotter` config.

main
Joshua Potter 2023-12-11 07:16:47 -07:00
parent ba0d9fdd04
commit 91fdeb5b47
2 changed files with 18 additions and 7 deletions

View File

@ -9,7 +9,24 @@
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.jrpotter = import ../../users/jrpotter;
users.jrpotter = args@{ pkgs, lib, ... }:
let
base = import ../../users/jrpotter args;
in
lib.attrsets.updateManyAttrsByPath [
{
path = [ "home" "packages" ];
update = old: old ++ (with pkgs; [
anki-bin
bitwarden
firefox
gimp
wezterm
zotero
]);
}
] base;
# Used to pass non-default parameters to submodules.
extraSpecialArgs = { inherit system stateVersion; };
};

View File

@ -24,19 +24,13 @@ in
username = "jrpotter";
homeDirectory = "/home/jrpotter";
packages = with pkgs; [
anki-bin
bitwarden
bootstrap.packages.${system}.default
colmena
dig
file
firefox
gimp
mosh
mullvad-vpn
unzip
wezterm
zotero
];
};