nixos-config/common/configuration.nix

66 lines
1.3 KiB
Nix

{ 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;
services.libinput.enable = true;
services.flatpak = {
enable = true;
packages = [ "dev.aunetx.deezer" "im.riot.Riot" ];
update.onActivation = true;
overrides = {
global = {
Context.sockets = [ "wayland" "!x11" "!fallback-x11" ];
Environment = {
XCURSOR_PATH = "/run/host/user-share/icons:/run/host/share/icons";
GTK_THEME = "Adwaita:dark";
};
};
};
};
programs.hyprland.enable = true;
programs.zsh.enable = true;
users.users.ahurac = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" ];
shell = pkgs.zsh;
};
system.stateVersion = "24.05";
}