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-sans
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 pkgs.vesktop
62
63 pkgs.gnome.gnome-tweaks
64 pkgs.gnome.gnome-shell-extensions
65 pkgs.gnomeExtensions.appindicator
66 pkgs.gnomeExtensions.dash-to-dock
67 pkgs.gnomeExtensions.search-light
68 pkgs.gnomeExtensions.hide-top-bar
69
70 pkgs.prompt
71 pkgs.zed-editor
72 # inputs.zed.packages.${pkgs.system}.zed-editor
73
74 ] ++ (import ./bin { inherit pkgs host; });
75
76 dconf.settings = {
77 "org/gnome/mutter" = {
78 experimental-features = [ "scale-monitor-framebuffer" ];
79 };
80 "org/gnome/desktop/input-sources" = {
81 show-all-sources = true;
82 sources = [
83 (mkTuple [
84 "xkb"
85 "us+workman"
86 ])
87 (mkTuple [
88 "xkb"
89 "us"
90 ])
91 ];
92 xkb-options = [
93 "terminate:ctrl_alt_bksp"
94 "compose:ralt"
95 ];
96 };
97 "org/gnome/mutter" = {
98 overlay-key = [ "" ];
99 };
100 "org/gnome/shell/extensions/search-light" = {
101 shortcut-search = [ "<Super>space" ];
102 };
103 "org/gnome/settings-daemon/plugins/media-keys" = {
104 screensaver = [ "<Control><Super>q" ];
105 };
106
107 };
108
109 xdg = {
110 userDirs = {
111 enable = true;
112 desktop = "\$HOME/desktop";
113 documents = "\$HOME/docs";
114 download = "\$HOME/downloads";
115 pictures = "\$HOME/pics";
116 videos = "\$HOME/vids";
117 };
118 };
119
120}