Skip to content

micartey/nixos-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nixos-server

pipeline status

How to setup?

First, replace the hardware-configuration.nix in /hosts/sirius. You can use the following command:

sudo cp /etc/nixos/hardware-configuration.nix hosts/sirius/hardware-configuration.nix

Add a public key

Add you public key in /dots/ssh and edit /hosts/users.nix. You can do this by adding the following entry to one or both arrays:

(builtins.readFile ../dots/ssh/<my_key>.pub)

Configure DNS

The DNS is configured in /modules/dns/cloudflare.nix and registered in /hosts/default.nix.

Build an ISO file

Warning

You can build and deploy the ISO file, however, opon reboot, the system will not boot. There is currently no installation process going on, but the system is fully usable as configured until then.

To build an ISO file, run the following command:

just iso

About

My Default NixOS Server Template

Topics

Resources

Stars

Watchers

Forks