Skip to content

Commit

Permalink
home: don't enable i3 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
alarsyo committed Mar 3, 2024
1 parent 69674b1 commit 2b77681
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion base/gui-programs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ in {
if config.my.gui.isNvidia
then ["nvidia"]
else options.services.xserver.videoDrivers.default;
windowManager.i3.enable = true;
layout = "fr";
xkbVariant = "us";
libinput = {
Expand Down
7 changes: 6 additions & 1 deletion home/x/i3.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
}: let
inherit
(lib)
mkEnableOption
mkIf
mkOptionDefault
;

isEnabled = config.my.home.x.enable;
isEnabled = config.my.home.x.i3.enable;

myTerminal =
# FIXME: fix when terminal is setup in home
Expand All @@ -26,6 +27,10 @@

i3Theme = config.my.theme.i3Theme;
in {
options.my.home.x.i3 = {
enable = mkEnableOption "i3wm configuration";
};

config = mkIf isEnabled {
my.home = {
flameshot.enable = true;
Expand Down

0 comments on commit 2b77681

Please sign in to comment.