Fix home-modules
This commit is contained in:
parent
dde73293ce
commit
c13875daa4
2 changed files with 2 additions and 2 deletions
|
@ -35,6 +35,6 @@
|
||||||
modes);
|
modes);
|
||||||
in {
|
in {
|
||||||
homeConfigurations = lib.mapAttrs (_: buildHomeManager) (flattenAttrs machines);
|
homeConfigurations = lib.mapAttrs (_: buildHomeManager) (flattenAttrs machines);
|
||||||
homeModes = lib.mapAttrs buildModesForHost machines;
|
homeModes = lib.mapAttrs buildModesForHost {inherit (machines) zeus apollo;};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,6 @@ flake-inputs: {config, ...}: {
|
||||||
home-manager = {
|
home-manager = {
|
||||||
backupFileExtension = "home-manager-backup";
|
backupFileExtension = "home-manager-backup";
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
users.maralorn = flake-inputs.self.homeConfigurations.${config.networking.hostName};
|
users.maralorn = (import ../../home-manager/machines.nix).${config.networking.hostName}.default;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue