dotfiles/home-manager/kalle-pc/kalle.nix

78 lines
1.8 KiB
Nix
Raw Normal View History

2023-11-01 16:27:35 +01:00
{ inputs
, outputs
, lib
, config
, pkgs
, ...
2023-10-31 12:20:02 +01:00
}:
{
home = {
username = "kalle";
homeDirectory = "/home/kalle";
};
imports =
[
../../nvim
];
2023-11-01 16:27:35 +01:00
nixpkgs = {
overlays = with outputs.overlays; [
nvim-plugins
];
config = {
allowUnfree = true;
allowUnfreePredicate = _: true;
};
};
2023-10-31 12:20:02 +01:00
# The home.packages option allows you to install Nix packages into your
# environment.
home.packages = with pkgs; [
discord
firefox
httpie
kate
kitty
2023-11-01 16:27:35 +01:00
rustup
2023-10-31 12:20:02 +01:00
# # It is sometimes useful to fine-tune packages, for example, by applying
# # overrides. You can do that directly here, just don't forget the
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of
# # fonts?
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
# # You can also create simple shell scripts directly inside your
# # configuration. For example, this adds a command 'my-hello' to your
# # environment:
# (pkgs.writeShellScriptBin "my-hello" ''
# echo "Hello, ${config.home.username}!"
# '')
];
programs.home-manager.enable = true;
programs.bash.enable = true;
programs.git = {
enable = true;
userName = "Kalle Struik";
userEmail = "kalle@kallestruik.nl";
extraConfig = {
init.defaultBranch = "main";
};
};
home.sessionVariables = {
EDITOR = "nvim";
};
# 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 should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager
# release notes.
home.stateVersion = "23.05"; # Please read the comment before changing.
}