nixos-config/common/configuration.nix

52 lines
972 B
Nix
Raw Normal View History

2024-09-30 13:54:20 +02:00
{ config, lib, pkgs, ... }:
{
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.timeout = 0;
boot.kernelPackages = pkgs.linuxPackages_zen;
boot.tmp.useTmpfs = true;
networking.networkmanager.enable = true;
time.timeZone = "Europe/Paris";
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "Lat2-Terminus16";
keyMap = "fr-pc";
};
services.pipewire = {
enable = true;
pulse.enable = true;
};
nix.settings.experimental-features = [ "nix-command" "flakes" ];
environment.systemPackages = with pkgs; [
git
vim
curl
ncdu
htop
tmux
file
tree
];
services.udisks2.enable = true;
2024-09-30 16:43:05 +02:00
services.libinput.enable = true;
2024-09-30 13:54:20 +02:00
programs.hyprland.enable = true;
programs.zsh.enable = true;
users.users.ahurac = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" ];
shell = pkgs.zsh;
};
system.stateVersion = "24.05";
}