superConfig -> nixos

This commit is contained in:
kat witch 2021-08-23 03:37:51 +01:00
parent 59dcb0c998
commit 8a7022d918
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
5 changed files with 15 additions and 15 deletions

View file

@ -8,7 +8,7 @@ with lib;
modules = singleton ../../modules/home;
specialArgs = {
inherit sources tf meta;
superConfig = config;
nixos = config;
modulesPath = sources.home-manager + "/modules";
};
});

View file

@ -25,7 +25,7 @@ with lib;
home-manager.users = mkOption {
type = types.attrsOf (types.submoduleWith {
modules = [
({ superConfig, ... }: {
({ nixos, ... }: {
options.deploy.profile = {
gui = mkEnableOption "Graphical System";
vfio = mkEnableOption "VFIO";
@ -45,7 +45,7 @@ with lib;
};
};
config = {
deploy.profile = superConfig.deploy.profile;
deploy.profile = nixos.deploy.profile;
};
})
];