nixcfg/hosts/mandarin/default.nix

75 lines
1.4 KiB
Nix
Raw Normal View History

2024-06-14 14:05:59 -04:00
# Custom Desktop with Ryzen CPU and Nvidia GPU.
{
config,
inputs,
lib,
pkgs,
self,
...
}: {
imports = [
./disko.nix
./hardware.nix
./home.nix
];
boot = {
# Bootloader.
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
};
networking.hostName = "mandarin";
alyraffauf = {
base = {
enable = true;
plymouth.enable = true;
2024-06-15 17:47:22 -04:00
zramSwap.enable = true;
2024-06-14 14:05:59 -04:00
};
users = {
aly = {
enable = true;
password = "$y$j9T$NSS7QcEtN4yiigPyofwlI/$nxdgz0lpySa0heDMjGlHe1gX3BWf48jK6Tkfg4xMEs6";
};
morgan = {
enable = true;
password = "$y$j9T$frYXYFwo4KuPWEqilfPCN1$CtRMMK4HFLKu90qkv1cCkvp1UdJocUbkySQlVElwkM2";
};
};
desktop = {
enable = true;
greetd = {
enable = true;
session = lib.getExe config.programs.hyprland.package;
autologin = {
enable = true;
user = "morgan";
};
};
hyprland.enable = true;
2024-06-19 20:55:54 -04:00
steam.enable = true;
2024-06-14 14:05:59 -04:00
};
apps = {
steam.enable = true;
podman.enable = true;
virt-manager.enable = true;
};
scripts = {
hoenn.enable = true;
};
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;
};
};
system.stateVersion = "24.05";
}