nixos-configuration/jrpotter/default.nix

59 lines
1.3 KiB
Nix
Raw Normal View History

{ config, pkgs, lib, ... }:
2023-11-17 11:58:33 +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
];
config = {
home = {
username = "jrpotter";
homeDirectory = "/home/jrpotter";
packages = with pkgs; [
anki-bin
bitwarden
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
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
# 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
}