Skip to content

Commit

Permalink
Fix home manager config path by host
Browse files Browse the repository at this point in the history
  • Loading branch information
rake5k committed Oct 15, 2023
1 parent 1c09838 commit bea32b8
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions nix-on-droid/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
{ config, lib, pkgs, homeModules, inputs, ... }:

let

mkUserConfigPath = host: "${inputs.self}/hosts/${host}/home-nix-on-droid.nix";

in
{ config, inputs, lib, pkgs, homeModules, name, ... }:

{
environment = {
Expand All @@ -23,7 +17,7 @@ in
extraSpecialArgs = { inherit inputs; };
sharedModules = homeModules;

config = mkUserConfigPath "nix-on-droid";
config = "${inputs.self}/hosts/${name}/home-nix-on-droid.nix";
};

nix.package = pkgs.nix;
Expand Down

0 comments on commit bea32b8

Please sign in to comment.