mio-ops/Hosts/pi-tri.nix

29 lines
630 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 = [
../Deployments/gitea_home.nix
../Secrets/gitea_home.nix
];
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";
};
};
disk/by-label/
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
}