wip: adding standalone home-manager config
need to modularize though
This commit is contained in:
14
flake.nix
14
flake.nix
@@ -12,6 +12,7 @@
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
ghostty.url = "github:ghostty-org/ghostty";
|
||||
nixgl.url = "github:guibou/nixGL";
|
||||
};
|
||||
|
||||
outputs = inputs @ {
|
||||
@@ -21,6 +22,7 @@
|
||||
darwin,
|
||||
home-manager,
|
||||
ghostty,
|
||||
nixgl,
|
||||
...
|
||||
}: let
|
||||
userName = "wyatt";
|
||||
@@ -129,5 +131,17 @@
|
||||
# }
|
||||
# ];
|
||||
};
|
||||
|
||||
# For anyone running home-manager standalone
|
||||
homeConfigurations.${userName} = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
modules = [
|
||||
./home
|
||||
];
|
||||
# Optionally, pass specialArgs if needed
|
||||
extraSpecialArgs = extraSpecialArgs // {
|
||||
inherit nixgl;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user