mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
superConfig -> nixos
This commit is contained in:
parent
59dcb0c998
commit
8a7022d918
5 changed files with 15 additions and 15 deletions
|
|
@ -8,7 +8,7 @@ with lib;
|
|||
modules = singleton ../../modules/home;
|
||||
specialArgs = {
|
||||
inherit sources tf meta;
|
||||
superConfig = config;
|
||||
nixos = config;
|
||||
modulesPath = sources.home-manager + "/modules";
|
||||
};
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
})
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue