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