diff --git a/nixos/desktop/xfce-bare.nix b/nixos/desktop/i3.nix similarity index 52% rename from nixos/desktop/xfce-bare.nix rename to nixos/desktop/i3.nix index 392f93db..f8a3d7bb 100644 --- a/nixos/desktop/xfce-bare.nix +++ b/nixos/desktop/i3.nix @@ -3,16 +3,12 @@ imports = [ ./common.nix ./xserver.nix + ./sddm.nix ]; services.xserver = { - enable = true; - desktopManager = { - xterm.enable = false; - xfce = { - enable = true; - enableXfwm = false; - noDesktop = true; - }; + windowManager.i3.enable = true; + displayManager = { + defaultSession = "i3"; }; }; programs.i3lock = { diff --git a/nixos/desktop/xfce-bspwm.nix b/nixos/desktop/xfce-bspwm.nix index f9c067f1..1cb43d90 100644 --- a/nixos/desktop/xfce-bspwm.nix +++ b/nixos/desktop/xfce-bspwm.nix @@ -1,13 +1,28 @@ -{ ... }: +{ pkgs, ... }: { imports = [ + ./common.nix + ./xserver.nix ./xfce-bare.nix ./sddm.nix ]; services.xserver = { + enable = true; + desktopManager = { + xterm.enable = false; + xfce = { + enable = true; + enableXfwm = false; + noDesktop = true; + }; + }; windowManager.bspwm.enable = true; displayManager = { defaultSession = "xfce+bspwm"; }; }; + programs.i3lock = { + enable = true; + package = pkgs.i3lock-fancy; + }; } diff --git a/nixos/desktop/xfce-i3.nix b/nixos/desktop/xfce-i3.nix deleted file mode 100644 index b8e9fc85..00000000 --- a/nixos/desktop/xfce-i3.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ ... }: -{ - imports = [ - ./xfce-bare.nix - ./sddm.nix - ]; - services.xserver = { - windowManager.i3.enable = true; - displayManager = { - defaultSession = "xfce+i3"; - }; - }; -}