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 = [ imports = [
./common.nix ./common.nix
./xserver.nix ./xserver.nix
./sddm.nix
]; ];
services.xserver = { services.xserver = {
enable = true; windowManager.i3.enable = true;
desktopManager = { displayManager = {
xterm.enable = false; defaultSession = "i3";
xfce = {
enable = true;
enableXfwm = false;
noDesktop = true;
};
}; };
}; };
programs.i3lock = { programs.i3lock = {

View file

@ -1,13 +1,28 @@
{ ... }: { pkgs, ... }:
{ {
imports = [ imports = [
./common.nix
./xserver.nix
./xfce-bare.nix ./xfce-bare.nix
./sddm.nix ./sddm.nix
]; ];
services.xserver = { services.xserver = {
enable = true;
desktopManager = {
xterm.enable = false;
xfce = {
enable = true;
enableXfwm = false;
noDesktop = true;
};
};
windowManager.bspwm.enable = true; windowManager.bspwm.enable = true;
displayManager = { displayManager = {
defaultSession = "xfce+bspwm"; 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";
};
};
}