migrate configuration.nix into flexible modular flake setup
This commit is contained in:
18
modules/desktop.nix
Normal file
18
modules/desktop.nix
Normal 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 = "";
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user