2023-06-17 10:27:02 +01:00
|
|
|
{pkgs, ...}: {
|
|
|
|
imports = [
|
|
|
|
../../common.nix
|
|
|
|
../../hardware/audio.nix
|
|
|
|
../../hardware/bluetooth.nix
|
|
|
|
../../locales/en_GB.nix
|
2023-06-18 10:17:39 +01:00
|
|
|
../../services/sshd
|
2023-06-17 10:27:02 +01:00
|
|
|
];
|
|
|
|
networking = {
|
|
|
|
hostName = "Vanguard"; # Define your hostname.
|
|
|
|
nameservers = ["192.168.1.230" "9.9.9.9"];
|
|
|
|
firewall = {enable = true;};
|
|
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [mesa];
|
|
|
|
|
|
|
|
# Steam
|
2023-06-17 10:38:13 +01:00
|
|
|
programs.gamescope = {
|
|
|
|
enable = true;
|
|
|
|
capSysNice = true;
|
|
|
|
};
|
2023-06-17 10:27:02 +01:00
|
|
|
programs.steam = {
|
|
|
|
enable = true;
|
|
|
|
remotePlay.openFirewall = true;
|
|
|
|
gamescopeSession.enable = true;
|
|
|
|
};
|
|
|
|
hardware.steam-hardware.enable = true;
|
|
|
|
hardware.opengl.driSupport32Bit = true;
|
|
|
|
|
|
|
|
users.users.xenia = {
|
|
|
|
isNormalUser = true;
|
|
|
|
description = "Evie Litherland-Smith";
|
|
|
|
extraGroups = ["networkmanager" "wheel"];
|
|
|
|
shell = pkgs.fish;
|
|
|
|
openssh.authorizedKeys.keys = import ../../auth/authorized_keys.nix;
|
|
|
|
};
|
|
|
|
home-manager.users.xenia = import ./xenia.nix;
|
2023-06-18 10:17:39 +01:00
|
|
|
|
|
|
|
services.greetd = {
|
|
|
|
enable = true;
|
|
|
|
settings = rec {
|
|
|
|
initial_session = {
|
|
|
|
command = "${pkgs.gamescope}/bin/gamescope --steam -- steam -tenfoot -pipewire-dmabuf";
|
|
|
|
user = "xenia";
|
|
|
|
};
|
|
|
|
default_session = initial_session;
|
|
|
|
};
|
|
|
|
};
|
2023-06-17 10:27:02 +01:00
|
|
|
}
|