Add module to configure sshd

This commit is contained in:
Pim Kunis 2024-11-09 16:54:33 +01:00
parent 14e269c02c
commit 59b58faeb5
4 changed files with 50 additions and 5 deletions

View file

@ -1,6 +1,12 @@
{lib, ...}: {
{
config,
lib,
...
}: let
cfg = config.pim.cinnamon;
in {
options.pim.cinnamon.enable = lib.mkEnableOption "cinnamon";
config = {
config = lib.mkIf cfg.enable {
services = {
displayManager.defaultSession = "cinnamon";
libinput.enable = true;