{ inputs, ... }: { imports = [ # généré à l'installation avec nixos-generate-config # à copier dans le dossier courant depuis /etc/nixos ./hardware-configuration.nix # machine spécifique ./config/boot.nix ./config/drivers_video.nix ./config/low-ram.nix ./config/power_management.nix # ensemble de packages et configurations système ../common/basesystem/bluetooth.nix ../common/basesystem/language.nix ../common/basesystem/memory.nix ../common/basesystem/system.nix ../common/basesystem/system_saves.nix ../common/basesystem/users.nix # style ../common/style/fonts.nix ../common/style/stylix.nix # additional services ../common/services/gnome-keyring.nix ../common/services/mullvad.nix ../common/services/openconnect.nix ../common/services/sound.nix ../common/services/greetd.nix ../common/services/protonmail.nix # programs ../common/programs/gamescope.nix ../common/programs/steam.nix # packages & others ../common/niri.nix #../common/hyprland.nix ../common/wayland.nix ../common/system_packages.nix # profil nixos-hardware pour le ThinkPad E560 # nécessite l'input nixos-hardware dans flake.nix inputs.nixos-hardware.nixosModules.common-cpu-intel # active le microcode intel inputs.nixos-hardware.nixosModules.common-pc-laptop # active tlp ]; nix.settings.experimental-features = [ "nix-command" "flakes" ]; nixpkgs.config.allowUnfree = true; # ne pas toucher, défini une seule fois en fonction de la version de nixos de l'ISO pour la 1ère installation system.stateVersion = "25.11"; }