setting up Framework 13 Pro

This commit is contained in:
2026-08-13 19:24:51 -06:00
parent d1e4ae22d2
commit b64d4b5bd1
5 changed files with 131 additions and 28 deletions
+15
View File
@@ -0,0 +1,15 @@
{ config, pkgs, ... }:
{
imports = [
./hardware.nix
../../system
];
networking.hostName = "lilac";
services.fwupd.enable = true;
services.fprintd.enable = true;
system.stateVersion = "26.05";
}
+32
View File
@@ -0,0 +1,32 @@
# 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, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/86f8851e-b254-4d0b-a974-0240b72a83a1";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/76A6-B92E";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices = [ { device = "/dev/disk/by-uuid/fcc6f3ac-24e7-447e-a07a-7561f5468d56"; } ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.npu.enable = true;
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}