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 = { home-manager = {
useGlobalPkgs = true; useGlobalPkgs = true;
useUserPackages = 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. # Used to pass non-default parameters to submodules.
extraSpecialArgs = { inherit system stateVersion; }; extraSpecialArgs = { inherit system stateVersion; };
}; };

View File

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