adapt work pc

This commit is contained in:
afoucaultc 2026-08-07 22:46:05 +02:00
parent 4898f5cc5f
commit dca271648e
54 changed files with 126 additions and 847 deletions

View file

@ -4,24 +4,32 @@
# généré à l'installation avec nixos-generate-config
# à copier dans le dossier courant depuis /etc/nixos
./hardware-configuration.nix
# ensemble de packages et configurations système
./config/bluetooth.nix
# machine spécifique
./config/boot.nix
./config/drivers_video.nix
./config/extra-services.nix
./config/fonts.nix
./config/language.nix
./config/power_management.nix
./config/sound.nix
./config/stylix.nix
./config/system_packages.nix
./config/system_saves.nix
./config/system_services.nix
./config/user.nix
./config/wayland.nix
# ajout pour forcer l'utilisation de cachix au max
./config/low-ram.nix
# profil nixos-hardware pour le ThinkPad E560
./drivers_video.nix
./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/sound.nix
# programs
../common/programs/gamescope.nix
../common/programs/steam.nix
# packages & others
../common/niri.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
@ -33,8 +41,4 @@
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";
# nécessaire pour permettre des dépendances problématiques parfois
#nixpkgs.config.permittedInsecurePackages = [
# "electron-39.8.10"
#];
}