nixcfg/hosts/lavaridge/default.nix

51 lines
1.8 KiB
Nix
Raw Normal View History

2024-03-12 22:14:08 -04:00
# Framework Laptop 13 with AMD Ryzen 7640U, 32GB RAM, 1TB SSD.
{ config, pkgs, lib, ... }:
{
2024-03-24 14:06:24 -04:00
imports = [
../../modules/homelab/virtualization.nix
../../modules/kde.nix
../../modules/plymouth.nix
../../modules/steam.nix
../../modules/zram_swap.nix
../../system
../../users/aly.nix
./hardware-configuration.nix # Include the results of the hardware scan.
# ../../modules/gnome
# ../../modules/gnome/fingerprint.nix
# ../../modules/gnome/fractional_scaling.nix
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
2024-03-12 22:17:57 -04:00
# Pull latest Linux kernel.
boot.kernelPackages = pkgs.linuxPackages_latest;
networking.hostName = "lavaridge"; # Define your hostname.
2024-03-14 14:16:24 -04:00
services.fwupd.enable = true;
# # we need fwupd 1.9.7 to downgrade the fingerprint sensor firmware
# services.fwupd.package = (import (builtins.fetchTarball {
# url = "https://github.com/NixOS/nixpkgs/archive/bb2009ca185d97813e75736c2b8d1d8bb81bde05.tar.gz";
# sha256 = "sha256:003qcrsq5g5lggfrpq31gcvj82lb065xvr7bpfa8ddsw8x4dnysk";
# }) {
# inherit (pkgs) system;
# }).fwupd;
# nixpkgs.config.chromium.commandLineArgs = "--ozone-platform=wayland";
# environment.sessionVariables.NIXOS_OZONE_WL = "1";
home-manager.users.aly = import ../../home/aly-kde.nix;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "23.11"; # Did you read the comment?
}