nichts/hosts/vali/mars/dwm/dwm.nix

24 lines
712 B
Nix
Raw Normal View History

2024-04-13 21:22:44 +02:00
{ pkgs, lib, config, callPackage, ... }:
with lib; let
username = config.modules.other.system.username;
2024-04-27 23:46:38 +02:00
cfg = config.modules.programs.awesome;
2024-04-13 21:22:44 +02:00
in {
2024-04-27 23:46:38 +02:00
options.modules.programs.awesome.enable = mkEnableOption "awesome";
2024-04-13 21:22:44 +02:00
config = mkIf cfg.enable {
2024-04-23 10:59:57 +02:00
services.xserver = {
2024-04-13 21:22:44 +02:00
enable = true;
2024-04-23 10:59:57 +02:00
layout = "de, de";
xkbVariant = ",neo ";
xkbOptions = "grp:alt_space_toggle";
2024-04-27 23:46:38 +02:00
windowManager.awesome= {
2024-04-13 21:22:44 +02:00
enable = true;
};
2024-04-20 22:59:53 +02:00
displayManager = {
sddm.enable = true;
setupCommands = "${pkgs.xorg.xrandr}/bin/xrandr --output HDMI-1 --rotate normal --output DP-2 --rotate normal --left-of HDMI-1 --output HDMI-0 --right-of HDMI-1";
2024-04-14 14:35:10 +02:00
};
2024-04-13 21:22:44 +02:00
};
};
}