moved awesome and hyprland

This commit is contained in:
Charlie Root 2024-05-21 00:04:49 +02:00
commit cfa27ccec4
8 changed files with 111 additions and 126 deletions

View file

@ -1,25 +0,0 @@
{ pkgs, lib, config, callPackage, ... }:
with lib;
let
username = config.modules.other.system.username;
cfg = config.modules.programs.awesome;
in {
options.modules.programs.awesome.enable = mkEnableOption "awesome";
config = mkIf cfg.enable {
services = {
displayManager.sddm.enable = true;
xserver = {
enable = true;
xkb = {
layout = "de, de";
variant = ",neo ";
options = "grp:alt_space_toggle";
};
windowManager.awesome.enable = true;
displayManager.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";
};
};
};
}

View file

@ -40,10 +40,10 @@
};
};
wms = {
wayland = {
enable = true;
hyprland.enable = true;
};
wayland = {
enable = true;
hyprland.enable = true;
};
};
programs = {
vesktop.enable = true;

View file

@ -4,8 +4,5 @@ _: {
./programs.nix
./hardware-configuration.nix
./profile.nix
./awesome/awesome.nix
./hyprland/hyprland.nix
];
}