restructure homemanager to support multiplatforms
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user