revert: use old flake

This commit is contained in:
fabricsoul 2025-02-25 17:17:26 -05:00
parent d164e5e53d
commit a2e660782f
20 changed files with 1158 additions and 3 deletions

43
hosts/zion/default.nix Normal file
View file

@ -0,0 +1,43 @@
# hosts/zion/default.nix
{
config,
lib,
pkgs,
...
}: {
imports = [
# Hardware configuration
./hardware-configuration.nix
# Common configurations
../common/global
../common/optional/nvidia.nix
../common/optional/docker.nix
../common/optional/steam.nix
];
# Bootloader
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Networking
networking = {
hostName = "zion";
networkmanager.enable = true;
useDHCP = lib.mkDefault true;
};
# User configuration
users.users.fabric = {
isNormalUser = true;
description = "fabric";
extraGroups = ["networkmanager" "wheel" "docker"];
shell = pkgs.zsh;
};
# Enable Ollama with CUDA
services.ollama = {
enable = true;
acceleration = "cuda";
};
}