2023-11-22 13:11:41 +00:00
|
|
|
{ config, pkgs, lib, ... }:
|
2023-11-17 11:58:33 +00:00
|
|
|
{
|
2023-11-22 13:11:41 +00:00
|
|
|
options.home.extraPythonPackages = lib.mkOption {
|
|
|
|
type = lib.types.listOf lib.types.string;
|
|
|
|
example = ''
|
|
|
|
[ debugpy mccabe ]
|
|
|
|
'';
|
|
|
|
description = lib.mdDoc ''
|
|
|
|
Extra Python packages that should be linked to the topmost Python
|
|
|
|
interpreter.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2023-11-17 11:58:33 +00:00
|
|
|
imports = [
|
|
|
|
./git.nix
|
|
|
|
./neovim
|
2023-11-18 14:53:20 +00:00
|
|
|
./wezterm
|
2023-11-17 11:58:33 +00:00
|
|
|
];
|
|
|
|
|
2023-11-22 13:11:41 +00:00
|
|
|
config = {
|
|
|
|
home = {
|
|
|
|
username = "jrpotter";
|
|
|
|
homeDirectory = "/home/jrpotter";
|
2023-11-18 19:45:36 +00:00
|
|
|
|
2023-11-22 13:11:41 +00:00
|
|
|
packages = with pkgs; [
|
|
|
|
anki-bin
|
|
|
|
bitwarden
|
|
|
|
clang
|
|
|
|
elan
|
|
|
|
firefox
|
|
|
|
gnumake
|
|
|
|
mullvad-vpn
|
|
|
|
(python3.withPackages
|
|
|
|
(ps: builtins.map (s: ps.${s}) config.home.extraPythonPackages))
|
|
|
|
unzip
|
|
|
|
wezterm
|
|
|
|
zotero
|
|
|
|
];
|
|
|
|
};
|
2023-11-17 11:58:33 +00:00
|
|
|
|
2023-11-22 13:11:41 +00:00
|
|
|
programs = {
|
|
|
|
bash.enable = true;
|
|
|
|
direnv.enable = true;
|
|
|
|
git.enable = true;
|
|
|
|
home-manager.enable = true;
|
|
|
|
neovim.enable = true;
|
|
|
|
};
|
2023-11-17 11:58:33 +00:00
|
|
|
|
2023-11-22 13:11:41 +00:00
|
|
|
# This value determines the Home Manager release that
|
|
|
|
# your configuration is compatible with. This helps avoid
|
|
|
|
# breakage when a new Home Manager release introduces
|
|
|
|
# backwards-incompatible changes.
|
|
|
|
#
|
|
|
|
# You can update Home Manager without changing this value.
|
|
|
|
# See the Home Manager release notes for a list of state
|
|
|
|
# version changes in each release.
|
|
|
|
home.stateVersion = "23.05";
|
|
|
|
};
|
2023-11-17 11:58:33 +00:00
|
|
|
}
|