<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nixos.org/w/index.php?action=history&amp;feed=atom&amp;title=NixOS_as_a_server</id>
	<title>NixOS as a server - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nixos.org/w/index.php?action=history&amp;feed=atom&amp;title=NixOS_as_a_server"/>
	<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=NixOS_as_a_server&amp;action=history"/>
	<updated>2026-05-01T16:11:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.0</generator>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=NixOS_as_a_server&amp;diff=23243&amp;oldid=prev</id>
		<title>Klinger: link to Borg backup page</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=NixOS_as_a_server&amp;diff=23243&amp;oldid=prev"/>
		<updated>2025-06-25T20:14:56Z</updated>

		<summary type="html">&lt;p&gt;link to Borg backup page&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:14, 25 June 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l62&quot;&gt;Line 62:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 62:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Syncthing]] - Decentralized file synchronization application&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Syncthing]] - Decentralized file synchronization application&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Restic]] - Fast and secure backup program&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Restic]] - Fast and secure backup program&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;BorgBackup&lt;/del&gt;]] - Deduplicating incremental backup program for local and remote data&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Borg backup&lt;/ins&gt;]] - Deduplicating incremental backup program for local and remote data&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Rclone]] - Command-line program that synchronizes files and directories between different cloud storage services&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Rclone]] - Command-line program that synchronizes files and directories between different cloud storage services&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-23242:rev-23243:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Klinger</name></author>
	</entry>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=NixOS_as_a_server&amp;diff=23242&amp;oldid=prev</id>
		<title>Klinger: link to apache httpd page</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=NixOS_as_a_server&amp;diff=23242&amp;oldid=prev"/>
		<updated>2025-06-25T20:12:44Z</updated>

		<summary type="html">&lt;p&gt;link to apache httpd page&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:12, 25 June 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l49&quot;&gt;Line 49:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 49:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Nginx]] - Web server that can also be used as a reverse proxy, load balancer, mail proxy and HTTP cache.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Nginx]] - Web server that can also be used as a reverse proxy, load balancer, mail proxy and HTTP cache.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Apache]] - Free and open-source cross-platform web server&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Apache &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Httpd&lt;/ins&gt;]] - Free and open-source cross-platform web server&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Caddy]] - Extensible, cross-platform, open-source web server written in Go&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Caddy]] - Extensible, cross-platform, open-source web server written in Go&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-23180:rev-23242:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Klinger</name></author>
	</entry>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=NixOS_as_a_server&amp;diff=23180&amp;oldid=prev</id>
		<title>Pigs: Create initial page</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=NixOS_as_a_server&amp;diff=23180&amp;oldid=prev"/>
		<updated>2025-06-15T17:38:22Z</updated>

		<summary type="html">&lt;p&gt;Create initial page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[NixOS]] is well-suited for server deployments, offering declarative, reproducible system configurations and atomic system upgrades and rollbacks. This page provides an overview of configuring, deploying, and maintaining NixOS systems in server environments. &lt;br /&gt;
