summaryrefslogtreecommitdiff
path: root/systems
diff options
context:
space:
mode:
authorseth <[email protected]>2024-07-09 06:19:35 -0400
committerseth <[email protected]>2024-07-09 15:38:51 -0400
commit74159b94f662fc737f5614bdd29fd76bf27cee27 (patch)
tree01ea7331433d429d58552bbb5c82f2e2d007d752 /systems
parent626636985bcb038af6bf14830f3f304bbda0c9ad (diff)
glados{,-wsl}: add comments to some things
Diffstat (limited to 'systems')
-rw-r--r--systems/glados-wsl/default.nix8
-rw-r--r--systems/glados/boot.nix4
2 files changed, 10 insertions, 2 deletions
diff --git a/systems/glados-wsl/default.nix b/systems/glados-wsl/default.nix
index ebe0f74..ab4d23f 100644
--- a/systems/glados-wsl/default.nix
+++ b/systems/glados-wsl/default.nix
@@ -14,11 +14,13 @@
archetypes.personal.enable = true;
base = {
+ # these don't work well on wsl
networking.enable = false;
security.enable = false;
};
environment = {
+ # i occasionally use graphics stuff
noXlibs = lib.mkForce false;
systemPackages = with pkgs; [
wget
@@ -36,13 +38,15 @@
wsl = {
enable = true;
+
defaultUser = "seth";
+ interop.includePath = false; # this is so annoying
nativeSystemd = true;
+ startMenuLaunchers = false; # ditto
+
wslConf.network = {
hostname = "glados-wsl";
generateResolvConf = true;
};
- startMenuLaunchers = false;
- interop.includePath = false;
};
}
diff --git a/systems/glados/boot.nix b/systems/glados/boot.nix
index 0aa6f9e..c88c82b 100644
--- a/systems/glados/boot.nix
+++ b/systems/glados/boot.nix
@@ -8,7 +8,9 @@
imports = [ inputs.lanzaboote.nixosModules.lanzaboote ];
environment.systemPackages = with pkgs; [
+ # manual lanzaboote maintenance (NOTE: i have not actually used this since ~2022)
sbctl
+ # TODO: is this actually required for using `tpm2-device=auto` to unlock LUKS volumes in initrd? probably
tpm2-tss
];
@@ -18,6 +20,7 @@
kernelParams = [ "amd_pstate=active" ];
+ # lanzaboote replaces this
loader.systemd-boot.enable = lib.mkForce false;
lanzaboote = {
@@ -25,6 +28,7 @@
pkiBundle = "/etc/secureboot";
};
+ # for game drive
supportedFilesystems = [ "ntfs" ];
};
}