|
40 | 40 | ./docker-daemon.nix |
41 | 41 | #./smokeping.nix |
42 | 42 | ./distributed-builds.nix |
43 | | - ./hyprland.nix |
| 43 | + #./hyprland.nix |
44 | 44 | ]; |
45 | 45 |
|
46 | 46 | boot = { |
|
147 | 147 | wireplumber.enable = true; |
148 | 148 | }; |
149 | 149 |
|
| 150 | + # Enable PipeWire screen capture |
| 151 | + environment.sessionVariables = { |
| 152 | + TERM = "xterm-256color"; |
| 153 | + # PipeWire screen capture |
| 154 | + PIPEWIRE_SCREEN_CAPTURE = "1"; |
| 155 | + # Force Flameshot to use Wayland |
| 156 | + QT_QPA_PLATFORM = "wayland"; |
| 157 | + #MY_VARIABLE = "my-value"; |
| 158 | + }; |
| 159 | + |
150 | 160 | services.openssh.enable = true; |
151 | 161 | programs.ssh.extraConfig = '' |
152 | 162 | Host hp4.home |
|
173 | 183 | # https://nixos.wiki/wiki/Printing |
174 | 184 | services.printing.enable = true; |
175 | 185 |
|
| 186 | + # flameshot now in home.nix |
176 | 187 | # https://wiki.nixos.org/wiki/Flameshot |
177 | 188 | # services.flameshot = { |
178 | 189 | # enable = true; |
|
188 | 199 | services.clickhouse.enable = false; |
189 | 200 |
|
190 | 201 | # environment.variables defined in hardware-graphics.nix |
191 | | - environment.sessionVariables = { |
192 | | - TERM = "xterm-256color"; |
193 | | - #MY_VARIABLE = "my-value"; |
194 | | - }; |
| 202 | + # environment.sessionVariables = { |
| 203 | + # TERM = "xterm-256color"; |
| 204 | + # #MY_VARIABLE = "my-value"; |
| 205 | + # }; |
195 | 206 |
|
196 | 207 | users.users.das = { |
197 | 208 | isNormalUser = true; |
198 | 209 | description = "das"; |
199 | | - extraGroups = [ "wheel" "networkmanager" "kvm" "libvirtd" "docker" "video" ]; |
| 210 | + extraGroups = [ "wheel" "networkmanager" "kvm" "libvirtd" "docker" "video" "pipewire" ]; |
200 | 211 | packages = with pkgs; [ |
201 | 212 | ]; |
202 | 213 | # https://nixos.wiki/wiki/SSH_public_key_authentication |
|
247 | 258 |
|
248 | 259 | xdg.portal = { |
249 | 260 | enable = true; |
250 | | - extraPortals = with pkgs; [ xdg-desktop-portal-gtk ]; |
251 | | - config.common.default = "gtk"; |
| 261 | + extraPortals = with pkgs; [ |
| 262 | + xdg-desktop-portal-gnome |
| 263 | + ]; |
| 264 | + config.common.default = "gnome"; |
| 265 | + config.gnome.default = "gnome"; |
252 | 266 | }; |
253 | 267 |
|
254 | 268 | services.dbus.packages = with pkgs; [ |
|
0 commit comments