70 lines
1.8 KiB
Nix
70 lines
1.8 KiB
Nix
|
{
|
||
|
inputs,
|
||
|
lib,
|
||
|
config,
|
||
|
pkgs,
|
||
|
...
|
||
|
}:
|
||
|
|
||
|
{
|
||
|
home = {
|
||
|
username = "kalle";
|
||
|
homeDirectory = "/home/kalle";
|
||
|
};
|
||
|
imports =
|
||
|
[
|
||
|
../../nvim
|
||
|
];
|
||
|
|
||
|
nixpkgs.config.allowUnfree = true;
|
||
|
nixpkgs.config.allowUnfreePredicate = _: true;
|
||
|
|
||
|
# The home.packages option allows you to install Nix packages into your
|
||
|
# environment.
|
||
|
home.packages = with pkgs; [
|
||
|
discord
|
||
|
firefox
|
||
|
httpie
|
||
|
neovim
|
||
|
kate
|
||
|
kitty
|
||
|
|
||
|
# # 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.
|
||
|
}
|