add function to mirror system config in home config

This commit is contained in:
greyweather committed 2026-08-28 04:07:48 +01:00
1 parent 3af64e993c
commit 1c1174edd3
10 files changed
+69 -20

No files matched your search

+5 -1
View File
@@ -1,6 +1,10 @@
{ inputs, self, ... }: {
flake.homeModules.graphics = { pkgs, config, lib, ... }: {
flake.nixosModules.graphics = { pkgs, config, lib, ... }: {
options.features.applications.gui.kitty.enable = lib.mkEnableOption "kitty";
};
flake.homeModules.graphics = { pkgs, config, lib, ... }: {
options.features.applications.gui.kitty.enable = lib.mkOption (config.helpers.inheritOsConfigToHome "features.applications.gui.kitty.enable");
config = lib.mkIf (config.features.applications.gui.kitty.enable) {
programs.kitty = {