Separate i3 from xfce config

This commit is contained in:
Evie Litherland-Smith 2023-04-10 22:06:23 +01:00
parent e10fef89b6
commit cb857853a5
3 changed files with 20 additions and 22 deletions

View file

@ -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 = {

View file

@ -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;
};
}

View file

@ -1,13 +0,0 @@
{ ... }:
{
imports = [
./xfce-bare.nix
./sddm.nix
];
services.xserver = {
windowManager.i3.enable = true;
displayManager = {
defaultSession = "xfce+i3";
};
};
}