diff options
| author | Mike Vink <mike1994vink@gmail.com> | 2024-04-05 10:59:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-05 10:59:38 +0200 |
| commit | 6bd39d420578aacf7c0bab7de3e7027b952115ae (patch) | |
| tree | e84978f345a91441855c396331aee4c68ee77c03 /modules/system/defaults | |
| parent | d7f1482c47503d6508657ebcbaeef281b78c6c56 (diff) | |
| parent | 36524adc31566655f2f4d55ad6b875fb5c1a4083 (diff) | |
Merge branch 'LnL7:master' into master
Diffstat (limited to 'modules/system/defaults')
| -rw-r--r-- | modules/system/defaults/NSGlobalDomain.nix | 8 | ||||
| -rw-r--r-- | modules/system/defaults/dock.nix | 13 |
2 files changed, 21 insertions, 0 deletions
diff --git a/modules/system/defaults/NSGlobalDomain.nix b/modules/system/defaults/NSGlobalDomain.nix index 4f08d4a..03a7da2 100644 --- a/modules/system/defaults/NSGlobalDomain.nix +++ b/modules/system/defaults/NSGlobalDomain.nix @@ -225,6 +225,14 @@ in { ''; }; + system.defaults.NSGlobalDomain.NSWindowShouldDragOnGesture = mkOption { + type = types.nullOr types.bool; + default = null; + description = lib.mdDoc '' + Whether to enable moving window by holding anywhere on it like on Linux. The default is false. + ''; + }; + system.defaults.NSGlobalDomain.InitialKeyRepeat = mkOption { type = types.nullOr types.int; default = null; diff --git a/modules/system/defaults/dock.nix b/modules/system/defaults/dock.nix index 7fda0da..9d54f75 100644 --- a/modules/system/defaults/dock.nix +++ b/modules/system/defaults/dock.nix @@ -123,6 +123,19 @@ in { ''; }; + system.defaults.dock.persistent-apps = mkOption { + type = types.nullOr (types.listOf (types.either types.path types.str)); + default = null; + example = [ "/Applications/Safari.app" "/System/Applications/Utilities/Terminal.app" ]; + description = lib.mdDoc '' + Persistent applications in the dock. + ''; + apply = value: + if !(isList value) + then value + else map (app: { tile-data = { file-data = { _CFURLString = app; _CFURLStringType = 0; }; }; }) value; + }; + system.defaults.dock.show-process-indicators = mkOption { type = types.nullOr types.bool; default = null; |
