commit ce324200c37835624c2c83e016d718b9d679de0b
parent 35cf8ba2f9448bd55bc8364be43cea531bb05ce4
Author: pyratebeard <root@pyratebeard.net>
Date: Thu, 13 Mar 2025 09:59:41 +0000
updates
updates
Diffstat:
3 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/Home.md b/Home.md
@@ -12,6 +12,7 @@
* [openbsd](/unix/openbsd)
* [freebsd](/unix/freebsd)
* [solaris](/unix/solaris)
+* [nixos](/linux/nixos)
### programming
* [nubbins](programming/nubbins)
diff --git a/glossary.md b/glossary.md
@@ -93,6 +93,7 @@
* [nagios](/software/nagios)
* [neos_smartcam](/hardware/neos_smartcam)
* [nginx](/software/nginx)
+* [nixos](/linux/nixos)
* [nmcli](/networking/nmcli)
* [ntfy](/software/ntfy)
* [nubbins](programming/nubbins)
diff --git a/linux/nixos.md b/linux/nixos.md
@@ -0,0 +1,23 @@
+# nixos
+
+* list all installed packages
+```
+nixos-option environment.systemPackages
+
+nix-env --query # user-installed pkgs
+```
+
+* disable GDM login (straight to tty), in configuration.nix
+```
+services.xserver = {
+ displayManager = {
+ startx.enable = true;
+ };
+};
+```
+
+* enable zram, in hardware-configuration.nix
+```
+zramSwap.enable;
+```
+