diff --git a/homes/aly/default.nix b/homes/aly/default.nix index 50284532..fd275b41 100644 --- a/homes/aly/default.nix +++ b/homes/aly/default.nix @@ -83,7 +83,7 @@ self: { tmux.enable = true; vsCodium.enable = true; yazi.enable = true; - zed. enable = true; + zed.enable = true; }; defaultApps = { diff --git a/hosts/slateport/home.nix b/hosts/slateport/home.nix index 1331eaa5..578dd1c6 100644 --- a/hosts/slateport/home.nix +++ b/hosts/slateport/home.nix @@ -1,9 +1,79 @@ { + config, + lib, + pkgs, + self, + ... +}: { home-manager = { - sharedModules = [ - { - xdg.userDirs.music = "/mnt/Media/Music"; - } - ]; + users.aly = lib.mkForce { + imports = [ + self.homeManagerModules.default + self.inputs.agenix.homeManagerModules.default + ]; + + age.secrets = { + backblazeKeyId.file = ../../secrets/aly/backblaze/keyId.age; + backblazeKey.file = ../../secrets/aly/backblaze/key.age; + }; + + home = { + homeDirectory = "/home/aly"; + + packages = with pkgs; [ + browsh + curl + ]; + + stateVersion = "24.05"; + username = "aly"; + }; + + programs = { + git = { + enable = true; + lfs.enable = true; + userName = "Aly Raffauf"; + userEmail = "aly@raffauflabs.com"; + + extraConfig = { + color.ui = true; + github.user = "alyraffauf"; + push.autoSetupRemote = true; + }; + }; + + gitui.enable = true; + helix.defaultEditor = true; + home-manager.enable = true; + + rbw = { + enable = true; + + settings = { + email = "alyraffauf@fastmail.com"; + lock_timeout = 14400; + }; + }; + }; + + systemd.user.startServices = "legacy"; # Needed for auto-mounting agenix secrets. + + ar.home = { + apps = { + backblaze = { + enable = true; + keyIdFile = config.age.secrets.backblazeKeyId.path; + keyFile = config.age.secrets.backblazeKey.path; + }; + + fastfetch.enable = true; + helix.enable = true; + shell.enable = true; + tmux.enable = true; + yazi.enable = true; + }; + }; + }; }; }