This commit is contained in:
parent
a0575bdb2a
commit
703bf836de
210 changed files with 1 additions and 1 deletions
11
modules/dwm/config.nix
Normal file
11
modules/dwm/config.nix
Normal 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
16
modules/dwm/packages.nix
Normal 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
13
modules/dwm/xinitrc
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue