refactor dconf stuff

This commit is contained in:
Adithya 2023-04-08 18:32:45 +05:30
parent 1e6a1c579b
commit 22d166e050
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
5 changed files with 23 additions and 18 deletions

View file

@ -26,15 +26,6 @@ in
./services ./services
]; ];
dconf.settings = {
"io/elementary/files/preferences" = {
"singleclick-select" = true;
};
"org/gtk/settings/file-chooser" = {
"sort-directories-first" = true;
};
};
xdg.enable = true; xdg.enable = true;
xdg.mime.enable = true; xdg.mime.enable = true;
xdg.mimeApps.enable = true; xdg.mimeApps.enable = true;

View file

@ -42,7 +42,13 @@ in
dconf.settings = { dconf.settings = {
"org/gnome/desktop/interface" = { "org/gnome/desktop/interface" = {
"color-scheme" = "prefer-dark"; color-scheme = "prefer-dark";
};
"org/gnome/desktop/wm/preferences" = {
button-layout = ":appmenu";
};
"org/gtk/settings/file-chooser" = {
sort-directories-first = true;
}; };
}; };
} }

View file

@ -5,6 +5,7 @@
./btop.nix ./btop.nix
./direnv.nix ./direnv.nix
./exa.nix ./exa.nix
./files.nix
./firefox.nix ./firefox.nix
./git.nix ./git.nix
./github-cli.nix ./github-cli.nix
@ -29,7 +30,6 @@
gnome.gnome-system-monitor gnome.gnome-system-monitor
gnome3.gnome-disk-utility gnome3.gnome-disk-utility
lazydocker lazydocker
pantheon.elementary-files
pavucontrol pavucontrol
ripgrep ripgrep
spotify-tui spotify-tui

8
home/programs/files.nix Normal file
View file

@ -0,0 +1,8 @@
{ pkgs, ... }: {
home.packages = [ pkgs.pantheon.elementary-files ];
dconf.settings = {
"io/elementary/files/preferences" = {
singleclick-select = true;
};
};
}

View file

@ -2,17 +2,17 @@
home.packages = [ pkgs.virt-manager ]; home.packages = [ pkgs.virt-manager ];
dconf.settings = { dconf.settings = {
"org/virt-manager/virt-manager/confirm" = { "org/virt-manager/virt-manager/confirm" = {
"forcepoweroff" = false; forcepoweroff = false;
}; };
"org/virt-manager/virt-manager/connections" = { "org/virt-manager/virt-manager/connections" = {
"autoconnect" = [ "qemu:///system" ]; autoconnect = [ "qemu:///system" ];
"uris" = [ "qemu:///system" ]; uris = [ "qemu:///system" ];
}; };
"org/virt-manager/virt-manager/new-vm" = { "firmware" = "uefi"; }; "org/virt-manager/virt-manager/new-vm" = { firmware = "uefi"; };
"org/virt-manager/virt-manager/stats" = { "org/virt-manager/virt-manager/stats" = {
"enable-disk-poll" = true; enable-disk-poll = true;
"enable-net-poll" = true; enable-net-poll = true;
}; };
"org/virt-manager/virt-manager/vmlist-fields" = { "network-traffic" = true; }; "org/virt-manager/virt-manager/vmlist-fields" = { network-traffic = true; };
}; };
} }