nixcfg/hosts/lavaridge/default.nix
2024-03-29 21:16:32 -04:00

50 lines
1.1 KiB
Nix

# Framework Laptop 13 with AMD Ryzen 7640U, 32GB RAM, 1TB SSD.
{ inputs, config, pkgs, lib, ... }:
{
imports = [
./hardware-configuration.nix # Include the results of the hardware scan.
./home.nix
];
boot = {
# Bootloader.
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
# Use latest Linux kernel.
kernelPackages = pkgs.linuxPackages_latest;
};
networking.hostName = "lavaridge"; # Define your hostname.
services = {
fwupd.enable = true;
fprintd.package = pkgs.fprintd.overrideAttrs {
mesonCheckFlags = [ "--no-suite" "fprintd:TestPamFprintd" ];
};
};
systemConfig = {
plymouth.enable = true;
zramSwap.enable = true;
};
desktopConfig = {
enable = true;
windowManagers.hyprland.enable = true;
};
apps = {
flatpak.enable = true;
steam.enable = true;
};
homeLab.virtualization.enable = true;
users.users.aly.hashedPassword = "$y$j9T$O9NgTk6iRfh3mxiRDvfdm1$BjvsAKYEMB3C28652FF15cj/i.3TgQAObQvR0rN1E6C";
system.stateVersion = "23.11"; # Did you read the comment?
}