mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 13:43:56 -05:00
46 lines
1,018 B
Nix
46 lines
1,018 B
Nix
# Framework Laptop 13 with AMD Ryzen 7640U, 32GB RAM, 1TB SSD.
|
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix # Include the results of the hardware scan.
|
|
];
|
|
|
|
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;
|
|
|
|
services.fprintd.package = pkgs.fprintd.overrideAttrs {
|
|
mesonCheckFlags = [ "--no-suite" "fprintd:TestPamFprintd" ];
|
|
};
|
|
|
|
home-manager.users.aly = import ../../home/aly-hyprland.nix;
|
|
|
|
desktopConfig = {
|
|
enable = true;
|
|
windowManagers.hyprland.enable = true;
|
|
};
|
|
|
|
apps = {
|
|
flatpak.enable = true;
|
|
steam.enable = true;
|
|
};
|
|
|
|
homeLab.virtualization.enable = true;
|
|
|
|
systemConfig.plymouth.enable = true;
|
|
systemConfig.zramSwap.enable = true;
|
|
|
|
system.stateVersion = "23.11"; # Did you read the comment?
|
|
}
|