all repos — dotfiles @ ea333c82d09f370b1a0a8e9a1f87e9570571043f

my *nix dotfiles

home.nix (view raw)

  1{ config
  2, pkgs
  3, self
  4, host
  5, lib
  6, ...
  7}:
  8
  9let
 10  mkTuple = lib.hm.gvariant.mkTuple;
 11in
 12{
 13
 14  imports = [
 15    ./programs
 16    ./services
 17  ];
 18
 19  fonts.fontconfig.enable = true;
 20  manual.manpages.enable = true;
 21
 22  home.stateVersion = "24.11";
 23  home.username = "icy";
 24  home.homeDirectory = "/home/icy";
 25  home.extraOutputsToInstall = [ "man" ];
 26
 27  home.packages = [
 28    pkgs.git
 29    pkgs.unzip
 30    pkgs.curl
 31    pkgs.tmux
 32    pkgs.ripgrep
 33    pkgs.fd
 34    pkgs.imagemagick
 35    pkgs.ffmpeg
 36    pkgs.wget
 37    pkgs.tree
 38    pkgs.mpv
 39    pkgs.noto-fonts-cjk
 40    pkgs.noto-fonts-emoji
 41    pkgs.jq
 42    pkgs.yq-go
 43    pkgs.fzy
 44    pkgs.nixpkgs-fmt
 45    pkgs.libnotify
 46    pkgs.signal-desktop-beta
 47    pkgs.calibre
 48    pkgs.pinentry
 49    pkgs.libreoffice
 50    pkgs.go
 51    pkgs.dconf
 52    pkgs.chromium
 53    pkgs.nix-your-shell
 54    pkgs.geary
 55    pkgs.pass
 56    pkgs.newsflash
 57    pkgs.errands
 58    pkgs.wl-clipboard
 59    pkgs.nvtop
 60
 61    pkgs.gnome3.gnome-tweaks
 62    pkgs.gnome3.gnome-shell-extensions
 63    pkgs.gnomeExtensions.appindicator
 64    pkgs.gnomeExtensions.dash-to-dock
 65    pkgs.gnomeExtensions.search-light
 66    pkgs.gnomeExtensions.hide-top-bar
 67
 68    pkgs.zed-editor_git
 69
 70  ] ++ (import ./bin { inherit pkgs host; });
 71
 72  dconf.settings = {
 73    "org/gnome/mutter" = {
 74      experimental-features = [ "scale-monitor-framebuffer" ];
 75    };
 76    "org/gnome/desktop/input-sources" = {
 77      show-all-sources = true;
 78      sources = [ (mkTuple [ "xkb" "us+workman" ]) (mkTuple [ "xkb" "us" ]) ];
 79      xkb-options = [ "terminate:ctrl_alt_bksp" "compose:ralt" ];
 80    };
 81    "org/gnome/mutter" = {
 82      overlay-key = [ "" ];
 83    };
 84    "org/gnome/shell/extensions/search-light" = {
 85      shortcut-search = [ "<Super>space" ];
 86    };
 87    "org/gnome/settings-daemon/plugins/media-keys" = {
 88      screensaver = [ "<Control><Super>q" ];
 89    };
 90
 91  };
 92
 93  xdg = {
 94    userDirs = {
 95      enable = true;
 96      desktop = "\$HOME/desktop";
 97      documents = "\$HOME/docs";
 98      download = "\$HOME/downloads";
 99      pictures = "\$HOME/pics";
100      videos = "\$HOME/vids";
101    };
102  };
103
104}
105
106