add function to mirror system config in home config
This commit is contained in:
10 files changed
+69
-20
No files matched your search
@@ -1,6 +1,10 @@
|
||||
{ inputs, self, ... }: {
|
||||
flake.homeModules.graphics = { config, pkgs, lib, ... }: {
|
||||
flake.nixosModules.graphics = { config, pkgs, lib, ... }: {
|
||||
options.features.applications.gui.vscode.enable = lib.mkEnableOption "vscode";
|
||||
};
|
||||
|
||||
flake.homeModules.graphics = { config, pkgs, lib, ... }: {
|
||||
options.features.applications.gui.vscode.enable = lib.mkOption (config.helpers.inheritOsConfigToHome "features.applications.gui.vscode.enable");
|
||||
|
||||
config = lib.mkIf (config.features.applications.gui.vscode.enable) {
|
||||
home.packages = [ pkgs.vscode ];
|
||||
|
||||
Reference in new issue
Block a user