restructure homemanager to support multiplatforms

This commit is contained in:
2025-10-19 03:40:04 -05:00
parent 2149a58293
commit 652f005769
3 changed files with 3 additions and 1 deletions

View File

@@ -7,6 +7,8 @@
... ...
}: let }: let
platform = if pkgs.system == "x86_64-darwin" then "darwin" else "nixos";
# general config # general config
home_linux = { home_linux = {
username = "blake"; username = "blake";
@@ -20,7 +22,7 @@ in
{ {
imports = [ imports = [
inputs.sops-nix.homeManagerModules.sops inputs.sops-nix.homeManagerModules.sops
./dots/darwin ./os/${platform}
./dots/neovim ./dots/neovim
./dots/lf ./dots/lf
./dots/zsh ./dots/zsh