First commit
This commit is contained in:
36
modules/desktop/X11/default.nix
Normal file
36
modules/desktop/X11/default.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}@args:
|
||||
{
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
displayManager.startx.enable = true;
|
||||
xkb = {
|
||||
layout = "qwerty-fr";
|
||||
extraLayouts.qwerty-fr = {
|
||||
description = "QWERTY avec symboles et diacritiques français ";
|
||||
languages = [ "eng" ];
|
||||
symbolsFile = ./config/qwerty-fr;
|
||||
};
|
||||
};
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
numlockx
|
||||
adwaita-icon-theme
|
||||
xclip
|
||||
flameshot
|
||||
];
|
||||
environment.etc = {
|
||||
"X11/xinit/xinitrc".source = ./config/xinitrc;
|
||||
};
|
||||
imports =
|
||||
[
|
||||
./i3
|
||||
./polybar
|
||||
]
|
||||
++ lib.optionals args.isGpu [
|
||||
./picom
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user