me like nix
0

Configure Feed

Select the types of activity you want to include in your feed.

changes from https://wiki.nixos.org/wiki/Hardware/Framework/Laptop_16

author
Sean Aye
date (Mar 22, 2026, 8:03 PM -0400) commit 5934f41a parent 5e39b926 change-id tzlptlzw
+33
+17
flake.lock
··· 170 170 "type": "github" 171 171 } 172 172 }, 173 + "nixos-hardware": { 174 + "locked": { 175 + "lastModified": 1768736227, 176 + "narHash": "sha256-qgGq7CfrYKc3IBYQ7qp0Z/ZXndQVC5Bj0N8HW9mS2rM=", 177 + "owner": "NixOS", 178 + "repo": "nixos-hardware", 179 + "rev": "d447553bcbc6a178618d37e61648b19e744370df", 180 + "type": "github" 181 + }, 182 + "original": { 183 + "owner": "NixOS", 184 + "ref": "master", 185 + "repo": "nixos-hardware", 186 + "type": "github" 187 + } 188 + }, 173 189 "nixpkgs": { 174 190 "locked": { 175 191 "lastModified": 1763966396, ··· 272 288 "home-manager": "home-manager", 273 289 "niri": "niri", 274 290 "nixarr": "nixarr", 291 + "nixos-hardware": "nixos-hardware", 275 292 "nixpkgs": "nixpkgs_5", 276 293 "zen-browser": "zen-browser" 277 294 }
+3
flake.nix
··· 18 18 inputs.nixpkgs.follows = "nixpkgs"; 19 19 }; 20 20 copyparty.url = "github:9001/copyparty"; 21 + nixos-hardware.url = "github:NixOS/nixos-hardware/master"; 21 22 }; 22 23 23 24 outputs = ··· 29 30 niri, 30 31 nixarr, 31 32 copyparty, 33 + nixos-hardware, 32 34 ... 33 35 }@inputs: 34 36 { ··· 69 71 # Your main configuration file 70 72 ./hosts/framework16/configuration.nix 71 73 catppuccin.nixosModules.catppuccin 74 + nixos-hardware.nixosModules.framework-16-7040-amd 72 75 73 76 ({ 74 77 nixpkgs.overlays = [ niri.overlays.niri ];
+13
hosts/framework16/configuration.nix
··· 14 14 boot.initrd.luks.devices."luks-ee306bda-c450-4a56-b4fe-537899e38e0d".device = 15 15 "/dev/disk/by-uuid/ee306bda-c450-4a56-b4fe-537899e38e0d"; 16 16 networking.hostName = "framework16"; # Define your hostname. 17 + 18 + # Framework 16 specific configuration 19 + # Disable ABM (Active Backlight Management) to maintain color accuracy 20 + boot.kernelParams = [ "amdgpu.abmlevel=0" ]; 21 + 22 + # Use power-profiles-daemon instead of TLP (recommended for AMD Framework) 23 + services.power-profiles-daemon.enable = true; 24 + 25 + # Disable keyboard/touchpad wake from suspend (prevents wake in bags) 26 + services.udev.extraRules = '' 27 + # Framework Laptop 16 - Disable wakeup for internal keyboard to prevent wake in bags 28 + ACTION=="add", SUBSYSTEM=="usb", DRIVERS=="usb", ATTRS{idVendor}=="32ac", ATTR{power/wakeup}="disabled" 29 + ''; 17 30 # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. 18 31 19 32 # Configure network proxy if necessary