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,31 +4,31 @@
# 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/power-management.nix
# ensemble de packages et configurations système
./config/basesystem/bluetooth.nix
./config/basesystem/boot.nix
./config/basesystem/drivers_video.nix
./config/basesystem/language.nix
./config/basesystem/memory.nix
./config/basesystem/system.nix
./config/basesystem/system_saves.nix
./config/basesystem/users.nix
../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
./config/style/fonts.nix
./config/style/stylix.nix
../common/style/fonts.nix
../common/style/stylix.nix
# additional services
./config/services/gnome-keyring.nix
./config/services/kde.nix
./config/services/mullvad.nix
./config/services/power_management.nix
./config/services/sound.nix
../common/services/gnome-keyring.nix
../common/services/mullvad.nix
../common/services/sound.nix
# programs
./config/programs/gamescope.nix
./config/programs/steam.nix
../common/programs/gamescope.nix
../common/programs/steam.nix
# packages & others
./config/hyprland.nix
./config/wayland.nix
./config/system_packages.nix
../common/niri.nix
../common/wayland.nix
../common/system_packages.nix
# profil nixos pour mon ordi portable maison
# nécessite l'input nixos-hardware dans flake.nix.
inputs.nixos-hardware.nixosModules.common-cpu-intel # active le microcode intel, KMS pour GPU intégré, etc...
@ -43,15 +43,10 @@
# 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"
#];
nixpkgs.overlays = [
(final: prev: {
streamlink = prev.streamlink.overridePythonAttrs (old: {
doCheck = false;
# or, to skip just the one test:
# disabledTests = (old.disabledTests or []) ++ [ "test_read_timeout" ];
});
})
];