TigerVNC: Difference between revisions
Dangerflask (talk | contribs) Add unmissable warning to draw attention to the Greater-than Sign not rendering properly |
m The xorg package set has been deprecated, 'xorg.xhost' has been renamed to 'xhost' and 'xorg.xauth' has been renamed to 'xauth' |
||
| Line 50: | Line 50: | ||
config = lib.mkIf cfg.enable { | config = lib.mkIf cfg.enable { | ||
environment.systemPackages = [ pkgs.tigervnc pkgs | environment.systemPackages = [ pkgs.tigervnc pkgs.xhost pkgs.xauth ]; | ||
systemd.user.services = lib.mapAttrs' (user: opts: | systemd.user.services = lib.mapAttrs' (user: opts: | ||
| Line 62: | Line 62: | ||
wantedBy = [ "graphical-session.target" ]; | wantedBy = [ "graphical-session.target" ]; | ||
path = [ pkgs.tigervnc pkgs | path = [ pkgs.tigervnc pkgs.xhost pkgs.xauth pkgs.coreutils ]; | ||
script = let | script = let | ||
| Line 112: | Line 112: | ||
} | } | ||
</nowiki>}} | </nowiki>|name=/etc/nixos/tigervnc.nix|lang=nix}} | ||
For an initial setup you need to set your password with <code>vncpasswd</code> | For an initial setup you need to set your password with <code>vncpasswd</code> | ||