Rename modules directory
All checks were successful
/ check (push) Successful in 55s

This commit is contained in:
Oliver Davies 2025-08-18 12:00:00 +01:00
parent a0575bdb2a
commit 703bf836de
210 changed files with 1 additions and 1 deletions

11
modules/dwm/config.nix Normal file
View file

@ -0,0 +1,11 @@
{
flake.modules.homeManager.gui =
{ config, ... }:
{
home = {
file."${config.home.sessionVariables.XINITRC}".source = ./xinitrc;
sessionVariables.XINITRC = "${config.xdg.configHome}/X11/xinitrc";
};
};
}

16
modules/dwm/packages.nix Normal file
View file

@ -0,0 +1,16 @@
{
flake.modules.nixos.pc =
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
dmenu
dmenu-bluetooth
dunst
networkmanager_dmenu
poweralertd
slock
xdotool
xwallpaper
];
};
}

13
modules/dwm/xinitrc Normal file
View file

@ -0,0 +1,13 @@
systemctl --user import-environment DISPLAY
poweralertd -s &
set-background &
dwmblocks &
gammastep &
sxhkd &
export GPG_TTY=$(tty)
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpg-connect-agent updatestartuptty /bye
exec dwm