mirror of
https://github.com/Ascyii/nixos.git
synced 2026-01-01 06:44:26 -05:00
80 lines
1.3 KiB
Nix
80 lines
1.3 KiB
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
# Basic services
|
|
services.locate.enable = true;
|
|
services.printing.enable = true;
|
|
|
|
# Nix fun
|
|
nixpkgs.config.allowUnfree = true;
|
|
nix.settings.experimental-features = ["flakes" "nix-command"];
|
|
time.timeZone = "Europe/Berlin";
|
|
|
|
programs.nix-ld.enable = true;
|
|
|
|
environment = {
|
|
sessionVariables = {
|
|
NIXOS_OZONE_WL = "1";
|
|
QTWEBENGINE_CHROMIUM_FLAGS="--blink-settings=darkModeEnabled=true";
|
|
QT_QPA_PLATFORMTHEME = "qt6ct";
|
|
WLR_NO_HARDWARE_CURSORS= "1";
|
|
QT_STYLE_OVERRIDE = "kvantum";
|
|
QT_QPA_PLATFORM="xcb";
|
|
};
|
|
systemPackages = with pkgs; [
|
|
git
|
|
fastfetch
|
|
tor-browser
|
|
spotify
|
|
android-studio
|
|
lazygit
|
|
unzip
|
|
|
|
# Everywhere support
|
|
starship
|
|
zoxide
|
|
kdePackages.qtsvg
|
|
|
|
# Add sync support
|
|
rsync
|
|
flock
|
|
curl
|
|
];
|
|
pathsToLink = [
|
|
"/share/icons"
|
|
];
|
|
};
|
|
|
|
networking = {
|
|
networkmanager = {
|
|
enable = true;
|
|
};
|
|
};
|
|
|
|
fonts.packages = with pkgs; [
|
|
nerd-fonts.fira-code
|
|
];
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
console = {
|
|
font = "Lat2-Terminus16";
|
|
keyMap = "us";
|
|
};
|
|
|
|
programs.zsh = {
|
|
enable = true;
|
|
autosuggestions.enable = true;
|
|
ohMyZsh = {
|
|
enable = true;
|
|
plugins = [
|
|
"history-substring-search"
|
|
"git"
|
|
"zoxide"
|
|
"sudo"
|
|
"vi-mode"
|
|
"systemadmin"
|
|
];
|
|
};
|
|
};
|
|
}
|