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

49
flake.lock generated Normal file
View File

@@ -0,0 +1,49 @@
{
"nodes": {
"home-manager": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1764998300,
"narHash": "sha256-fZatn/KLfHLDXnF0wy7JxXqGaZmGDTVufT4o/AOlj44=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "27a6182347ccae90a88231ae0dc5dfa7d15815bb",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "master",
"repo": "home-manager",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1764950072,
"narHash": "sha256-BmPWzogsG2GsXZtlT+MTcAWeDK5hkbGRZTeZNW42fwA=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "f61125a668a320878494449750330ca58b78c557",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"home-manager": "home-manager",
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

View File

@@ -29,6 +29,7 @@
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./machines/homepc/configuration.nix ./machines/homepc/configuration.nix
home-manager.nixosModules.home-manager
{ {
home-manager.extraSpecialArgs = {inherit inputs outputs;}; home-manager.extraSpecialArgs = {inherit inputs outputs;};
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
@@ -36,8 +37,8 @@
home-manager.users.laythe = import ./machines/homepc/home.nix; home-manager.users.laythe = import ./machines/homepc/home.nix;
} }
] ];
} };
} };
}; };
} }

View File

@@ -2,7 +2,6 @@
# There is no order for where things are in this, it's a little messy. # There is no order for where things are in this, it's a little messy.
{pkgs, ...}: {pkgs, ...}:
{ {
time.timezone = "America/Eastern"; # Is there a better way for this? What if I'm travelling?
# 🇺🇸 # 🇺🇸
i18n.defaultLocale = "en_US.UTF-8"; i18n.defaultLocale = "en_US.UTF-8";

View File

@@ -1,4 +1,4 @@
{}: {...}:
{ {
programs.bash = { programs.bash = {
enable = true; enable = true;

View File

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

View File

@@ -9,6 +9,17 @@
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; 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 = swapDevices =
[ { device = "/dev/disk/by-uuid/7762478c-1123-4a1f-9402-1bba3723e53d"; } [ { 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: # These both are probably always going to be the same, but I'll keep them local just in case:tm:
home.username = "laythe"; home.username = "laythe";
home.homeDirectory = "/home/laythe"; home.homeDirectory = lib.mkForce "/home/laythe";
imports = [ imports = [
../../home/default.nix ../../home/default.nix

View File

@@ -4,5 +4,5 @@
discord discord
jami jami
element-desktop element-desktop
] ];
} }

View File

@@ -5,5 +5,5 @@
shotcut shotcut
glaxnimate glaxnimate
kdePackages.kdenlive kdePackages.kdenlive
] ];
} }

View File

@@ -1,6 +1,6 @@
{pkgs, ...}: {pkgs, ...}:
{ {
environment.systemPackages = with pkgs [ environment.systemPackages = with pkgs; [
vscode vscode
antigravity # Free Gemini 3 credits was too good of an offer to not take up, even if it requires selling my soul. antigravity # Free Gemini 3 credits was too good of an offer to not take up, even if it requires selling my soul.
]; ];