(Snow)flakes for fluffy winters.
0
fork

Configure Feed

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

refactor(consumers): add nixos-hardware (#28)

* refactor(consumers): add nixos-hardware
Adds nixos-hardware, which manages the quirks of each machine. For ryuganhana, specifically the Dell XPS 13 9310.

* chore(flake): bump nixos-hardware input

authored by

WalkQuackBack and committed by
GitHub
041faf8b b6dcccb5

+58 -9
+35
config.nix
··· 1 + # Do not modify this file! It was generated by ‘nixos-generate-config’ 2 + # and may be overwritten by future invocations. Please make changes 3 + # to /etc/nixos/configuration.nix instead. 4 + { config, lib, pkgs, modulesPath, ... }: 5 + 6 + { 7 + imports = 8 + [ (modulesPath + "/installer/scan/not-detected.nix") 9 + ]; 10 + 11 + boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" "rtsx_pci_sdmmc" ]; 12 + boot.initrd.kernelModules = [ ]; 13 + boot.kernelModules = [ "kvm-intel" ]; 14 + boot.extraModulePackages = [ ]; 15 + 16 + fileSystems."/" = 17 + { device = "/dev/mapper/luks-252dca76-0797-44c2-a194-f9d1f9808b90"; 18 + fsType = "ext4"; 19 + }; 20 + 21 + boot.initrd.luks.devices."luks-252dca76-0797-44c2-a194-f9d1f9808b90".device = "/dev/disk/by-uuid/252dca76-0797-44c2-a194-f9d1f9808b90"; 22 + 23 + fileSystems."/boot" = 24 + { device = "/dev/disk/by-uuid/CEB4-594F"; 25 + fsType = "vfat"; 26 + options = [ "fmask=0077" "dmask=0077" ]; 27 + }; 28 + 29 + swapDevices = 30 + [ { device = "/dev/mapper/luks-baea4c7c-6d01-429d-9ef3-18724a33dc5f"; } 31 + ]; 32 + 33 + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 34 + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 35 + }
-8
consumers/ryuganhana/configuration.nix
··· 21 21 description = ""; 22 22 extraGroups = [ "networkmanager" "wheel" ]; 23 23 }; 24 - 25 - # Enable the fingerprint reader 26 - # https://wiki.nixos.org/wiki/Fingerprint_scanner 27 - services.fprintd = { 28 - enable = true; 29 - tod.enable = true; 30 - tod.driver = pkgs.libfprint-2-tod1-goodix; 31 - }; 32 24 }
+17
flake.lock
··· 74 74 "type": "github" 75 75 } 76 76 }, 77 + "nixos-hardware": { 78 + "locked": { 79 + "lastModified": 1775203647, 80 + "narHash": "sha256-6MWaMLXK9QMndI94CIxeiPafi3wuO+imCtK9tfhsZdw=", 81 + "owner": "NixOS", 82 + "repo": "nixos-hardware", 83 + "rev": "80afbd13eea0b7c4ac188de949e1711b31c2b5f0", 84 + "type": "github" 85 + }, 86 + "original": { 87 + "owner": "NixOS", 88 + "ref": "master", 89 + "repo": "nixos-hardware", 90 + "type": "github" 91 + } 92 + }, 77 93 "nixpkgs": { 78 94 "locked": { 79 95 "lastModified": 1773222311, ··· 164 180 "inputs": { 165 181 "home-manager": "home-manager", 166 182 "nixcord": "nixcord", 183 + "nixos-hardware": "nixos-hardware", 167 184 "nixpkgs": "nixpkgs_2", 168 185 "plasma-manager": "plasma-manager" 169 186 }
+6 -1
flake.nix
··· 19 19 nixcord = { 20 20 url = "github:kaylorben/nixcord"; 21 21 }; 22 + 23 + nixos-hardware = { 24 + url = "github:NixOS/nixos-hardware/master"; 25 + }; 22 26 }; 23 27 24 - outputs = { self, nixpkgs, home-manager, plasma-manager, nixcord, ... }: 28 + outputs = { self, nixpkgs, home-manager, plasma-manager, nixcord, nixos-hardware, ... }: 25 29 let 26 30 system = "x86_64-linux"; 27 31 stateVersion = "25.11"; ··· 33 37 }; 34 38 modules = [ 35 39 ./consumers/ryuganhana/configuration.nix 40 + nixos-hardware.nixosModules.dell-xps-13-9310 36 41 home-manager.nixosModules.default 37 42 { 38 43 home-manager = {