2023-02-01 13:31:56 +00:00
|
|
|
# Configuration for programs and services.
|
|
|
|
|
|
|
|
{ pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
programs = {
|
|
|
|
gnupg = {
|
|
|
|
agent = {
|
|
|
|
enable = true;
|
|
|
|
enableSSHSupport = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
thunar = {
|
|
|
|
plugins = with pkgs.xfce; [ thunar-archive-plugin ];
|
|
|
|
};
|
|
|
|
|
|
|
|
zsh = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
services = {
|
|
|
|
avahi = {
|
|
|
|
enable = true;
|
|
|
|
nssmdns = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
pipewire = {
|
|
|
|
alsa.enable = true;
|
|
|
|
alsa.support32Bit = true;
|
|
|
|
enable = true;
|
|
|
|
pulse.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
xserver = {
|
|
|
|
enable = true;
|
|
|
|
layout = "be";
|
|
|
|
videoDrivers = [ "nvidia" ];
|
|
|
|
xkbVariant = "";
|
2023-02-03 12:36:15 +00:00
|
|
|
|
2023-05-01 09:50:37 +00:00
|
|
|
desktopManager = {
|
|
|
|
xterm.enable = false;
|
|
|
|
xfce = {
|
|
|
|
enable = true;
|
|
|
|
enableXfwm = false;
|
|
|
|
noDesktop = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-02-03 12:36:15 +00:00
|
|
|
displayManager = {
|
2023-05-01 09:50:37 +00:00
|
|
|
defaultSession = "xfce";
|
2023-02-03 12:36:15 +00:00
|
|
|
lightdm = {
|
|
|
|
enable = true;
|
|
|
|
extraSeatDefaults = ''
|
|
|
|
greeter-setup-script=${pkgs.numlockx}/bin/numlockx on
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
2023-05-01 09:50:37 +00:00
|
|
|
|
|
|
|
windowManager.i3 = {
|
|
|
|
enable = true;
|
|
|
|
extraPackages = with pkgs; [
|
|
|
|
dmenu
|
|
|
|
i3status
|
|
|
|
];
|
|
|
|
};
|
2023-02-01 13:31:56 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|