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
11 lines
305 B
Nix
11 lines
305 B
Nix
{ lib, ... }:
|
|
{
|
|
imports = [
|
|
# laptop is an acer aspire, but close enough i'd say
|
|
../../2configs/hw/tp-x2x0.nix
|
|
];
|
|
# the laptop only has the touchpad
|
|
services.xserver.synaptics.additionalOptions = lib.mkForce ''Option "TouchpadOff" "0"'';
|
|
hardware.enableRedistributableFirmware = true;
|
|
}
|