aoife add dconf

This commit is contained in:
Vivian 2022-11-29 12:58:52 +01:00
parent eb4a55ac76
commit 669b18acd2
2 changed files with 65 additions and 12 deletions

View file

@ -0,0 +1,62 @@
# Generated via dconf2nix: https://github.com/gvolpe/dconf2nix
{ lib, ... }:
with lib.hm.gvariant;
{
dconf.settings = {
"org/gnome/desktop/input-sources" = {
sources = [ (mkTuple [ "xkb" "us+altgr-intl" ]) ];
xkb-options = [ "terminate:ctrl_alt_bksp" "caps:swapescape" ];
};
"org/gnome/desktop/peripherals/touchpad" = {
tap-to-click = true;
two-finger-scrolling-enabled = true;
};
"org/gnome/mutter" = {
attach-modal-dialogs = true;
dynamic-workspaces = true;
edge-tiling = true;
focus-change-on-pointer-rest = true;
workspaces-only-on-primary = true;
};
"org/gnome/mutter/keybindings" = {
"toggle-tiled-left" = [ "<Super>bracketleft" ];
"toggle-tiled-right" = [ "<Super>bracketright" ];
};
"org/gnome/desktop/wm/keybindings" = {
raise-or-lower = [ "<Super>s" ];
switch-applications = [ "<Super>Tab" ];
switch-applications-backward = [ "<Super>Tab" ];
move-to-workspace-1 = [ "<Shift><Super>exclam" ];
move-to-workspace-2 = [ "<Shift><Super>at" ];
move-to-workspace-3 = [ "<Shift><Super>numbersign" ];
move-to-workspace-4 = [ "<Shift><Super>dollar" ];
switch-to-workspace-1 = [ "<Super>1" ];
switch-to-workspace-2 = [ "<Super>2" ];
switch-to-workspace-3 = [ "<Super>3" ];
switch-to-workspace-4 = [ "<Super>4" ];
toggle-fullscreen = [ "<Super>f" ];
toggle-maximized = [ "<Super>m" ];
};
"org/gnome/settings-daemon/plugins/media-keys" = {
custom-keybindings = [
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/"
];
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" =
{
binding = "<Super>Return";
command = "kgx";
name = "Open Terminal";
};
"org/gnome/tweaks" = { show-extensions-notice = false; };
};
}

View file

@ -11,18 +11,9 @@ in {
home.homeDirectory = "/home/victor";
home.stateVersion = "23.05";
# # make sure applications show up in Gnome
# home.activation = {
# linkDesktopApplications = {
# after = [ "writeBoundary" "createXdgUserDirectories" ];
# before = [ ];
# data = ''
# rm -rf ${config.xdg.dataHome}/"applications/home-manager"
# mkdir -p ${config.xdg.dataHome}/"applications/home-manager"
# cp -Lr /etc/profiles/per-user/${config.home.username}/share/applications/* ${config.xdg.dataHome}/"applications/home-manager/"
# '';
# };
# };
imports = [
./dconf.nix
];
home.packages = with pkgs; [
btop