Update flake

This commit is contained in:
muon 2024-06-11 22:32:13 +00:00
parent 97e5f1fe15
commit 72b7e5e708
9 changed files with 47 additions and 20 deletions

View file

@ -8,7 +8,6 @@ in {
./social.nix
];
config = lib.mkIf cfg.wayland.enable {
mods.hyprland.enable = true;
};
mods.hyprland.enable = lib.mkIf cfg.wayland.enable true;
mods.i3.enable = lib.mkIf osConfig.services.xserver.windowManager.i3.enable true;
}

View file

@ -1,14 +1,15 @@
{ pkgs, lib, config, ... }: {
options.mods.i3.enable = lib.mkEnableOption "enables bspwm";
config = lib.mkIf config.mods.bspwm.enable {
config = lib.mkIf config.mods.i3.enable {
programs.rofi.enable = true;
xsession.windowManager.i3 = {
enable = true;
config = {
modifier = "Mod4";
terminal = "alacritty";
menu = "rofi";
menu = "rofi -show drun";
keybindings = let
modifier = config.xsession.windowManager.i3.config.modifier;