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