summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/larissa/configuration.nix14
-rw-r--r--hosts/larissa/hardware-configuration.nix12
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 = [ ];