2021-11-16 11:33:30 +01:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
# Home Manager needs a bit of information about you and the
|
|
|
|
# paths it should manage.
|
|
|
|
home.username = "andreas";
|
|
|
|
home.homeDirectory = "/home/andreas";
|
|
|
|
|
|
|
|
# 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.
|
2021-11-16 20:31:35 +01:00
|
|
|
home.stateVersion = "21.05";
|
2021-11-16 11:33:30 +01:00
|
|
|
|
|
|
|
# Let Home Manager install and manage itself.
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
ansible
|
2021-11-16 18:49:12 +01:00
|
|
|
ansible-lint
|
2021-11-18 20:13:05 +01:00
|
|
|
mosh
|
2021-11-19 10:54:23 +01:00
|
|
|
stow
|
2021-11-18 20:13:05 +01:00
|
|
|
tmux
|
2021-11-16 11:33:30 +01:00
|
|
|
];
|
2021-11-16 14:19:41 +01:00
|
|
|
|
|
|
|
programs.vim = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
expandtab = true;
|
|
|
|
tabstop = 4;
|
|
|
|
shiftwidth = 4;
|
|
|
|
number = true;
|
|
|
|
relativenumber = true;
|
|
|
|
};
|
|
|
|
};
|
2021-11-16 19:00:19 +01:00
|
|
|
|
|
|
|
# raw files
|
|
|
|
home.file.".config/git/hooks".source = ./common/git/hooks;
|
2021-11-16 11:33:30 +01:00
|
|
|
}
|