aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2025-05-13 17:33:43 -0700
committerCaroline Larimore <caroline@larimo.re>2025-05-13 17:33:43 -0700
commit390049f664f9409af3081fe635e94ec707684a98 (patch)
tree8c824ffbd8f6007d92c6373807082eaf2faab977 /modules
parent208e3a54270f9d832bdf355ca9eca67abad7866b (diff)
c-pc: migrate to autorandr
Diffstat (limited to 'modules')
-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";
};