|
9 | 9 | {
|
10 | 10 | imports = [
|
11 | 11 | ../home.nix
|
12 |
| - ../battery.nix |
| 12 | + # ../battery.nix |
13 | 13 | ./packages.nix
|
14 | 14 | ../desktop-packages.nix
|
15 | 15 | ./ssh.nix
|
16 | 16 | ../alacritty.nix
|
17 | 17 | ./autorandr.nix
|
18 | 18 | ../i3.nix
|
19 |
| - ./polybar.nix |
| 19 | + # ./polybar.nix |
20 | 20 | ../dunst.nix
|
21 | 21 | ./vim.nix
|
22 |
| - ./neovim.nix |
| 22 | + ../neovim/default.nix |
23 | 23 | ./helix.nix
|
| 24 | + # ./android.nix |
24 | 25 | ];
|
25 | 26 |
|
26 | 27 | home = {
|
|
33 | 34 | HTTPSTAT_SAVE_BODY = "false";
|
34 | 35 | NIXPKGS_ALLOW_UNFREE = "1";
|
35 | 36 |
|
36 |
| - NIX_CFLAGS_COMPILE_x86_64_unknown_linux_gnu = "-I/run/current-system/sw/include"; |
37 |
| - NIX_CFLAGS_LINK_x86_64_unknown_linux_gnu = "-L/run/current-system/sw/lib:/home/tchekda/.nix-profile/lib"; |
| 37 | + NIX_CFLAGS_COMPILE_x86_64_unknown_linux_gnu = "-I/run/current-system/sw/include -I/home/tchekda/.nix-profile/include"; |
| 38 | + NIX_CFLAGS_LINK_x86_64_unknown_linux_gnu = "-L/run/current-system/sw/lib -L/home/tchekda/.nix-profile/lib"; |
38 | 39 |
|
39 | 40 | IDEA_JDK = "/run/current-system/sw/lib/openjdk/";
|
40 | 41 | PKG_CONFIG_PATH = "/run/current-system/sw/lib/pkgconfig:/home/tchekda/.nix-profile/lib/pkgconfig";
|
|
54 | 55 |
|
55 | 56 | home-manager.enable = true;
|
56 | 57 |
|
57 |
| - # man.generateCaches = true; |
58 |
| - |
59 |
| - ssh.extraOptionOverrides = { |
60 |
| - "IdentityFile" = "~/.ssh/id_ecdsa_sk"; |
61 |
| - }; |
| 58 | + man.generateCaches = true; |
62 | 59 |
|
63 | 60 | vscode = {
|
64 | 61 | enable = true;
|
65 |
| - package = pkgs.vscode; |
| 62 | + package = unstable.vscode; |
| 63 | + extensions = with pkgs.vscode-extensions; [ |
| 64 | + llvm-vs-code-extensions.vscode-clangd |
| 65 | + ]; |
66 | 66 | };
|
67 | 67 | };
|
68 | 68 |
|
69 | 69 | services = {
|
70 | 70 |
|
71 |
| - caffeine.enable = true; |
| 71 | + caffeine.enable = false; |
72 | 72 |
|
73 |
| - |
74 |
| - dropbox.enable = true; |
| 73 | + # dropbox.enable = true; |
75 | 74 |
|
76 | 75 | gnome-keyring.enable = true;
|
77 | 76 |
|
|
84 | 83 | mpris-proxy.enable = true;
|
85 | 84 |
|
86 | 85 | picom = {
|
87 |
| - enable = true; |
| 86 | + enable = false; |
88 | 87 | vSync = true;
|
89 | 88 | shadow = true;
|
90 | 89 | shadowExclude = [ "window_type *= 'normal' && ! name ~= ''" ];
|
|
96 | 95 |
|
97 | 96 | systemd.user.services = {
|
98 | 97 |
|
99 |
| - dropbox.Install.WantedBy = lib.mkForce [ ]; |
100 |
| - |
101 |
| - xautolock = { |
102 |
| - Unit = { |
103 |
| - Description = "xautolock, session locker service"; |
104 |
| - After = [ "graphical-session-pre.target" ]; |
105 |
| - PartOf = [ "graphical-session.target" ]; |
106 |
| - }; |
107 |
| - |
108 |
| - Install = { WantedBy = [ "graphical-session.target" ]; }; |
109 |
| - |
110 |
| - Service = { |
111 |
| - ExecStart = '' |
112 |
| - ${pkgs.xautolock}/bin/xautolock -noclose -detectsleep -time 60 \ |
113 |
| - -locker "${pkgs.i3lock-color}/bin/i3lock-color -ti ${screenlocker} \ |
114 |
| - --clock --pass-media-keys --pass-screen-keys --pass-power-keys --pass-volume-keys" \ |
115 |
| - -notifier "${pkgs.libnotify}/bin/notify-send 'Locking in 30 seconds'" -notify 30 \ |
116 |
| - ''; |
117 |
| - # -killer "/run/current-system/systemd/bin/systemctl hibernate" -killtime 15 |
118 |
| - Restart = "on-failure"; |
119 |
| - }; |
120 |
| - }; |
121 |
| - |
122 |
| - xss-lock = { |
123 |
| - Unit = { |
124 |
| - Description = "xss-lock, session locker service"; |
125 |
| - After = [ "graphical-session-pre.target" ]; |
126 |
| - PartOf = [ "graphical-session.target" ]; |
127 |
| - }; |
128 |
| - |
129 |
| - Install = { WantedBy = [ "graphical-session.target" ]; }; |
130 |
| - |
131 |
| - Service = { |
132 |
| - Environment = "XDG_SESSION_TYPE=x11"; |
133 |
| - ExecStart = "${pkgs.xss-lock}/bin/xss-lock -l -s \${XDG_SESSION_ID} -- ${pkgs.xautolock}/bin/xautolock -locknow"; |
134 |
| - }; |
135 |
| - }; |
| 98 | + # dropbox.Install.WantedBy = lib.mkForce [ ]; |
| 99 | + |
| 100 | + # xautolock = { |
| 101 | + # Unit = { |
| 102 | + # Description = "xautolock, session locker service"; |
| 103 | + # After = [ "graphical-session-pre.target" ]; |
| 104 | + # PartOf = [ "graphical-session.target" ]; |
| 105 | + # }; |
| 106 | + |
| 107 | + # Install = { WantedBy = [ "graphical-session.target" ]; }; |
| 108 | + |
| 109 | + # Service = { |
| 110 | + # ExecStart = '' |
| 111 | + # ${pkgs.xautolock}/bin/xautolock -noclose -detectsleep -time 60 \ |
| 112 | + # -locker "${pkgs.i3lock-color}/bin/i3lock-color -ti ${screenlocker} \ |
| 113 | + # --clock --pass-media-keys --pass-screen-keys --pass-power-keys --pass-volume-keys" \ |
| 114 | + # -notifier "${pkgs.libnotify}/bin/notify-send 'Locking in 30 seconds'" -notify 30 \ |
| 115 | + # ''; |
| 116 | + # # -killer "/run/current-system/systemd/bin/systemctl hibernate" -killtime 15 |
| 117 | + # Restart = "on-failure"; |
| 118 | + # }; |
| 119 | + # }; |
| 120 | + |
| 121 | + # xss-lock = { |
| 122 | + # Unit = { |
| 123 | + # Description = "xss-lock, session locker service"; |
| 124 | + # After = [ "graphical-session-pre.target" ]; |
| 125 | + # PartOf = [ "graphical-session.target" ]; |
| 126 | + # }; |
| 127 | + |
| 128 | + # Install = { WantedBy = [ "graphical-session.target" ]; }; |
| 129 | + |
| 130 | + # Service = { |
| 131 | + # Environment = "XDG_SESSION_TYPE=x11"; |
| 132 | + # ExecStart = "${pkgs.xss-lock}/bin/xss-lock -l -s \${XDG_SESSION_ID} -- ${pkgs.xautolock}/bin/xautolock -locknow"; |
| 133 | + # }; |
| 134 | + # }; |
136 | 135 |
|
137 | 136 | yubikey-touch-detector = {
|
138 | 137 | Unit = {
|
|
0 commit comments