my Nix configuration
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Yorick van Pelt 4a5e235e81
rm deploy key
4 个月前
.git-crypt use git-crypt 2 年前
deploy initial commit 4 个月前
keys initial commit 4 个月前
logical initial commit 4 个月前
modules initial commit 4 个月前
nix initial commit 4 个月前
packages initial commit 4 个月前
physical initial commit 4 个月前
roles initial commit 4 个月前
services initial commit 4 个月前
.gitattributes use git-crypt 2 年前
README.md reorganize 2 年前
conf initial commit 4 个月前
secrets.nix initial commit 4 个月前
servers.nix initial commit 4 个月前
sshkeys.nix rm deploy key 4 个月前
vpn.nix initial commit 4 个月前

README.md

My nixos configurations.

Systems

frumar

Physical server. Mostly used for files. (storage: 6 TB hdd + 256GB ssd, RAM: 8GB, 2 cores ht)

pennyworth

Server. VPS (Storage: 80GB, RAM: 1GB, 2 cores)

woodhouse

intel nuc connected to the tv (storage: 64GB ssd, RAM: 4GB)

  • kodi
  • sshfs mounts to alphonse & frumar

ascanius

workstation. hp elitebook 8570w (RAM: 16GB, 4 cores ht, storage: 256GB ssd + 300GB HDD)

  • includes a power saving script

jarvis

workstation. dell xps 13 (RAM: 16GB, storage: 512GB ssd, 2 cores ht)

  • for now, just run powertop --auto-tune after a reboot I guess

Maintenance

Generating tor keys:

$(nix-build packages/shallot.nix --no-out-link)/bin/shallot -f tmp ^PATTERN
head -n3 tmp
tail -n +4 tmp > keys/ssh.HOSTNAME.key
shred tmp && rm tmp