rearrange gnome system and home config
This commit is contained in:
parent
a4720dcec9
commit
74946fcd6d
6 changed files with 10 additions and 15 deletions
|
|
@ -1,14 +1,14 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.gnome-custom;
|
||||
cfg = config.gnome-home-custom;
|
||||
# Import gvariant helpers for dconf types
|
||||
mkTuple = lib.hm.gvariant.mkTuple;
|
||||
mkUint32 = lib.hm.gvariant.mkUint32;
|
||||
in
|
||||
|
||||
{
|
||||
options.gnome-custom = {
|
||||
options.gnome-home-custom = {
|
||||
alwaysShowTopBar = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
|
|
@ -123,11 +123,6 @@ in
|
|||
tile-bottomleft-quarter = [ "<Super>f" ]; # Bottom-left: Super+F
|
||||
tile-bottomright-quarter = [ "<Super>g" ]; # Bottom-right: Super+G
|
||||
};
|
||||
|
||||
# NOTE: vim-style hjkl keybindings (Super+h/j/k/l) are configured at the
|
||||
# system level in desktop.nix with lockAll = true to prevent them from
|
||||
# being overridden after suspend/resume or by GNOME extensions
|
||||
|
||||
};
|
||||
|
||||
# IBus Mozc (Japanese) configuration - default to Hiragana input mode
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.desktop-custom;
|
||||
cfg = config.gnome-system-custom;
|
||||
# Import gvariant for dconf types
|
||||
mkTuple = lib.gvariant.mkTuple;
|
||||
mkUint32 = lib.gvariant.mkUint32;
|
||||
|
|
@ -11,7 +11,7 @@ let
|
|||
in
|
||||
|
||||
{
|
||||
options.desktop-custom = {
|
||||
options.gnome-system-custom = {
|
||||
enableDisplayManager = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
Loading…
Add table
Add a link
Reference in a new issue