61 lines
1.7 KiB
Nix
61 lines
1.7 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
home.username = "nikos";
|
|
home.homeDirectory = "/home/nikos";
|
|
|
|
# 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.
|
|
|
|
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
|
# plain files is through 'home.file'.
|
|
home.file = {
|
|
".config/nvim".source = ./nvim;
|
|
# ".config/fish".source = ./fish;
|
|
};
|
|
|
|
# The home.packages option allows you to install Nix packages into your
|
|
# environment.
|
|
home.packages = import ./packages.nix pkgs;
|
|
|
|
fonts.fontconfig.enable = true;
|
|
|
|
# You can also manage environment variables but you will have to manually
|
|
# source
|
|
#
|
|
# ~/.nix-profile/etc/profile.d/hm-session-vars.sh
|
|
#
|
|
# or
|
|
#
|
|
# /etc/profiles/per-user/nikos/etc/profile.d/hm-session-vars.sh
|
|
#
|
|
# if you don't want to manage your shell through Home Manager.
|
|
# home.sessionVariables = {
|
|
# # EDITOR = "emacs";
|
|
# };
|
|
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "Nikos Papadakis";
|
|
userEmail = "nikos@papadakis.xyz";
|
|
signing.key = "78871F9905ADFF02";
|
|
signing.signByDefault = true;
|
|
includes = [
|
|
{
|
|
contents = {
|
|
init.defaultBranch = "main";
|
|
pull.rebase = true;
|
|
};
|
|
}
|
|
];
|
|
};
|
|
|
|
# Let Home Manager install and manage itself.
|
|
programs.home-manager.enable = true;
|
|
}
|