mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
flake.nix: update home-manager output attribute to homeConfigurations
Now, it is supported by standalone `home-manager` tool.
This commit is contained in:
parent
b3ce46ccf9
commit
fac3cd408f
@ -357,7 +357,7 @@
|
||||
|
||||
# I can now install home-manager users in non-NixOS systems.
|
||||
# NICE!
|
||||
homeManagerConfigurations = lib'.mapAttrs
|
||||
homeConfigurations = lib'.mapAttrs
|
||||
(_: path:
|
||||
let
|
||||
extraModules = [
|
||||
@ -461,7 +461,7 @@
|
||||
};
|
||||
})
|
||||
self.nixosConfigurations;
|
||||
homeManagerConfigurations = lib'.mapAttrs'
|
||||
homeConfigurations = lib'.mapAttrs'
|
||||
(name: value:
|
||||
lib'.nameValuePair "home-manager-${name}" {
|
||||
hostname = name;
|
||||
@ -471,9 +471,9 @@
|
||||
path = inputs.deploy.lib.${defaultSystem}.activate.home-manager value;
|
||||
};
|
||||
})
|
||||
self.homeManagerConfigurations;
|
||||
self.homeConfigurations;
|
||||
in
|
||||
nixosConfigurations // homeManagerConfigurations;
|
||||
nixosConfigurations // homeConfigurations;
|
||||
|
||||
# How to make yourself slightly saner than before. So far the main checks
|
||||
# are for deploy nodes.
|
||||
|
Loading…
Reference in New Issue
Block a user