mirror of
https://github.com/Ascyii/nixos.git
synced 2025-12-31 22:44:23 -05:00
55 lines
815 B
Nix
55 lines
815 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
# Basic services
|
|
services.locate.enable = true;
|
|
services.openssh.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 = {
|
|
systemPackages = with pkgs; [
|
|
git
|
|
starship
|
|
zoxide
|
|
rsync
|
|
];
|
|
pathsToLink = [
|
|
"/share/icons"
|
|
];
|
|
};
|
|
|
|
networking = {
|
|
networkmanager = {
|
|
enable = true;
|
|
};
|
|
};
|
|
|
|
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"
|
|
];
|
|
};
|
|
};
|
|
}
|