nixos/home/common.nix

43 lines
1021 B
Nix
Raw Normal View History

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.
home.stateVersion = "21.11";
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
home.packages = with pkgs; [
tmux
mosh
ansible
2021-11-16 18:49:12 +01:00
ansible-lint
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
}