ops/nixos: import home-manager into lib/common

This commit is contained in:
Luke Granger-Brown 2020-10-31 11:44:52 +00:00
parent 4ea585daa2
commit d3bee9d2de
2 changed files with 2 additions and 2 deletions

View file

@ -7,8 +7,6 @@ let
inherit (lib) mkBefore;
in
{
imports = [ ../../../third_party/home-manager/nixos ];
config = {
my.home-manager.imports = lib.mkAfter [ ./home-manager/client.nix ];
nix.gc.automatic = false;

View file

@ -7,6 +7,8 @@ let
inherit (lib) mkDefault;
in
{
imports = [ ../../../third_party/home-manager/nixos ];
options.my.home-manager.imports = lib.mkOption {
type = lib.types.listOf lib.types.path;
default = [ ./home-manager/common.nix ];