mio-ops/hosts/pi-tri.nix

27 lines
614 B
Nix
Raw Normal View History

2019-06-27 01:42:58 +00:00
# NixOps configuration for pi-tri
2019-10-16 22:45:37 +00:00
{ config, pkgs, lib, ... }:
2019-06-27 01:42:58 +00:00
{
2019-10-16 22:45:37 +00:00
imports = [
2019-11-22 06:43:17 +00:00
#../Deployments/gitea_home.nix
#../secrets/gitea_home.nix
2019-10-16 22:45:37 +00:00
];
2019-06-27 01:42:58 +00:00
2019-10-16 22:45:37 +00:00
networking.hostName = "pi-tri"; # Define your hostname.
2019-10-15 15:12:08 +00:00
2019-10-16 23:22:38 +00:00
# File systems unique to this host:
fileSystems = {
"/nix" = {
device = "/dev/disk/by-label/nix";
fsType = "ext4";
};
};
2019-10-16 22:45:37 +00:00
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
];
2019-06-27 01:42:58 +00:00
}