migrate configuration.nix into flexible modular flake setup

This commit is contained in:
2025-06-03 19:17:51 +02:00
parent 44dc0edf96
commit 7633c55ed7
9 changed files with 300 additions and 300 deletions

18
modules/desktop.nix Normal file
View File

@ -0,0 +1,18 @@
{ config, pkgs, ... }:
{
services.xserver = {
# Enable the X11 windowing system.
enable = true;
# Enable the GNOME Desktop Environment.
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
# Configure keymap in X11
xkb = {
layout = "se";
variant = "";
};
};
}