add function to mirror system config in home config
This commit is contained in:
10 files changed
+69
-20
No files matched your search
@@ -20,7 +20,9 @@
|
||||
};
|
||||
|
||||
flake.homeModules.graphics = { pkgs, osConfig, config, lib, ... }: {
|
||||
config = lib.mkIf (builtins.hasAttr "osConfig" self) (lib.mkIf (osConfig.features.applications.gui.nautilus.enable) {
|
||||
options.features.applications.gui.nautilus.enable = lib.mkOption (config.helpers.inheritOsConfigToHome "features.applications.gui.nautilus.enable");
|
||||
|
||||
config = lib.mkIf (config.features.applications.gui.nautilus.enable) {
|
||||
gtk.gtk3.bookmarks = [
|
||||
"file://${config.info.rootPath} NixOS"
|
||||
"file:///home/grey/Downloads Downloads"
|
||||
@@ -30,6 +32,6 @@
|
||||
"file:///home/grey/Videos Videos"
|
||||
"file:/// Root"
|
||||
];
|
||||
});
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user