2024-08-29 03:26:04 +02:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
2020-11-12 20:05:43 +01:00
|
|
|
|
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
|
|
|
desktopManager = {
|
|
|
|
xterm.enable = false;
|
|
|
|
xfce.enable = true;
|
|
|
|
};
|
|
|
|
displayManager = {
|
2020-11-12 20:20:54 +01:00
|
|
|
defaultSession = "xfce";
|
2020-11-12 20:05:43 +01:00
|
|
|
sddm = {
|
|
|
|
enable = true;
|
|
|
|
autoLogin = {
|
|
|
|
enable = true;
|
|
|
|
relogin = true;
|
|
|
|
user = config.users.users.mainUser.name;
|
|
|
|
};
|
|
|
|
};
|
2020-11-12 20:20:54 +01:00
|
|
|
sessionCommands = ''
|
|
|
|
${pkgs.mumble}/bin/mumble &
|
|
|
|
${pkgs.vlc}/bin/vlc &
|
2020-11-12 22:30:35 +01:00
|
|
|
${pkgs.pavucontrol}/bin/pavucontrol &
|
|
|
|
'';
|
2020-11-12 20:05:43 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# mouse/touchpad
|
|
|
|
# --------------
|
|
|
|
libinput = {
|
|
|
|
enable = true;
|
|
|
|
disableWhileTyping = true;
|
|
|
|
tapping = true;
|
|
|
|
scrollMethod = "twofinger";
|
|
|
|
accelSpeed = "2";
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
users.users.mainUser = {
|
|
|
|
isNormalUser = true;
|
|
|
|
name = "translator";
|
|
|
|
uid = 1001;
|
|
|
|
initialPassword = "translate";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Packages
|
|
|
|
# --------
|
2024-08-29 03:26:04 +02:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
flameshot
|
|
|
|
pavucontrol
|
|
|
|
mumble
|
|
|
|
vlc
|
|
|
|
];
|
2020-11-12 20:05:43 +01:00
|
|
|
|
|
|
|
}
|