Skip to content

Latest commit

 

History

1,821 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This repo defines NixOS configuration for my hosts.

Usage

Symlink the repo to /etc/nixos:

sudo ln -s $(realpath nixos-config) /etc/nixos

Deploy the configuration for given host using --flake:

sudo nixos-rebuild switch --flake '/etc/nixos#caspair'

If the hostname matches --flake is not necessary.

Disko

Some configurations can be deployed using Disko.

You can see an example install.sh script.

Secrets

Secrets are fetched encrypted using agenix with public Ed25519 keys of hosts.

About

Configuration for my hosts running NixOS

Topics

Resources

Stars

28 stars

Watchers

3 watching

Forks

Contributors

Languages