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