Add home-manager, create some configs

I mostly wanted this to control my neovim config for html, which I have
now.
This commit is contained in:
Eli Ribble 2024-10-15 13:13:34 -07:00
parent afaa784c7e
commit b59764a335
2 changed files with 24 additions and 0 deletions

View File

@ -8,6 +8,8 @@
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
# Include the home-manager configuration
<home-manager/nixos>
];
# Bootloader.
@ -43,6 +45,19 @@
}];
};
home-manager.useGlobalPkgs = true;
home-manager.users.eliribble = {
home.homeDirectory = "/home/eliribble";
# The home.stateVersion option does not have a default and must be set
home.stateVersion = "24.05";
home.username = "eliribble";
home.file.".config/nvim/after/ftplugin/html.vim".source = ./home/eliribble/config/nvim/after/ftplugin/html.vim;
programs.git = {
enable = true;
userName = "Eli Ribble";
userEmail = "eli@theribbles.org";
};
};
networking.extraHosts = ''
192.168.1.5 pihole.home.arpa
'';

View File

@ -0,0 +1,9 @@
set indentexpr=
set noautoindent
set nocindent
set noexpandtab
set nosmartindent
set nosmarttab
set nu
set tabstop=2
filetype indent off