27 lines
612 B
Nix
27 lines
612 B
Nix
# NixOps configuration for pi-tri
|
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
imports = [
|
|
../Deployments/gitea_home.nix
|
|
../Secrets/gitea_home.nix
|
|
];
|
|
|
|
networking.hostName = "pi-tri"; # Define your hostname.
|
|
|
|
# File systems unique to this host:
|
|
fileSystems = {
|
|
"/nix" = {
|
|
device = "/dev/disk/by-label/nix";
|
|
fsType = "ext4";
|
|
};
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
gnupg # GPL OpenPGP implementation
|
|
nix-zsh-completions # ZSH completions for Nix, NixOS, and NixOps
|
|
nixops # NixOS cloud provisioning and deployment tool
|
|
];
|
|
}
|