Compare commits

...

8 Commits

Author SHA1 Message Date
b9d78079d2 fix remote build 2026-01-18 18:22:00 -06:00
07b9b65382 move options 2026-01-18 17:07:58 -06:00
58bbf942d8 ssh key 2026-01-12 15:23:56 -06:00
aeee74c4ad fix homebox 2026-01-11 20:42:51 -06:00
5bcfe2dc8b import 2026-01-11 20:31:49 -06:00
ae327d6d22 nvidia 2026-01-11 17:33:16 -06:00
8f71ce170f nvidia 2026-01-11 17:31:53 -06:00
5b5df9b66f propare homebox 2026-01-11 17:24:14 -06:00
2 changed files with 20 additions and 4 deletions

View File

@@ -8,6 +8,8 @@
imports = [ # Include the results of the hardware scan. imports = [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
(import ./disko.nix { device1 = "/dev/nvme0n1"; device2 = "/dev/nvme1n1"; device3 = "/dev/sda"; })
]; ];
config = { config = {
@@ -33,6 +35,12 @@
}; };
}; };
hardware.nvidia = {
open = true;
modesetting.enable = true;
nvidiaPersistenced = true;
};
sops = { sops = {
age.keyFile = "/var/lib/sops/age/keys.txt"; age.keyFile = "/var/lib/sops/age/keys.txt";
defaultSopsFile = ./secrets.yaml; defaultSopsFile = ./secrets.yaml;
@@ -46,16 +54,24 @@
}; };
sysconfig = { sysconfig = {
docker.nvidia = true;
remoteBuildClient = false;
users = { users = {
nathan = { nathan = {
extraGroups = [ "wheel" "networkmanager" ]; isSuperuser = true;
sshKeys = [ extraGroups = [ "networkmanager" "docker" ];
ssh.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAsU69CxfQk58CvItPN426h5Alnpb60SH37wet97Vb57 nathan@laptop" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAsU69CxfQk58CvItPN426h5Alnpb60SH37wet97Vb57 nathan@laptop"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEnUhN2uHwAJF/SLRX3wlGRmfhV3zpP88JQAYB+gh8jW nathan@localhost"
]; ];
shell = pkgs.zsh; shell = pkgs.zsh;
hashedPasswordFile = config.sops.secrets."nathan/pass".path; hashedPasswordFile = config.sops.secrets."nathan/pass".path;
home-manager = { home-manager = {
enable = true; enable = true;
standalone = false;
extraModules = [ extraModules = [
{ {
homeconfig = { homeconfig = {
@@ -76,7 +92,7 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
wayvnc wayvnc
openrgb openrgb
]; ];
} }
]; ];

View File

@@ -30,7 +30,7 @@
modules = [ modules = [
{ sysconfig.host = host; } { sysconfig.host = host; }
./configuration.nix ./.
olympus.profiles.homebox olympus.profiles.homebox
]; ];
}; };