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