nix-config/hosts/home-personal.nix

52 lines
1.3 KiB
Nix
Raw Normal View History

2024-03-24 23:39:49 +01:00
{
inputs,
configLib,
2024-03-24 23:39:49 +01:00
...
}:
inputs.home-manager.lib.homeManagerConfiguration {
pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance
extraSpecialArgs = {inherit inputs configLib;};
modules = [
({
config,
pkgs,
lib,
configLib,
...
}: {
# machine specific options
user = {
enable-speech = true;
git = {
profile = {
name = "Gabe Venberg";
email = "gabevenberg@gmail.com";
};
workProfile.enable = false;
};
2024-03-25 04:56:01 +01:00
};
2024-03-24 23:39:49 +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
2024-05-17 20:47:30 +02:00
../roles/home-manager/music.nix
../configs/home-manager/common.nix
../configs/home-manager/email.nix
2024-06-04 20:08:13 +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-06-04 18:00:43 +02:00
sops = lib.mkIf (inputs ? nix-secrets) {
2024-06-04 18:00:43 +02:00
secrets = {
gmail-password.sopsFile = "${inputs.nix-secrets}/workstations.yaml";
irc-cert.sopsFile = "${inputs.nix-secrets}/workstations.yaml";
};
};
})
inputs.nixvim.homeManagerModules.nixvim
2024-03-24 23:39:49 +01:00
];
}