mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 22:43:55 -05:00
Aly Raffauf
4da4930db9
fallarbor: added disko and fixed nixos-hardwarem odule import fallarbor: added appropriate flake entries
36 lines
781 B
Nix
36 lines
781 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
imports = [./gnome ./hyprland ./lightdm ./plasma];
|
|
|
|
options = {
|
|
alyraffauf.desktop.enable =
|
|
lib.mkEnableOption "Enable basic GUI X11 and Wayland environment.";
|
|
};
|
|
|
|
config = lib.mkIf config.alyraffauf.desktop.enable {
|
|
services = {
|
|
gnome.gnome-keyring.enable = true;
|
|
gvfs.enable = true; # Mount, trash, etc.
|
|
# Enable the X11 windowing system.
|
|
xserver = {
|
|
enable = true;
|
|
xkb.layout = "us";
|
|
xkb.variant = "";
|
|
excludePackages = with pkgs; [xterm];
|
|
};
|
|
};
|
|
|
|
# Install pretty fonts.
|
|
fonts.packages = with pkgs; [
|
|
liberation_ttf
|
|
(nerdfonts.override {
|
|
fonts = ["DroidSansMono" "FiraCode" "FiraMono" "Hack" "Noto"];
|
|
})
|
|
];
|
|
};
|
|
}
|