diff options
| Commit | 13ceb5f40cb230f178ac05ca15933fef2e6cc02f (patch) | |
|---|---|---|
| Author | 2025-12-28 17:48:33 +0200 | |
| Committer | 2025-12-28 17:58:08 +0200 | |
| Files | 5e1dce541ead9d0e8a93505a968c74f81a8822c2 /modules/personal/desktop-x11.nix | |
| nix-13ceb5f40cb230f178ac05ca15933fef2e6cc02f.tar nix-13ceb5f40cb230f178ac05ca15933fef2e6cc02f.tar.gz nix-13ceb5f40cb230f178ac05ca15933fef2e6cc02f.zip | ||
| Parent | 56facfa7f5de72f15f409f8d7d5ad522317ef555 (diff) | |
feat(modules)!: Complete reorganisation and renaming of module groups
1 files changed, 68 insertions, 0 deletions
| -rw-r--r-- | modules/personal/desktop-x11.nix | 68 |
diff --git a/modules/personal/desktop-x11.nix b/modules/personal/desktop-x11.nix new file mode 100644 index 0000000..923e1b9 --- /dev/null +++ b/modules/personal/desktop-x11.nix @@ -0,0 +1,68 @@ +{ pkgs, ... }: { + environment.systemPackages = with pkgs; [ + devilspie2 + find-cursor + xed-editor + sxhkd # hotkeys + peek # simple video recorder + birdtray # thunderbird on the tray + pdfpc # PDF multi-monitor presenting + glava # video visualiser + + #== X11 tools ==# + xorg.xev # print events in terminal + xorg.xhost # manage host/user names, allowed xserver access + xclip # access X11 clipboard from command-line + clipnotify # notify on text selection events + xdotool # simulate keyboard & mouse activity + xorg.xmodmap # modify keymaps + xorg.setxkbmap # configure keymaps + xcape # configure modifier keys + xfontsel # browse and preview fonts + xorg.xprop # display and set window and font properties + xorg.xwininfo # print information about a window + wmctrl # manage windows + + #== Terminal emulators ==# + terminator + xterm + + #== Configuration ==# + feh + arandr + pavucontrol + piper + + #== Files and filesystems ==# + gparted + qdirstat + timeshift + ]; + + systemd.user.services = { + devilspie2 = { + description = "devilspie2 runner"; + wantedBy = [ "graphical-session.target" ]; + wants = [ "graphical-session.target" ]; + after = [ "graphical-session.target" ]; + serviceConfig = { + ExecStart = "${pkgs.devilspie2}/bin/devilspie2"; + Restart = "on-failure"; + RestartSec = 1; + TimeoutStopSec = 10; + }; + }; + }; + + services.xserver = { + # xkbmap + xkb.layout = "us,bg-custom"; + xkb.variant = ",phonetic-nonstandard"; + xkb.options = "grp:rwin_toggle,grp:alt_shift_toggle,lv3:switch,caps:escape"; + xkb.extraLayouts.bg-custom = { + description = "Non-standard variant of the traditional Bulgarian phonetic keyboard, which replaces some characters with their English counterparts"; + languages = [ "bg" ]; + symbolsFile = ../../packages/bg-custom; + }; + }; +} |
