mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-12-01 13:59:17 -05:00
72 lines
1.2 KiB
Nix
72 lines
1.2 KiB
Nix
# Custom desktop with AMD Ryzen 5 5600x, 32GB RAM, AMD Rx 7800 XT, and 1TB SSD + 2TB SSD.
|
|
{
|
|
config,
|
|
inputs,
|
|
lib,
|
|
pkgs,
|
|
self,
|
|
...
|
|
}: {
|
|
imports = [
|
|
./disko.nix
|
|
./hardware.nix
|
|
./home.nix
|
|
];
|
|
|
|
boot.loader = {
|
|
efi.canTouchEfiVariables = true;
|
|
systemd-boot.enable = true;
|
|
};
|
|
|
|
networking.hostName = "mandarin";
|
|
|
|
services.ollama = {
|
|
enable = true;
|
|
acceleration = "rocm";
|
|
};
|
|
|
|
system.stateVersion = "24.05";
|
|
|
|
ar = {
|
|
apps = {
|
|
firefox.enable = true;
|
|
podman.enable = true;
|
|
steam.enable = true;
|
|
virt-manager.enable = true;
|
|
};
|
|
|
|
base.enable = true;
|
|
|
|
desktop = {
|
|
greetd = {
|
|
enable = true;
|
|
|
|
autologin = {
|
|
enable = true;
|
|
user = "morgan";
|
|
};
|
|
};
|
|
|
|
hyprland.enable = true;
|
|
steam.enable = true;
|
|
};
|
|
|
|
services = {
|
|
flatpak.enable = true;
|
|
tailscale.enable = true;
|
|
};
|
|
|
|
users = {
|
|
aly = {
|
|
enable = true;
|
|
password = "$y$j9T$NSS7QcEtN4yiigPyofwlI/$nxdgz0lpySa0heDMjGlHe1gX3BWf48jK6Tkfg4xMEs6";
|
|
};
|
|
|
|
morgan = {
|
|
enable = true;
|
|
password = "$y$j9T$frYXYFwo4KuPWEqilfPCN1$CtRMMK4HFLKu90qkv1cCkvp1UdJocUbkySQlVElwkM2";
|
|
};
|
|
};
|
|
};
|
|
}
|