add tigervnc import
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
|
||||
{
|
||||
imports = [
|
||||
./tigervnc.nix
|
||||
./hardware/hardware-configuration.nix
|
||||
];
|
||||
|
||||
@@ -50,8 +51,13 @@
|
||||
displayManager.gdm.enable = false;
|
||||
displayManager.sddm.enable = true;
|
||||
displayManager.sddm.wayland.enable = true;
|
||||
displayManager.autoLogin = {
|
||||
enable = false;
|
||||
user = "andreas";
|
||||
};
|
||||
|
||||
displayManager.cosmic-greeter.enable = false;
|
||||
displayManager.defaultSession = "gnome";
|
||||
displayManager.defaultSession = "cinnamon";
|
||||
|
||||
xserver = {
|
||||
enable = true; # Enable the deprecated X11 teletype terminal connection system.
|
||||
@@ -255,6 +261,22 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
services.xrdp = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
defaultWindowManager = "cinnamon-session";
|
||||
};
|
||||
|
||||
### tigervnc
|
||||
services.tigervnc = {
|
||||
enable = true;
|
||||
users = {
|
||||
andreas = {
|
||||
localhost = false; # true for SSH-only
|
||||
};
|
||||
};
|
||||
};
|
||||
### tigervnc END
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
|
||||
Reference in New Issue
Block a user