added awesome wm
This commit is contained in:
parent
d350b5c4c9
commit
486116c801
3 changed files with 11 additions and 10 deletions
|
@ -1,20 +1,19 @@
|
|||
{ pkgs, lib, config, callPackage, ... }:
|
||||
{ pkgs, lib, config, ... }:
|
||||
with lib; let
|
||||
cfg = config.myOptions.programs.i3;
|
||||
cfg = config.myOptions.programs.awesome;
|
||||
in {
|
||||
options.myOptions.programs.i3.enable = mkEnableOption "i3";
|
||||
options.myOptions.programs.awesome.enable = mkEnableOption "awesome";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
xkb.layout = "de";
|
||||
windowManager = {
|
||||
bspwm.enable = true;
|
||||
i3.enable = true;
|
||||
};
|
||||
displayManager = {
|
||||
gdm.enable = true;
|
||||
defaultSession = "none+i3";
|
||||
windowManager.awesome = {
|
||||
enable = true;
|
||||
luaModules = with pkgs.luaPackages; [
|
||||
luarocks
|
||||
luadbi-mysql
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
btop.enable = true;
|
||||
mpv.enable = true;
|
||||
i3.enable = true;
|
||||
awesome.enable = true;
|
||||
schizofox.enable = true;
|
||||
obs.enable = true;
|
||||
displaymanager.enable = true;
|
||||
|
|
|
@ -5,5 +5,6 @@ _: {
|
|||
./hardware-configuration.nix
|
||||
./profile.nix
|
||||
./i3.nix
|
||||
./awesome.nix
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue