diff --git a/machines/Vanguard/default.nix b/machines/Vanguard/default.nix index 6a119161..7c5154b2 100644 --- a/machines/Vanguard/default.nix +++ b/machines/Vanguard/default.nix @@ -4,14 +4,13 @@ ../../hardware/audio.nix ../../hardware/bluetooth.nix ../../locales/en_GB.nix - ../../desktop/sddm.nix + ../../services/sshd ]; networking = { hostName = "Vanguard"; # Define your hostname. nameservers = ["192.168.1.230" "9.9.9.9"]; firewall = {enable = true;}; }; - services.xserver.displayManager.defaultSession = "steam"; environment.systemPackages = with pkgs; [mesa]; # Steam @@ -27,9 +26,6 @@ hardware.steam-hardware.enable = true; hardware.opengl.driSupport32Bit = true; - # Requirements for Star Citizen - boot.kernel.sysctl."vm.max_map_count" = 16777216; - users.users.xenia = { isNormalUser = true; description = "Evie Litherland-Smith"; @@ -38,4 +34,15 @@ openssh.authorizedKeys.keys = import ../../auth/authorized_keys.nix; }; home-manager.users.xenia = import ./xenia.nix; + + services.greetd = { + enable = true; + settings = rec { + initial_session = { + command = "${pkgs.gamescope}/bin/gamescope --steam -- steam -tenfoot -pipewire-dmabuf"; + user = "xenia"; + }; + default_session = initial_session; + }; + }; }