mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-12-01 18:29:18 -05:00
40 lines
664 B
Nix
40 lines
664 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
imports = [
|
|
./cinnamon
|
|
./gnome
|
|
./greetd
|
|
./hyprland
|
|
./lightdm
|
|
./plasma
|
|
./sway
|
|
./waylandComp.nix
|
|
];
|
|
|
|
config = lib.mkIf config.alyraffauf.desktop.enable {
|
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
|
|
|
fonts.packages = with pkgs; [
|
|
liberation_ttf
|
|
nerdfonts
|
|
];
|
|
|
|
services = {
|
|
gnome.gnome-keyring.enable = true;
|
|
gvfs.enable = true; # Mount, trash, etc.
|
|
xserver = {
|
|
enable = true;
|
|
xkb = {
|
|
layout = "us";
|
|
variant = "altgr-intl";
|
|
};
|
|
excludePackages = with pkgs; [xterm];
|
|
};
|
|
};
|
|
};
|
|
}
|