Extract GUI-related software from common `jrpotter` config.
parent
ba0d9fdd04
commit
91fdeb5b47
|
@ -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; };
|
||||
};
|
||||
|
|
|
@ -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
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue