Dont hardcode arch

This commit is contained in:
2024-11-25 12:23:24 +01:00
parent 4e62dc9f79
commit 709140c8c7
4 changed files with 10 additions and 7 deletions
+4 -3
View File
@@ -23,10 +23,11 @@
if darwin
then ../modules/cli/darwin.nix
else ../modules/cli;
specialArgs = inputs // {inherit system;};
in
systemFunc {
inherit system;
specialArgs = inputs;
inherit system specialArgs;
modules =
[
overlays
@@ -63,7 +64,7 @@ in
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = inputs;
extraSpecialArgs = specialArgs;
users.${user} = {
imports = [
../modules/cli/home.nix