nix-config/modules/nix/default.nix
2025-07-09 00:02:13 +02:00

40 lines
738 B
Nix

{ lib, config, pkgs, ... }:
{
imports = [
./audio
./base-cli
./hardware
./virt
./games
./browser
./shell
./rice
./groups
./wm
./de
];
# Timzone and locales (same for all machines so I put it here)
i18n.defaultLocale = "en_US.UTF-8";
time.timeZone = "Europe/Paris";
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"steam"
"steam-original"
"steam-unwrapped"
"steam-run"
"obsidian"
"nvidia-x11"
"nvidia-settings"
];
services.xserver.xkb = {
layout = "fr";
variant = "";
};
console.keyMap = "fr";
nix.settings.experimental-features = [ "nix-command" "flakes" ];
networking.networkmanager.enable = true;
}