Compare commits

..

9 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
25401f8a5b propare homebox 2026-01-11 17:17:53 -06:00
2 changed files with 21 additions and 5 deletions

View File

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

View File

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