it finally builds
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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"; }
|
||||
];
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user