This commit is contained in:
mjallen18
2026-02-02 18:14:04 -06:00
parent bd8d1e6485
commit d9d7760e58
16 changed files with 697 additions and 693 deletions

View File

@@ -1,6 +1,4 @@
{
config,
lib,
pkgs,
namespace,
...

View File

@@ -333,7 +333,7 @@ in
persistence."/media/nas/main/persist" = {
hideMounts = true;
directories = [
];
};
};

View File

@@ -1,12 +1,11 @@
{
config,
lib,
namespace,
...
}:
with lib;
with lib;
let
inherit (lib.${namespace}) enabled disabled;
inherit (lib.${namespace}) disabled;
in
{
specialisation = {

View File

@@ -1,4 +1,4 @@
{ lib, ... }:
{ ... }:
{
disko.devices = {
disk = {
@@ -380,4 +380,4 @@
};
};
};
}
}

View File

@@ -1,16 +1,5 @@
{ ... }:
let
defaultNetworkShareOptions = [
"sec=none"
"nofail"
"x-systemd.automount"
"auto"
"rw"
"file_mode=0775"
"dir_mode=0775"
"uid=matt"
"gid=wheel"
];
defaultLocalOptions = [
"compress=zstd"
# "autodefrag"

View File

@@ -2,13 +2,13 @@
# your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ config, lib, pkgs, ... }:
{ ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
];
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
@@ -37,9 +37,6 @@
# Enable the X11 windowing system.
# services.xserver.enable = true;
# Configure keymap in X11
# services.xserver.xkb.layout = "us";
# services.xserver.xkb.options = "eurosign:e,caps:escape";
@@ -120,4 +117,3 @@
system.stateVersion = "25.11"; # Did you read the comment?
}

View File

@@ -1,66 +1,96 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
config,
lib,
modulesPath,
...
}:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "ahci" "nvme" "xhci_pci" "thunderbolt" "uas" ];
boot.initrd.availableKernelModules = [
"ahci"
"nvme"
"xhci_pci"
"thunderbolt"
"uas"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
boot.initrd.luks.devices."nuc-nixos-cryptroot".device = "/dev/disk/by-uuid/6564be77-2b7f-4078-a791-cc74ffccc561";
boot.initrd.luks.devices."nuc-nixos-cryptroot".device =
"/dev/disk/by-uuid/6564be77-2b7f-4078-a791-cc74ffccc561";
fileSystems."/" =
{ device = "none";
fsType = "tmpfs";
};
fileSystems."/" = {
device = "none";
fsType = "tmpfs";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/08E3-88DB";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/08E3-88DB";
fsType = "vfat";
options = [
"fmask=0022"
"dmask=0022"
];
};
fileSystems."/nix" =
{ device = "UUID=12dc0336-37fa-497c-bc4c-8e4eb8a2fab8";
fsType = "bcachefs";
options = [ "noatime" "X-mount.subdir=nix" ];
};
fileSystems."/nix" = {
device = "UUID=12dc0336-37fa-497c-bc4c-8e4eb8a2fab8";
fsType = "bcachefs";
options = [
"noatime"
"X-mount.subdir=nix"
];
};
fileSystems."/etc" =
{ device = "UUID=12dc0336-37fa-497c-bc4c-8e4eb8a2fab8";
fsType = "bcachefs";
options = [ "noatime" "X-mount.subdir=etc" ];
};
fileSystems."/etc" = {
device = "UUID=12dc0336-37fa-497c-bc4c-8e4eb8a2fab8";
fsType = "bcachefs";
options = [
"noatime"
"X-mount.subdir=etc"
];
};
fileSystems."/var/log" =
{ device = "UUID=12dc0336-37fa-497c-bc4c-8e4eb8a2fab8";
fsType = "bcachefs";
options = [ "noatime" "X-mount.subdir=log" ];
};
fileSystems."/var/log" = {
device = "UUID=12dc0336-37fa-497c-bc4c-8e4eb8a2fab8";
fsType = "bcachefs";
options = [
"noatime"
"X-mount.subdir=log"
];
};
fileSystems."/root" =
{ device = "UUID=12dc0336-37fa-497c-bc4c-8e4eb8a2fab8";
fsType = "bcachefs";
options = [ "noatime" "X-mount.subdir=root" ];
};
fileSystems."/root" = {
device = "UUID=12dc0336-37fa-497c-bc4c-8e4eb8a2fab8";
fsType = "bcachefs";
options = [
"noatime"
"X-mount.subdir=root"
];
};
fileSystems."/persist" =
{ device = "UUID=12dc0336-37fa-497c-bc4c-8e4eb8a2fab8";
fsType = "bcachefs";
options = [ "noatime" "X-mount.subdir=persist" ];
};
fileSystems."/persist" = {
device = "UUID=12dc0336-37fa-497c-bc4c-8e4eb8a2fab8";
fsType = "bcachefs";
options = [
"noatime"
"X-mount.subdir=persist"
];
};
fileSystems."/home" =
{ device = "UUID=12dc0336-37fa-497c-bc4c-8e4eb8a2fab8";
fsType = "bcachefs";
options = [ "X-mount.subdir=home" ];
};
fileSystems."/home" = {
device = "UUID=12dc0336-37fa-497c-bc4c-8e4eb8a2fab8";
fsType = "bcachefs";
options = [ "X-mount.subdir=home" ];
};
swapDevices = [ ];