2024-08-27 07:55:25 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
|
|
|
imports = [ ./global.nix ];
|
|
|
|
|
|
|
|
services.xserver.enable = true;
|
|
|
|
services.xserver.displayManager.gdm.enable = true;
|
|
|
|
services.xserver.desktopManager.gnome.enable = true;
|
|
|
|
services.xserver.displayManager.autoLogin.enable = true;
|
2024-11-12 20:04:44 +00:00
|
|
|
services.xserver.displayManager.autoLogin.user = "b12f";
|
2024-08-27 07:55:25 +00:00
|
|
|
|
|
|
|
systemd.user.services = {
|
|
|
|
"org.gnome.Shell@wayland" = {
|
|
|
|
serviceConfig = {
|
|
|
|
ExecStart = [
|
|
|
|
# Clear the list before overriding it.
|
|
|
|
""
|
|
|
|
# Eval API is now internal so Shell needs to run in unsafe mode.
|
|
|
|
"${pkgs.gnome.gnome-shell}/bin/gnome-shell --unsafe-mode"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
networking.interfaces.eth0.ipv4.addresses = [
|
|
|
|
{
|
|
|
|
address = "192.168.1.2";
|
|
|
|
prefixLength = 32;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|