Files
nix-flake/hosts/desktop/configuration.nix
Zephrynis f1a4824508 Update font packages and fix PulseAudio config
Replaces nerdfonts.override with specific nerd-fonts packages for FiraCode, JetBrainsMono, and Iosevka in desktop and laptop configurations. Also corrects PulseAudio configuration by enabling it under services.pulseaudio instead of hardware.pulseaudio in common.nix.
2025-10-26 20:13:10 +00:00

66 lines
1.6 KiB
Nix

{ config, pkgs, ... }:
{
# Desktop PC specific configuration
networking.hostName = "desktop";
# Users configuration
users.users.yourusername = { # Change "yourusername" to your actual username
isNormalUser = true;
description = "Your Name"; # Change this
extraGroups = [ "networkmanager" "wheel" "video" "audio" ];
shell = pkgs.zsh; # or pkgs.bash
};
# Enable zsh system-wide
programs.zsh.enable = true;
# Display manager and desktop environment / window manager
services.xserver = {
enable = true;
# Display manager
displayManager.gdm.enable = true;
# Desktop environment (choose one, or comment all for a standalone WM)
# desktopManager.gnome.enable = true;
# desktopManager.plasma5.enable = true;
# Window manager (uncomment if you want a standalone WM)
# windowManager.i3.enable = true;
# windowManager.bspwm.enable = true;
};
# Optional: Enable Wayland compositor
# programs.hyprland = {
# enable = true;
# xwayland.enable = true;
# };
# Desktop-specific packages (gaming, streaming, etc.)
environment.systemPackages = with pkgs; [
# Add desktop-specific packages here
# discord
# steam
# obs-studio
];
# Gaming support (uncomment if needed)
# programs.steam.enable = true;
# programs.gamemode.enable = true;
# Fonts
fonts.packages = with pkgs; [
noto-fonts
noto-fonts-cjk-sans
noto-fonts-emoji
liberation_ttf
fira-code
fira-code-symbols
nerd-fonts.fira-code
nerd-fonts.jetbrains-mono
nerd-fonts.iosevka
];
}