meta: Dump changes
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
./programs/emacs
|
||||
./programs/firefox
|
||||
./programs/gnome
|
||||
./programs/gdm
|
||||
./programs/gnome-terminal
|
||||
./programs/mpv
|
||||
./programs/git
|
||||
|
||||
@@ -89,6 +89,7 @@
|
||||
(smartparens-global-mode t))
|
||||
(use-package undo-tree
|
||||
:config
|
||||
(setq undo-tree-auto-save-history nil)
|
||||
(global-undo-tree-mode))
|
||||
|
||||
(setq-default indent-tab-mode t)
|
||||
|
||||
22
modules/programs/gdm/default.nix
Normal file
22
modules/programs/gdm/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ pkgs, config, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.ptw.services.gdm;
|
||||
in {
|
||||
options.ptw.services.gdm = {
|
||||
enable = lib.mkEnableOption "Enable GDM as a display manager";
|
||||
monitors = lib.mkOption {
|
||||
description = "The file to use as a monitors.xml";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.xserver.displayManager.gdm = {
|
||||
wayland = true;
|
||||
enable = true;
|
||||
|
||||
# TODO: Use monitors.xml
|
||||
# job
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user