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:
parent
afaa784c7e
commit
b59764a335
|
@ -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
|
||||
'';
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
set indentexpr=
|
||||
set noautoindent
|
||||
set nocindent
|
||||
set noexpandtab
|
||||
set nosmartindent
|
||||
set nosmarttab
|
||||
set nu
|
||||
set tabstop=2
|
||||
filetype indent off
|
Loading…
Reference in New Issue