1e2e2bdd35
grep -- '- &' .sops.yaml | cut -d'&' -f2 | grep _host | sed 's/_host//' | xargs -n2 clan secrets machines add for i in secrets/*.yaml; do host=$(basename $i .yaml); clan secrets import-sops $i --machine $host --user makefu --prefix ${host}-;done for i in secrets/*.yaml; do host=$(basename $i .yaml) ;clan secrets groups add-machine common "$host";done
18 lines
506 B
Nix
18 lines
506 B
Nix
{ pkgs, modulesPath, lib, nixos-hardware, self, ... }:
|
|
# new zfs deployment
|
|
{
|
|
imports = [
|
|
((import ./disk-setup.nix ) { disks = [ "/dev/sda" "/dev/sdb"]; })
|
|
(modulesPath + "/profiles/qemu-guest.nix")
|
|
];
|
|
|
|
swapDevices = [ ];
|
|
|
|
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
|
|
boot.initrd.kernelModules = [ ];
|
|
boot.kernelModules = [ ];
|
|
boot.extraModulePackages = [ ];
|
|
boot.kernelPackages = lib.mkForce pkgs.linuxPackages;
|
|
}
|
|
|