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,
|
|
|
|
self,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [
|
|
|
|
./disko.nix
|
|
|
|
./hardware.nix
|
|
|
|
./home.nix
|
|
|
|
];
|
|
|
|
|
2024-06-22 12:10:36 -04:00
|
|
|
boot.loader = {
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
systemd-boot.enable = 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
|
|
|
|
|
|
|
base.enable = true;
|
|
|
|
|
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
|
|
|
}
|