Initial commit
This commit is contained in:
commit
cfcc57a8bd
353 changed files with 18756 additions and 0 deletions
48
module/aspect/desktop/session/modular.nix
Normal file
48
module/aspect/desktop/session/modular.nix
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
den.aspects = {
|
||||
desktop-session-modular = {
|
||||
nixos =
|
||||
{ lib, pkgs, ... }:
|
||||
{
|
||||
# ----- xfce (x11 + wayland)
|
||||
services.xserver.desktopManager.xfce = {
|
||||
enable = true;
|
||||
noDesktop = true;
|
||||
enableXfwm = false;
|
||||
};
|
||||
services.xserver.desktopManager.xfce.enableWaylandSession = true;
|
||||
environment.variables = {
|
||||
XDG_CURRENT_DESKTOP = "XFCE";
|
||||
};
|
||||
programs.xfconf.enable = true;
|
||||
programs.thunar = {
|
||||
enable = true;
|
||||
plugins = [
|
||||
pkgs.xfce.thunar-volman
|
||||
pkgs.xfce.thunar-vcs-plugin
|
||||
pkgs.xfce.thunar-archive-plugin
|
||||
];
|
||||
};
|
||||
environment.xfce.excludePackages = [
|
||||
pkgs.xfce.xfce4-terminal
|
||||
pkgs.xfce.parole
|
||||
];
|
||||
environment.systemPackages = [
|
||||
pkgs.xfce.exo
|
||||
];
|
||||
# ----- openbox (x11)
|
||||
services.xserver.windowManager.openbox.enable = true;
|
||||
# ----- labwc (wayland)
|
||||
programs.labwc.enable = true;
|
||||
# ----- picom (X11 compositor)
|
||||
services.picom = {
|
||||
enable = true;
|
||||
vSync = true;
|
||||
settings = {
|
||||
backend = "egl";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue