nix-config/hosts/home-workstation.nix

49 lines
1.1 KiB
Nix
Raw Normal View History

2024-03-25 04:56:01 +01:00
{
inputs,
outputs,
2024-03-25 04:56:01 +01:00
...
}:
inputs.home-manager.lib.homeManagerConfiguration {
pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance
extraSpecialArgs = {inherit inputs outputs;};
modules = [
inputs.nixvim.homeManagerModules.nixvim
({
config,
pkgs,
lib,
...
}: {
# machine specific options
home = {
nvim = {
enable-lsp = true;
enable-treesitter = true;
};
git = {
profile = {
name = "Gabe Venberg";
email = "gabevenberg@gmail.com";
};
workProfile = {
enable = true;
email = "venberggabe@johndeere.com";
};
};
2024-03-25 04:56:01 +01:00
};
targets.genericLinux.enable = true;
home.username = "gabe";
home.homeDirectory = /home/gabe;
imports = [
2024-05-10 00:47:54 +02:00
../roles/home-manager/terminal.nix
../modules/home-manager/common.nix
../modules/home-manager/syncthing.nix
../modules/home-manager/email.nix
../modules/home-manager/beets.nix
../modules/home-manager/mpd/mpd.nix
];
})
2024-03-25 04:56:01 +01:00
];
}