Use greetd to start gamescope session, enable sshd server for remote
operation
This commit is contained in:
parent
977c3861b6
commit
da92441380
|
@ -4,14 +4,13 @@
|
||||||
../../hardware/audio.nix
|
../../hardware/audio.nix
|
||||||
../../hardware/bluetooth.nix
|
../../hardware/bluetooth.nix
|
||||||
../../locales/en_GB.nix
|
../../locales/en_GB.nix
|
||||||
../../desktop/sddm.nix
|
../../services/sshd
|
||||||
];
|
];
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "Vanguard"; # Define your hostname.
|
hostName = "Vanguard"; # Define your hostname.
|
||||||
nameservers = ["192.168.1.230" "9.9.9.9"];
|
nameservers = ["192.168.1.230" "9.9.9.9"];
|
||||||
firewall = {enable = true;};
|
firewall = {enable = true;};
|
||||||
};
|
};
|
||||||
services.xserver.displayManager.defaultSession = "steam";
|
|
||||||
environment.systemPackages = with pkgs; [mesa];
|
environment.systemPackages = with pkgs; [mesa];
|
||||||
|
|
||||||
# Steam
|
# Steam
|
||||||
|
@ -27,9 +26,6 @@
|
||||||
hardware.steam-hardware.enable = true;
|
hardware.steam-hardware.enable = true;
|
||||||
hardware.opengl.driSupport32Bit = true;
|
hardware.opengl.driSupport32Bit = true;
|
||||||
|
|
||||||
# Requirements for Star Citizen
|
|
||||||
boot.kernel.sysctl."vm.max_map_count" = 16777216;
|
|
||||||
|
|
||||||
users.users.xenia = {
|
users.users.xenia = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Evie Litherland-Smith";
|
description = "Evie Litherland-Smith";
|
||||||
|
@ -38,4 +34,15 @@
|
||||||
openssh.authorizedKeys.keys = import ../../auth/authorized_keys.nix;
|
openssh.authorizedKeys.keys = import ../../auth/authorized_keys.nix;
|
||||||
};
|
};
|
||||||
home-manager.users.xenia = import ./xenia.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;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue