diff options
author | Leonardo Santiago <[email protected]> | 2024-06-03 10:41:45 -0300 |
---|---|---|
committer | Leonardo Santiago <[email protected]> | 2024-06-03 10:41:45 -0300 |
commit | 2af6761a8cacab8f421f1ce4043cc5f998f30192 (patch) | |
tree | 1f5c0cfb830dd35050f76f3107db2cadaf9b5b51 /hosts | |
parent | 36e878561fb7abc823d2ea8e85e6ef74b65d6d48 (diff) |
more stuff
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/larissa/configuration.nix | 14 | ||||
-rw-r--r-- | hosts/larissa/hardware-configuration.nix | 12 |
2 files changed, 11 insertions, 15 deletions
diff --git a/hosts/larissa/configuration.nix b/hosts/larissa/configuration.nix index 499d6ea..2a30415 100644 --- a/hosts/larissa/configuration.nix +++ b/hosts/larissa/configuration.nix @@ -10,19 +10,7 @@ ./hardware-configuration.nix ]; - # this system has a fingerprint reader. - services.fprintd.enable = true; - - services.fwupd = { - enable = true; - package = (import (builtins.fetchTarball { - url = "https://github.com/NixOS/nixpkgs/archive/bb2009ca185d97813e75736c2b8d1d8bb81bde05.tar.gz"; - sha256 = "sha256:003qcrsq5g5lggfrpq31gcvj82lb065xvr7bpfa8ddsw8x4dnysk"; - }) { - inherit (pkgs) system; - }).fwupd; - - }; + services.fwupd.enable = true; # Bootloader. boot.loader.systemd-boot.enable = true; diff --git a/hosts/larissa/hardware-configuration.nix b/hosts/larissa/hardware-configuration.nix index 177fcb5..4a17244 100644 --- a/hosts/larissa/hardware-configuration.nix +++ b/hosts/larissa/hardware-configuration.nix @@ -1,15 +1,23 @@ # 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, ... }: +{ config, lib, modulesPath, inputs, pkgs, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") + inputs.nixos-hardware.nixosModules.framework-13-7040-amd ]; - boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod" ]; + boot.initrd.availableKernelModules = [ + "nvme" + "xhci_pci" + "thunderbolt" + "usb_storage" + "sd_mod" + ]; boot.initrd.kernelModules = [ ]; + boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelModules = [ "kvm-amd" ]; boot.kernelParams = lib.optionals (lib.versionOlder config.boot.kernelPackages.kernel.version "6.8") ["rtc_cmos.use_acpi_alarm=1"] ; boot.extraModulePackages = [ ]; |