my Nix configuration
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Yorick van Pelt 47c8bd6fb0
rm allow-unsafe-native-code-during-evaluation
1 år sedan
.git-crypt use git-crypt 2 år sedan
deploy add key deployment, fix pennyworth 1 år sedan
keys add key deployment, fix pennyworth 1 år sedan
logical update for local environment 1 år sedan
modules stop running tor everywhere 1 år sedan
packages xps9360: move hw config to nixos-hardware 1 år sedan
physical woodhouse: disable mounts, add tv user 1 år sedan
roles rm allow-unsafe-native-code-during-evaluation 1 år sedan
services Only make quassel container when enabled 1 år sedan
.gitattributes use git-crypt 2 år sedan
README.md reorganize 1 år sedan
conf update for local environment 1 år sedan
deploy_key use git-crypt 2 år sedan
secrets.nix add key deployment, fix pennyworth 1 år sedan
servers.json update local host name 1 år sedan
sshkeys.nix switch to gpg-agent 3 år sedan

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