it finally builds

This commit is contained in:
2025-12-07 01:12:57 -05:00
parent e048d4d5c7
commit 0cf5d70d20
10 changed files with 79 additions and 14 deletions

View File

@@ -7,6 +7,7 @@
imports =
[
./hardware-configuration.nix
../../global/default.nix
../../modules/communication/default.nix
../../modules/creative/default.nix
../../modules/development/default.nix
@@ -27,11 +28,15 @@
networking.networkmanager.enable = true;
# Only computer I own that can actually run ollama, and I don't want to make an ai folder.
services.ollama = {
enable = true;
acceleration = "cuda";
host = "[::]";
};
# services.ollama = {
# enable = true;
# acceleration = "cuda";
# host = "[::]";
# };
environment.systemPackages = [
pkgs.ollama-cuda
];
# Set your time zone.
# time.timeZone = "Europe/Amsterdam";

View File

@@ -9,6 +9,17 @@
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/2849654b-6c3c-4db7-9603-5fa96ce561aa";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/90C0-8767";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/7762478c-1123-4a1f-9402-1bba3723e53d"; }
];

View File

@@ -2,7 +2,7 @@
{
# These both are probably always going to be the same, but I'll keep them local just in case:tm:
home.username = "laythe";
home.homeDirectory = "/home/laythe";
home.homeDirectory = lib.mkForce "/home/laythe";
imports = [
../../home/default.nix