I've made this a module as it imports configuration from `st` and potentially others as I continue to refactor.
50 lines
839 B
Nix
50 lines
839 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
../../mixins/st.nix
|
|
];
|
|
|
|
services = {
|
|
dwm-status = {
|
|
enable = true;
|
|
|
|
order = [
|
|
"audio"
|
|
"battery"
|
|
"network"
|
|
"time"
|
|
];
|
|
};
|
|
|
|
xserver = {
|
|
displayManager.startx.enable = true;
|
|
windowManager.dwm.enable = true;
|
|
};
|
|
};
|
|
|
|
systemd.user.services.dwm-status.serviceConfig.Restart = "on-failure";
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
dmenu
|
|
dmenu-bluetooth
|
|
dunst
|
|
networkmanager_dmenu
|
|
poweralertd
|
|
slock
|
|
xdotool
|
|
xwallpaper
|
|
];
|
|
|
|
home-manager.users.opdavies =
|
|
{ config, ... }:
|
|
{
|
|
home = {
|
|
file."${config.home.sessionVariables.XINITRC}".source = ./xinitrc;
|
|
|
|
sessionVariables = {
|
|
XINITRC = "${config.xdg.configHome}/X11/xinitrc";
|
|
};
|
|
};
|
|
};
|
|
}
|