my Nix configuration
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Yorick van Pelt 47c8bd6fb0
rm allow-unsafe-native-code-during-evaluation
pirms 1 gada
.git-crypt use git-crypt pirms 2 gadiem
deploy add key deployment, fix pennyworth pirms 1 gada
keys add key deployment, fix pennyworth pirms 1 gada
logical update for local environment pirms 1 gada
modules stop running tor everywhere pirms 1 gada
packages xps9360: move hw config to nixos-hardware pirms 1 gada
physical woodhouse: disable mounts, add tv user pirms 1 gada
roles rm allow-unsafe-native-code-during-evaluation pirms 1 gada
services Only make quassel container when enabled pirms 1 gada
.gitattributes use git-crypt pirms 2 gadiem
README.md reorganize pirms 1 gada
conf update for local environment pirms 1 gada
deploy_key use git-crypt pirms 2 gadiem
secrets.nix add key deployment, fix pennyworth pirms 1 gada
servers.json update local host name pirms 1 gada
sshkeys.nix switch to gpg-agent pirms 3 gadiem

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