some security patches + buzz updates
This commit is contained in:
1 parent
7a3d64e645
commit
df46627173
17 files changed
+62
-36
No files matched your search
@@ -11,11 +11,11 @@ Most leaf modules expose a `skyg.nixos.common.*` enable flag and stay inert unti
|
||||
common/
|
||||
├── default.nix # Imports everything below + always-on env defaults
|
||||
├── core.nix # System packages, nh (clean + gc), nix-ld, timezone (Toronto), locale; skyg.nixos.common.minimal
|
||||
├── networking.nix # skyg.core.hostName, NetworkManager, NFS server (skyg.nixos.common.networking.nfsServer)
|
||||
├── networking.nix # skyg.core.hostName, NetworkManager, NFS server opt-in (skyg.nixos.common.networking.nfsServer, default false)
|
||||
├── user.nix # skyg.user.createSystemUser — creates the system user/groups + zsh shell
|
||||
├── fonts.nix # System font packages + fontconfig defaults (Fira Code, Noto, …); skyg.nixos.common.fonts.minimal
|
||||
├── ssh-server.nix # skyg.nixos.common.ssh-server — hardened sshd + master pubkey
|
||||
├── ssh-notify.nix # skyg.nixos.common.ssh-notify — forward notify-send from SSH sessions to a desktop client
|
||||
├── ssh-server.nix # skyg.nixos.common.ssh-server — hardened sshd + master public keys (list)
|
||||
├── ssh-notify.nix # skyg.nixos.common.ssh-notify — forward notify-send from SSH sessions to a desktop client (RemoteForward scoped to *.lab.internal)
|
||||
├── qemu.nix # skyg.core.qemu — QEMU/quickemu + SPICE guest tooling
|
||||
├── binary-cache.nix # skyg.nixos.common.cachePush — push finished builds to the bigbox2 cache
|
||||
├── containers/ # Docker vs Podman runtime selection + host-created container networks
|
||||
@@ -29,11 +29,14 @@ common/
|
||||
`programs.nh` with auto-clean (`--keep-since 7d --keep 5`, overridable per host via
|
||||
`programs.nh.clean.extraArgs`) as the single GC mechanism — no separate cron jobs or
|
||||
`nix.gc.automatic`. `skyg.nixos.common.nh.flake` sets the flake path per host.
|
||||
- **`networking.nix`** defines `skyg.core.hostName`, enables NetworkManager + the NFS server,
|
||||
and disables the flaky `NetworkManager-wait-online` unit.
|
||||
- **`networking.nix`** defines `skyg.core.hostName`, enables NetworkManager, and disables the
|
||||
flaky `NetworkManager-wait-online` unit. The NFS server is **off by default**
|
||||
(`skyg.nixos.common.networking.nfsServer.enable = false`); only hosts that export shares
|
||||
opt in.
|
||||
- **`user.nix`** creates the actual system user (in `wheel` + `networkmanager`) with zsh as
|
||||
the login shell; gated by `skyg.user.createSystemUser` (default `true`).
|
||||
- **`ssh-server.nix`** ships the master public key and a hardened sshd config
|
||||
- **`ssh-server.nix`** ships the master public keys (`masterPubKeys`, a list so a key can be
|
||||
rotated by adding the new one before dropping the old) and a hardened sshd config
|
||||
(key-only auth, long keepalives). Disabled by default.
|
||||
|
||||
## Option Namespace
|
||||
@@ -48,7 +51,7 @@ skyg.nixos.common.cachePush.* → binary-cache.nix
|
||||
skyg.nixos.common.minimal → core.nix (skip heavy always-on system packages)
|
||||
skyg.nixos.common.nh.flake → core.nix (flake path for 'nh os' commands, set per host)
|
||||
skyg.nixos.common.fonts.minimal → fonts.nix (install only a minimal font set)
|
||||
skyg.nixos.common.networking.nfsServer → networking.nix (enable/disable the NFS server)
|
||||
skyg.nixos.common.networking.nfsServer → networking.nix (enable/disable the NFS server, default false)
|
||||
skyg.nixos.common.containers.* → containers/
|
||||
skyg.nixos.common.hardware.* → hardware/
|
||||
skyg.nixos.common.pritunl.* → pritunl/
|
||||
|
||||
Reference in new issue
Block a user