moving toward a multi-machine configuration !

This commit is contained in:
boyreau 2026-08-01 20:29:56 +02:00
commit 4cef631a8c
18 changed files with 250 additions and 181 deletions

View file

@ -0,0 +1,45 @@
# Do not modify this file! It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{
config,
lib,
modulesPath,
...
}:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.kernelParams = [ "i915.modeset=1" ];
boot.kernelModules = [ "kvm-intel" ];
boot.blacklistedKernelModules = [ "nouveau" ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/mapper/safe";
fsType = "btrfs";
options = [ "subvol=os/nix" ];
};
fileSystems."/mnt/games" = {
device = "/dev/mapper/safe";
fsType = "btrfs";
options = [
"ssd"
"lazytime"
"subvol=game"
];
};
fileSystems."/boot/efi" = {
device = "/dev/disk/by-uuid/4FD7-458E";
fsType = "vfat";
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}