mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +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.
|
# I can now install home-manager users in non-NixOS systems.
|
||||||
# NICE!
|
# NICE!
|
||||||
homeManagerConfigurations = lib'.mapAttrs
|
homeConfigurations = lib'.mapAttrs
|
||||||
(_: path:
|
(_: path:
|
||||||
let
|
let
|
||||||
extraModules = [
|
extraModules = [
|
||||||
@ -461,7 +461,7 @@
|
|||||||
};
|
};
|
||||||
})
|
})
|
||||||
self.nixosConfigurations;
|
self.nixosConfigurations;
|
||||||
homeManagerConfigurations = lib'.mapAttrs'
|
homeConfigurations = lib'.mapAttrs'
|
||||||
(name: value:
|
(name: value:
|
||||||
lib'.nameValuePair "home-manager-${name}" {
|
lib'.nameValuePair "home-manager-${name}" {
|
||||||
hostname = name;
|
hostname = name;
|
||||||
@ -471,9 +471,9 @@
|
|||||||
path = inputs.deploy.lib.${defaultSystem}.activate.home-manager value;
|
path = inputs.deploy.lib.${defaultSystem}.activate.home-manager value;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
self.homeManagerConfigurations;
|
self.homeConfigurations;
|
||||||
in
|
in
|
||||||
nixosConfigurations // homeManagerConfigurations;
|
nixosConfigurations // homeConfigurations;
|
||||||
|
|
||||||
# How to make yourself slightly saner than before. So far the main checks
|
# How to make yourself slightly saner than before. So far the main checks
|
||||||
# are for deploy nodes.
|
# are for deploy nodes.
|
||||||
|
Loading…
Reference in New Issue
Block a user