aboutsummaryrefslogtreecommitdiff
path: root/config/dconf
diff options
context:
space:
mode:
authorKenny Ballou <kballou@devnulllabs.io>2020-10-14 10:05:44 -0600
committerKenny Ballou <kballou@devnulllabs.io>2020-12-15 14:04:46 -0700
commit418ec7b94aa8202e5f5f0a59f2bb97a7c0510068 (patch)
tree0a08e1653ba5d8efc527bbaf4e5914ffb9c8b6b9 /config/dconf
parent164cd37871e6235584ce23f3a0bf516a51b31489 (diff)
downloaddotfiles-418ec7b94aa8202e5f5f0a59f2bb97a7c0510068.tar.gz
dotfiles-418ec7b94aa8202e5f5f0a59f2bb97a7c0510068.tar.xz
dots: now for something completely different
Use home-manager to configure user packages, dotfiles, and various other configurations. Add home-manager configuration for installing and managing user packages and profiles. Convert nearly all configuration to use home-manager to install and link configuration files. In no particular order of reference, I've used and/or referenced the following configurations and posts for this homeification: [[0], [1], [2], [3], [4], [5], [6], [7], [8], [9], [10]]. [0]: https://gitlab.com/NobbZ/nix-home-manager-dotfiles [1]: https://www.malloc47.com/migrating-to-nixos/ [2]: https://lucperkins.dev/blog/home-manager/ [3]: https://github.com/jwiegley/nix-config [4]: https://www.thedroneely.com/posts/declarative-user-package-management-in-nixos/ [5]: https://hugoreeves.com/posts/2019/nix-home/ [6]: https://rycee.gitlab.io/home-manager/ [7]: https://rycee.net/posts/2017-07-02-manage-your-home-with-nix.html [8]: https://github.com/abcdw/rde [9]: https://github.com/ryantm/dotfiles [10]: https://git.sr.ht/~vdemeester/home Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
Diffstat (limited to 'config/dconf')
-rw-r--r--config/dconf/default.nix47
1 files changed, 47 insertions, 0 deletions
diff --git a/config/dconf/default.nix b/config/dconf/default.nix
new file mode 100644
index 00000000..1bf92c75
--- /dev/null
+++ b/config/dconf/default.nix
@@ -0,0 +1,47 @@
+{ lib, pkgs, config, ... }:
+let
+ home = config.home;
+ mkTuple = lib.hm.gvariant.mkTuple;
+ mkUint32 = lib.hm.gvariant.mkUint32;
+in
+{
+ dconf = {
+ enable = true;
+ settings = {
+ "org/gnome/desktop/privacy" = {
+ "recent-files-max-age" = -1;
+ "remove-old-temp-files" = true;
+ "remove-old-trash-files" = true;
+ };
+ "org/gnome/desktop/wm/keybindings" = {
+ "activate-window-menu" = "@as []";
+ "panel-run-dialog" = [ "<Alt>space" ];
+ };
+ "org/gnome/settings-daemon/media-keys/custom-keybindings/custom1" = {
+ "binding" = "<Alt>Return";
+ "command" = "${pkgs.alacritty}/bin/alacritty";
+ "name" = "alacritty";
+ };
+ "org/gnome/desktop/background" = {
+ "picture-uri" = "file://${home.homeDirectory}/pictures/wallpapers/background.png";
+ };
+ "org/gnome/desktop/screensaver" = {
+ "picture-uri" = "file://${home.homeDirectory}/pictures/wallpapers/screensaver.png";
+ };
+ "org/gnome/settings-daemon/plugins/color" = {
+ "night-light-enabled" = true;
+ "night-light-schedule-automatic" = false;
+ "night-light-schedule-from" = 22.0;
+ "night-light-schedule-to" = 7.0;
+ "night-light-temperature" = mkUint32 2700;
+ };
+ "org/gnome/desktop/wm/preferences" = {
+ "button-layout" = "appmenu:minimize,maximize,close";
+ "focus-mode" = "sloppy"; # focus on hover
+ "mouse-button-modifier" = "<Alt>";
+ "resize-with-right-button" = true;
+ "titlebar-font" = "DejaVu Sans 11";
+ };
+ };
+ };
+}