nix-config/modules/nix/default.nix
smayzy 092579af98
All checks were successful
nix flake show / show-flake (push) Successful in 27s
format with nixfmt to nixpkgs standarts
2025-07-24 19:19:46 +02:00

55 lines
890 B
Nix

{ lib, ... }:
{
imports = [
./audio
./base-cli
./hardware
./virt
./games
./browser
./shell
./rice
./groups
./wm
./de
./office
./comm
./displaymanager
./vpn
./utilities
./flatpak
./ide
./ebook
./cad
./terminal
];
# 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;
}