aboutsummaryrefslogtreecommitdiff
path: root/modules/nixos/apps
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos/apps')
-rw-r--r--modules/nixos/apps/i3/default.nix20
1 files changed, 1 insertions, 19 deletions
diff --git a/modules/nixos/apps/i3/default.nix b/modules/nixos/apps/i3/default.nix
index e01c6c2..28c92fe 100644
--- a/modules/nixos/apps/i3/default.nix
+++ b/modules/nixos/apps/i3/default.nix
@@ -5,19 +5,6 @@ with lib; with lib.${namespace}; let
in {
options.${namespace}.apps.i3 = with types; {
enable = mkEnableOption "i3";
-
- videoDrivers = mkOption {
- type = types.listOf types.str;
- default = [ "modesetting" "fbdev" ];
- };
-
- setupCommands = mkOption {
- type = types.lines;
- default = "";
- description = ''
- Shell commands executed just after the X server has started.
- '';
- };
};
config = mkIf cfg.enable {
@@ -30,13 +17,8 @@ in {
xserver = {
enable = true;
windowManager.i3.enable = true;
+ displayManager.lightdm.enable = true;
- displayManager = {
- lightdm.enable = true;
- setupCommands = cfg.setupCommands;
- };
-
- videoDrivers = cfg.videoDrivers;
xkb.layout = "us";
};