&lt;br /&gt;
== Initial setup ==&lt;br /&gt;
&lt;br /&gt;
Refer to the [[NixOS Installation Guide]] for detailed installation instructions.&lt;br /&gt;
&lt;br /&gt;
For setting up NixOS in the cloud, refer to the [[NixOS friendly hosters]].&lt;br /&gt;
&lt;br /&gt;
For guidance on defining and maintaining your system configuration, consult [[NixOS system configuration]].&lt;br /&gt;
&lt;br /&gt;
== NixOS infrastructure tools ==&lt;br /&gt;
&lt;br /&gt;
=== Deployment orchestration ===&lt;br /&gt;
&lt;br /&gt;
* [[nixos-anywhere]] - Install NixOS everywhere via SSH&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/zhaofengli/colmena Colmena] - A simple, stateless NixOS deployment tool modeled after NixOps and morph, written in Rust&lt;br /&gt;
&lt;br /&gt;
* [[Morph]] - NixOS deployment tool&lt;br /&gt;
&lt;br /&gt;
* [[Clan]] - Peer-to-peer computer management framework for NixOS&lt;br /&gt;
&lt;br /&gt;
* [[Krops]] - Lightweight  toolkit to deploy NixOS systems&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/serokell/deploy-rs deploy-rs] - A simple, multi-profile Nix-flake deploy tool&lt;br /&gt;
&lt;br /&gt;
* [[NixOps]] - Native NixOS deployment tool for cloud and virtual infrastructure (not currently recommended)&lt;br /&gt;
&lt;br /&gt;
=== Binary cache and CI ===&lt;br /&gt;
&lt;br /&gt;
See the main pages, [[Binary Cache]] and [[Continuous Integration (CI)]].&lt;br /&gt;
&lt;br /&gt;
* [https://www.cachix.org/ Cachix] - Share binaries between CI, development and deployment environments&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/zhaofengli/attic Attic] - Self-hostable Nix Binary Cache server backed by an S3-compatible storage provider&lt;br /&gt;
&lt;br /&gt;
* [[Hydra]] - Tool for continuous integration testing and software release&lt;br /&gt;
&lt;br /&gt;
=== Secrets management ===&lt;br /&gt;
&lt;br /&gt;
* [[Agenix]] - commandline tool for managing secrets in your Nix configuration&lt;br /&gt;
* [https://github.com/Mic92/sops-nix sops-nix] - Atomic, declarative, and reproducible secret provisioning for NixOS based on sops&lt;br /&gt;
&lt;br /&gt;
Refer to [[Comparison of secret managing schemes]] for additional tools and in-depth comparisions&lt;br /&gt;
&lt;br /&gt;
== Common server configurations ==&lt;br /&gt;
&lt;br /&gt;
=== Web servers ===&lt;br /&gt;
&lt;br /&gt;
* [[Nginx]] - Web server that can also be used as a reverse proxy, load balancer, mail proxy and HTTP cache.&lt;br /&gt;
* [[Apache]] - Free and open-source cross-platform web server&lt;br /&gt;
* [[Caddy]] - Extensible, cross-platform, open-source web server written in Go&lt;br /&gt;
&lt;br /&gt;
=== File sharing and storage ===&lt;br /&gt;
&lt;br /&gt;
* [[NFS]] - Unix-based network file sharing&lt;br /&gt;
* [[Samba]] - Windows-compatible file and printer sharing&lt;br /&gt;
&lt;br /&gt;
=== Backup and replication ===&lt;br /&gt;
&lt;br /&gt;
* [[ZFS]] - With native snapshots and replication&lt;br /&gt;
* [[Syncthing]] - Decentralized file synchronization application&lt;br /&gt;
* [[Restic]] - Fast and secure backup program&lt;br /&gt;
* [[BorgBackup]] - Deduplicating incremental backup program for local and remote data&lt;br /&gt;
* [[Rclone]] - Command-line program that synchronizes files and directories between different cloud storage services&lt;br /&gt;
&lt;br /&gt;
=== VPN and networking ===&lt;br /&gt;
&lt;br /&gt;
* [[WireGuard]] - Fast, modern, secure VPN tunnel&lt;br /&gt;
&lt;br /&gt;
* [[OpenVPN]] - Flexible VPN implementation for secure networking&lt;br /&gt;
&lt;br /&gt;
* [[Firewall]] - NixOS has an integrated firewall based on iptables or nftables&lt;br /&gt;
&lt;br /&gt;
* [[SSH]] - secure remote administration.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[NixOS friendly hosters]] - Guides on setting up NixOS with various cloud providers&lt;br /&gt;
&lt;br /&gt;
* [[NixOS Installation Guide]]&lt;br /&gt;
&lt;br /&gt;
* [[NixOS as a desktop]] - Desktop counterpart to this article&lt;br /&gt;
&lt;br /&gt;
* [[NixOS system configuration]] &lt;br /&gt;
&lt;br /&gt;
[[Category:NixOS]]&lt;br /&gt;
[[Category:Server]]&lt;/div&gt;</summary>
		<author><name>Pigs</name></author>
	</entry>
</feed>