Skip to content

bbaserdem/NixOS-Config

Repository files navigation

bbaserdem's configuration

Personal configuration of my NixOS and MacOS computers

WIP

  • 🍏 Darwin syncthing module
  • 🍏 Darwin/Linux agnostic home-manager layout
  • 🖥️ River desktop
  • 📥 Email automation
  • 📅 Calendar
  •  Podcasts using podgrab

Darwin

  • Use brew to install mac-media-key-forwarder, register it LaunchAgent, and configure for mpd.

Contents

Resources

NixOS

My configuration was created based on, or uses, the following resources.

Installation command is the following from live USB;

sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode destroy,format,mount ./nixos/hosts/<HOST>/disk-layout.nix
sudo nixos-install --root /mnt --no-root-passwd --flake .#<HOST>

Archlinux

My archlinux setup was based on the following blog series.

Guide

LUKS keys

To generate luks keys, I use the following command;

dd bs=512 count=4 if=/dev/random of=<FILE>.key iflag=fullblock

GPG

Encryption / Decryption

To create GPG encrypted/decrpyted files; I use the following

gpg --output <FILE>.gpg --encrypt --recipient <ID> <FILE>
gpg --output <FILE> --decrypt <FILE>.gpg

Sops

I'm using sops-nix to manage secrets. The sops command to encrypt a binary file is the following;

sops -e <INPUT>.file > <OUTPUT>.key

About

My NixOS and home-manager configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published