2024-03-25 04:56:01 +01:00
|
|
|
{
|
2024-05-05 20:12:48 +02:00
|
|
|
inputs,
|
2024-06-01 04:05:06 +02:00
|
|
|
configLib,
|
2024-03-25 04:56:01 +01:00
|
|
|
...
|
2024-05-05 20:12:48 +02:00
|
|
|
}:
|
|
|
|
inputs.home-manager.lib.homeManagerConfiguration {
|
|
|
|
pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance
|
2024-06-10 23:19:36 +02:00
|
|
|
extraSpecialArgs = {inherit inputs configLib;};
|
2024-05-05 20:12:48 +02:00
|
|
|
modules = [
|
|
|
|
inputs.nixvim.homeManagerModules.nixvim
|
|
|
|
({
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
2024-06-01 04:05:06 +02:00
|
|
|
configLib,
|
2024-05-05 20:12:48 +02:00
|
|
|
...
|
|
|
|
}: {
|
|
|
|
# machine specific options
|
2024-05-29 20:40:03 +02:00
|
|
|
user = {
|
2024-05-05 20:12:48 +02:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2024-05-05 20:12:48 +02: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
|
2024-05-31 19:01:32 +02:00
|
|
|
../configs/home-manager/common.nix
|
|
|
|
../configs/home-manager/syncthing.nix
|
2024-06-12 21:40:04 +02:00
|
|
|
../configs/home-manager/tiny-irc.nix
|
2024-06-04 18:00:43 +02:00
|
|
|
../configs/home-manager/secrets.nix
|
|
|
|
inputs.sops-nix.homeManagerModules.sops
|
2024-05-05 20:12:48 +02:00
|
|
|
];
|
2024-06-04 18:00:43 +02:00
|
|
|
|
2024-06-17 22:09:46 +02:00
|
|
|
sops = lib.mkIf (inputs ? nix-secrets) {
|
2024-06-04 18:00:43 +02:00
|
|
|
secrets = {
|
|
|
|
irc-cert.sopsFile = "${inputs.nix-secrets}/workstations.yaml";
|
|
|
|
};
|
|
|
|
};
|
2024-05-05 20:12:48 +02:00
|
|
|
})
|
2024-03-25 04:56:01 +01:00
|
|
|
];
|
|
|
|
}
|