nixcfg/hosts/mandarin/default.nix

74 lines
1.2 KiB
Nix
Raw Normal View History

# 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
];
boot.loader = {
efi.canTouchEfiVariables = true;
systemd-boot.enable = true;
2024-06-14 14:05:59 -04:00
};
networking.hostName = "mandarin";
system.stateVersion = "24.05";
ar = {
apps = {
podman.enable = true;
steam.enable = true;
virt-manager.enable = true;
2024-06-14 14:05:59 -04:00
};
base.enable = true;
2024-06-14 14:05:59 -04:00
desktop = {
enable = true;
2024-06-14 14:05:59 -04:00
greetd = {
enable = true;
2024-06-14 14:05:59 -04:00
autologin = {
enable = true;
user = "morgan";
};
};
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-14 14:05:59 -04:00
services = {
2024-06-14 20:39:40 -04:00
flatpak.enable = true;
2024-06-14 20:14:37 -04:00
ollama = {
enable = true;
2024-06-15 19:29:02 -04:00
gpu = "amd";
2024-06-14 20:14:37 -04:00
};
2024-06-14 14:05:59 -04:00
tailscale.enable = true;
};
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
}