2024-06-22 12:10:36 -04:00
|
|
|
# Custom desktop with AMD Ryzen 5 5600x, 32GB RAM, AMD Rx 7800 XT, and 1TB SSD + 2TB SSD.
|
2024-06-14 14:05:59 -04:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
inputs,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [
|
2024-07-07 19:17:35 -04:00
|
|
|
../common.nix
|
2024-06-14 14:05:59 -04:00
|
|
|
./disko.nix
|
|
|
|
./home.nix
|
2024-07-07 19:17:35 -04:00
|
|
|
inputs.nixhw.nixosModules.common-amd-cpu
|
|
|
|
inputs.nixhw.nixosModules.common-amd-gpu
|
|
|
|
inputs.nixhw.nixosModules.common-bluetooth
|
|
|
|
inputs.nixhw.nixosModules.common-ssd
|
2024-06-14 14:05:59 -04:00
|
|
|
];
|
|
|
|
|
2024-07-07 19:17:35 -04:00
|
|
|
boot = {
|
|
|
|
initrd.availableKernelModules = ["nvme" "sd_mod" "usb_storage" "usbhid" "xhci_pci"];
|
|
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
|
|
|
|
loader = {
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
systemd-boot.enable = true;
|
|
|
|
};
|
2024-06-14 14:05:59 -04:00
|
|
|
};
|
|
|
|
|
2024-07-07 19:17:35 -04:00
|
|
|
hardware.enableAllFirmware = true;
|
2024-06-14 14:05:59 -04:00
|
|
|
networking.hostName = "mandarin";
|
|
|
|
|
2024-06-30 23:01:57 -04:00
|
|
|
services.ollama = {
|
|
|
|
enable = true;
|
|
|
|
acceleration = "rocm";
|
|
|
|
};
|
|
|
|
|
2024-06-22 12:10:36 -04:00
|
|
|
system.stateVersion = "24.05";
|
|
|
|
|
2024-06-26 22:13:02 -04:00
|
|
|
ar = {
|
2024-06-22 12:10:36 -04:00
|
|
|
apps = {
|
2024-06-28 21:07:20 -04:00
|
|
|
firefox.enable = true;
|
2024-06-22 12:10:36 -04:00
|
|
|
podman.enable = true;
|
|
|
|
steam.enable = true;
|
|
|
|
virt-manager.enable = true;
|
2024-06-14 14:05:59 -04:00
|
|
|
};
|
2024-06-22 12:10:36 -04:00
|
|
|
|
2024-06-14 14:05:59 -04:00
|
|
|
desktop = {
|
|
|
|
greetd = {
|
|
|
|
enable = true;
|
2024-06-22 12:10:36 -04:00
|
|
|
|
2024-06-14 14:05:59 -04:00
|
|
|
autologin = {
|
|
|
|
enable = true;
|
|
|
|
user = "morgan";
|
|
|
|
};
|
|
|
|
};
|
2024-06-22 12:10:36 -04:00
|
|
|
|
2024-06-14 14:05:59 -04:00
|
|
|
hyprland.enable = true;
|
2024-06-19 20:55:54 -04:00
|
|
|
steam.enable = true;
|
2024-06-14 14:05:59 -04:00
|
|
|
};
|
2024-06-22 12:10:36 -04:00
|
|
|
|
2024-06-14 14:05:59 -04:00
|
|
|
services = {
|
2024-06-14 20:39:40 -04:00
|
|
|
flatpak.enable = true;
|
2024-06-14 14:05:59 -04:00
|
|
|
tailscale.enable = true;
|
|
|
|
};
|
|
|
|
|
2024-06-22 12:10:36 -04:00
|
|
|
users = {
|
|
|
|
aly = {
|
|
|
|
enable = true;
|
|
|
|
password = "$y$j9T$NSS7QcEtN4yiigPyofwlI/$nxdgz0lpySa0heDMjGlHe1gX3BWf48jK6Tkfg4xMEs6";
|
|
|
|
};
|
|
|
|
|
|
|
|
morgan = {
|
|
|
|
enable = true;
|
|
|
|
password = "$y$j9T$frYXYFwo4KuPWEqilfPCN1$CtRMMK4HFLKu90qkv1cCkvp1UdJocUbkySQlVElwkM2";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-06-14 14:05:59 -04:00
|
|
|
}
|