diff options
| author | Leonardo <noreply@leoflo.me> | 2026-03-11 16:34:05 +0100 |
|---|---|---|
| committer | Leonardo <noreply@leoflo.me> | 2026-03-11 16:34:05 +0100 |
| commit | afc597e552facff6c0103657d315775902709841 (patch) | |
| tree | 75e411a8f5c57491b03f6057776df29ec3594487 /systems/hermes/gui.nix | |
| parent | a7f0310e52a6d7dcfa0d11b7b3e683903ca41cd9 (diff) | |
| download | nixos-afc597e552facff6c0103657d315775902709841.tar.gz nixos-afc597e552facff6c0103657d315775902709841.zip | |
gerarchia modificata (sono pazzo)
Diffstat (limited to 'systems/hermes/gui.nix')
| -rw-r--r-- | systems/hermes/gui.nix | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/systems/hermes/gui.nix b/systems/hermes/gui.nix new file mode 100644 index 0000000..5bde952 --- /dev/null +++ b/systems/hermes/gui.nix @@ -0,0 +1,52 @@ +{pkgs, ...}: { + imports = [ + ../../components/gui/xfce.nix + ]; + + # Graphics + hardware.graphics = { + enable = true; + + extraPackages = with pkgs; [ intel-media-driver ]; + }; + + # Ly + services.displayManager.ly = { + enable = true; + x11Support = true; + + settings = { + animation = "gameoflife"; + bigclock = "en"; + session_log = ".ly-session.log"; + }; + }; + + # XDG + xdg = { + icons.enable = true; + autostart.enable = true; + + portal = { + enable = true; + xdgOpenUsePortal = true; + }; + }; + + # X11 + services.xserver = { + xkb = { + layout = "it"; + variant = ""; + }; + }; + + # Security + security = { + rtkit.enable = true; + polkit.enable = true; + }; + + # Custom modules + xfce.enable = true; +} |
