nixos-config/configuration.nix

46 lines
783 B
Nix
Raw Normal View History

2022-06-18 14:46:22 +00:00
{ config, pkgs, ... }:
{
boot.loader = {
timeout = 1;
efi.canTouchEfiVariables = true;
grub = {
efiSupport = true;
device = "nodev";
configurationLimit = 5;
};
};
2022-06-18 18:27:17 +00:00
powerManagement.enable = true;
2022-06-18 14:46:22 +00:00
time.timeZone = "Europe/Berlin";
services.timesyncd.enable = true;
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "Lat2-Terminus16";
keyMap = "de-latin1-nodeadkeys";
};
fonts.fonts = with pkgs; [
(nerdfonts.override { fonts = [ "DejaVuSansMono" ]; })
];
environment.systemPackages = with pkgs; [
neovim
git
];
services.openssh.enable = true;
nix = {
package = pkgs.nixFlakes;
extraOptions = "experimental-features = nix-command flakes";
};
system.stateVersion = "22.05";
}