nixcfg/hosts/lavaridge/default.nix
2024-05-01 22:17:43 -04:00

67 lines
1.3 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
./disko.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;
};
alyraffauf = {
system = {
plymouth.enable = true;
zramSwap = {enable = true;};
};
user = {
aly = {
enable = true;
password = "$y$j9T$NSS7QcEtN4yiigPyofwlI/$nxdgz0lpySa0heDMjGlHe1gX3BWf48jK6Tkfg4xMEs6";
};
dustin.enable = false;
};
desktop = {
enable = true;
greetd = {
enable = true;
session = config.programs.sway.package + "/bin/sway";
autologin = {
enable = true;
user = "aly";
};
};
sway.enable = true;
};
apps = {
steam.enable = true;
podman.enable = true;
virt-manager.enable = true;
};
services = {
syncthing.enable = true;
tailscale.enable = true;
};
};
system.stateVersion = "23.11"; # Did you read the comment?
}