From 390049f664f9409af3081fe635e94ec707684a98 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Tue, 13 May 2025 17:33:43 -0700 Subject: c-pc: migrate to autorandr --- modules/nixos/apps/i3/default.nix | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'modules') 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"; }; -- cgit v1.2.3