2023-06-28 21:45:08 -06:00
|
|
|
{ config, pkgs, options, inputs, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./fonts.nix
|
2023-06-29 00:49:50 -06:00
|
|
|
inputs.home-manager.nixosModule
|
2023-06-28 21:45:08 -06:00
|
|
|
];
|
|
|
|
|
|
|
|
services.xserver = {
|
|
|
|
exportConfiguration = true;
|
|
|
|
enable = true;
|
|
|
|
layout = "us";
|
|
|
|
desktopManager = {
|
|
|
|
plasma5.enable = true;
|
|
|
|
};
|
|
|
|
displayManager = {
|
|
|
|
sddm = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
sessionCommands = ''
|
|
|
|
systemctl --user import-environment GDK_PIXBUF_MODULE_FILE DBUS_SESSION_BUS_ADDRESS PATH
|
|
|
|
'';
|
2023-08-05 22:57:54 -06:00
|
|
|
setupCommands = ''
|
|
|
|
autorandr -c
|
|
|
|
systemctl restart autorandr.service
|
|
|
|
'';
|
2023-06-28 21:45:08 -06:00
|
|
|
};
|
|
|
|
};
|
2023-06-28 22:27:09 -06:00
|
|
|
|
2023-08-05 21:02:01 -06:00
|
|
|
services.autorandr = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
|
2023-08-05 22:57:54 -06:00
|
|
|
systemd.services.autorandr-startup-after-dm = {
|
|
|
|
wantedBy = [ "display-manager.service" ];
|
|
|
|
after = [ "display-manager.service" ];
|
|
|
|
description = "autorandr after display manager";
|
2023-08-05 21:02:01 -06:00
|
|
|
|
|
|
|
serviceConfig = {
|
|
|
|
Type = "oneshot";
|
|
|
|
ExecStart = "${pkgs.autorandr}/bin/autorandr --change";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-07-28 02:17:03 -06:00
|
|
|
# This is for the benefit of VSCODE running natively in wayland
|
2023-06-28 22:28:41 -06:00
|
|
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
|
|
|
|
2023-06-28 22:27:09 -06:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
# Appearance
|
2023-06-29 13:54:38 -06:00
|
|
|
gnome.adwaita-icon-theme
|
|
|
|
hicolor-icon-theme
|
|
|
|
libsForQt5.breeze-gtk
|
|
|
|
materia-theme
|
2023-06-28 22:27:09 -06:00
|
|
|
numix-icon-theme-circle
|
|
|
|
papirus-icon-theme
|
|
|
|
|
|
|
|
# XOrg
|
|
|
|
autorandr
|
|
|
|
wmctrl
|
|
|
|
xclip
|
|
|
|
xdotool
|
|
|
|
xorg.xev
|
|
|
|
xorg.xkbcomp
|
|
|
|
xorg.xwininfo
|
|
|
|
xsettingsd
|
|
|
|
|
|
|
|
# Desktop
|
|
|
|
alacritty
|
|
|
|
blueman
|
|
|
|
clipit
|
|
|
|
dfeet
|
|
|
|
dolphin
|
|
|
|
element-desktop
|
2023-07-27 19:49:44 -06:00
|
|
|
|
2023-06-28 22:27:09 -06:00
|
|
|
feh
|
|
|
|
firefox
|
|
|
|
gnome.cheese
|
|
|
|
gnome.gpaste
|
2023-07-28 17:18:56 -06:00
|
|
|
|
2023-06-28 22:27:09 -06:00
|
|
|
kleopatra
|
|
|
|
libnotify
|
|
|
|
libreoffice
|
|
|
|
lxappearance
|
|
|
|
lxqt.lxqt-powermanagement
|
|
|
|
networkmanagerapplet
|
|
|
|
notify-osd-customizable
|
|
|
|
okular
|
|
|
|
picom
|
|
|
|
pinentry
|
2023-07-11 16:56:22 -06:00
|
|
|
psensor
|
2023-06-28 22:27:09 -06:00
|
|
|
quassel
|
2023-07-28 17:31:05 -06:00
|
|
|
remmina
|
2023-06-28 22:27:09 -06:00
|
|
|
rofi
|
|
|
|
rofi-pass
|
|
|
|
rofi-systemd
|
2023-07-28 11:58:43 -06:00
|
|
|
shutter
|
2023-06-28 22:27:09 -06:00
|
|
|
simplescreenrecorder
|
|
|
|
skippy-xd
|
|
|
|
synergy
|
|
|
|
transmission-gtk
|
|
|
|
vlc
|
|
|
|
volnoti
|
|
|
|
xfce.thunar
|
2023-06-28 23:40:34 -06:00
|
|
|
|
|
|
|
# Audio
|
|
|
|
playerctl
|
2023-06-29 13:37:48 -06:00
|
|
|
pulsemixer
|
2023-07-01 19:28:53 -06:00
|
|
|
espeak
|
2023-08-07 21:52:33 -06:00
|
|
|
|
|
|
|
#Misc
|
2023-08-18 17:01:52 -06:00
|
|
|
# Visualization
|
2023-08-07 21:52:33 -06:00
|
|
|
graphviz
|
2023-08-18 17:01:52 -06:00
|
|
|
nodePackages.mermaid-cli
|
2023-06-28 22:27:09 -06:00
|
|
|
];
|
2023-06-28 21:45:08 -06:00
|
|
|
}
|