Starting to break out for different XPS systems
This commit is contained in:
71
system/packages.nix
Normal file
71
system/packages.nix
Normal file
@@ -0,0 +1,71 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Install firefox.
|
||||
programs.firefox.enable = true;
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
alacritty
|
||||
|
||||
# Wayland and Sway essentials
|
||||
sway
|
||||
xdg-desktop-portal-wlr
|
||||
xdg-desktop-portal-gtk
|
||||
wofi
|
||||
swaylock
|
||||
swayidle
|
||||
# Additional packages for SDDM compatibility
|
||||
qt5.qtwayland
|
||||
qt6.qtwayland
|
||||
|
||||
polkit # policy kit
|
||||
ffmpeg # media player / encoding
|
||||
xdg-utils # desktop integration tools
|
||||
vivaldi
|
||||
|
||||
nodejs_22
|
||||
code-cursor-fhs
|
||||
jq
|
||||
zellij
|
||||
bibata-cursors
|
||||
podman
|
||||
podman-compose
|
||||
yazi
|
||||
wget
|
||||
];
|
||||
|
||||
fonts = {
|
||||
enableDefaultPackages = true;
|
||||
packages = with pkgs; [
|
||||
# Nerd Fonts - individual packages
|
||||
nerd-fonts.jetbrains-mono
|
||||
nerd-fonts.fira-code
|
||||
nerd-fonts.sauce-code-pro # Source Code Pro equivalent
|
||||
nerd-fonts.dejavu-sans-mono
|
||||
|
||||
# Additional fonts for fallbacks
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-emoji
|
||||
liberation_ttf
|
||||
fira-code
|
||||
fira-code-symbols
|
||||
];
|
||||
|
||||
fontconfig = {
|
||||
enable = true;
|
||||
defaultFonts = {
|
||||
monospace = [ "JetBrainsMono Nerd Font" "Fira Code" ];
|
||||
sansSerif = [ "Noto Sans" "Liberation Sans" ];
|
||||
serif = [ "Noto Serif" "Liberation Serif" ];
|
||||
emoji = [ "Noto Color Emoji" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user