nixos-config/configuration.nix

72 lines
1.2 KiB
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-19 16:40:00 +00:00
services.xserver = {
enable = true;
windowManager.i3.enable = true;
layout = "de";
libinput = {
enable = true;
touchpad = {
horizontalScrolling = false;
naturalScrolling = true;
};
};
displayManager = {
defaultSession = "none+i3";
autoLogin = {
enable = true;
2022-06-20 18:35:47 +00:00
user = "mandlm";
2022-06-19 16:40:00 +00:00
};
};
};
2022-06-18 18:27:17 +00:00
2022-06-18 14:46:22 +00:00
time.timeZone = "Europe/Berlin";
services.timesyncd.enable = true;
2022-06-20 17:29:31 +00:00
services.acpid.enable = true;
2022-06-18 14:46:22 +00:00
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "Lat2-Terminus16";
keyMap = "de-latin1-nodeadkeys";
};
fonts.fonts = with pkgs; [
(nerdfonts.override { fonts = [ "DejaVuSansMono" ]; })
2022-06-20 13:47:55 +00:00
font-awesome
2022-06-18 14:46:22 +00:00
];
2022-06-20 09:33:39 +00:00
hardware.pulseaudio.enable = true;
2022-06-18 14:46:22 +00:00
environment.systemPackages = with pkgs; [
neovim
git
];
services.openssh.enable = true;
nix = {
package = pkgs.nixFlakes;
extraOptions = "experimental-features = nix-command flakes";
};
system.stateVersion = "22.05";
}