ce324200c37835624c2c83e016d718b9d679de0b
Home.md
... | ... | @@ -12,6 +12,7 @@ |
12 | 12 | * [openbsd](/unix/openbsd) |
13 | 13 | * [freebsd](/unix/freebsd) |
14 | 14 | * [solaris](/unix/solaris) |
15 | +* [nixos](/linux/nixos) |
|
15 | 16 | |
16 | 17 | ### programming |
17 | 18 | * [nubbins](programming/nubbins) |
glossary.md
... | ... | @@ -93,6 +93,7 @@ |
93 | 93 | * [nagios](/software/nagios) |
94 | 94 | * [neos_smartcam](/hardware/neos_smartcam) |
95 | 95 | * [nginx](/software/nginx) |
96 | +* [nixos](/linux/nixos) |
|
96 | 97 | * [nmcli](/networking/nmcli) |
97 | 98 | * [ntfy](/software/ntfy) |
98 | 99 | * [nubbins](programming/nubbins) |
linux/nixos.md
... | ... | @@ -0,0 +1,23 @@ |
1 | +# nixos |
|
2 | + |
|
3 | +* list all installed packages |
|
4 | +``` |
|
5 | +nixos-option environment.systemPackages |
|
6 | + |
|
7 | +nix-env --query # user-installed pkgs |
|
8 | +``` |
|
9 | + |
|
10 | +* disable GDM login (straight to tty), in configuration.nix |
|
11 | +``` |
|
12 | +services.xserver = { |
|
13 | + displayManager = { |
|
14 | + startx.enable = true; |
|
15 | + }; |
|
16 | +}; |
|
17 | +``` |
|
18 | + |
|
19 | +* enable zram, in hardware-configuration.nix |
|
20 | +``` |
|
21 | +zramSwap.enable; |
|
22 | +``` |
|
23 | + |