Skip to content

Commit

Permalink
add global-mobile-1
Browse files Browse the repository at this point in the history
  • Loading branch information
dezren39 committed Oct 24, 2024
1 parent 7b03611 commit f11c226
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 1 deletion.
12 changes: 11 additions & 1 deletion hosts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,18 @@ in {
"tmpfs/root"
];
users = [ "user" "backup" ];
wireless = "us-wi-1";
wireless = [ "us-wi-1" "global-mobile-1" ];
};
# amd-server = host {
# profiles = [ "server" ];
# hardware = "generic/amd";
# disks = [
# "nvme0n1/1t"
# "tmpfs/root"
# ];
# users = [ "admin" ];
# wireless = "us-wi-1";
# };
}
# apu2c3 = host {
# profiles = ["server"];
Expand Down
18 changes: 18 additions & 0 deletions hosts/networking/wireless/global-mobile-1/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
config,
inputs,
hostName,
host,
system,
stateVersion,
lib,
pkgs,
...
}:
{
imports = [
(lib.from-root "hosts/networking/wireless")
];
networking.wireless.networks."OnePlus 6".pskRaw = "ext:oneplus6";
sops.secrets.wireless_global-mobile-1.sopsFile = lib.from-root "secrets/sops/common/networking/wireless/global-mobile-1.yaml";
}
22 changes: 22 additions & 0 deletions secrets/sops/common/networking/wireless/global-mobile-1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#ENC[AES256_GCM,data:mlIDDjrEw8GrVPJapPyojdqPKXGHhLuH/hdaOGtbFco=,iv:d+wE5rTZ94z3yHfM0oqAtiVPNvGlLxKoCWL+zr9VWLQ=,tag:VzXgfHVDlyc0FN1KuzfAqw==,type:comment]
wireless_global-mobile-1: ENC[AES256_GCM,data:4rHTgMk9DnDv4q96N3JmGFQ=,iv:L+rphUP1IBB+0xCB8h1k3fqhnMw3ut27Mah9jUxouqA=,tag:kRx3K/g7lFFpXcBxDJ9hfA==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age:
- recipient: age125acas5y8hnwl5uhcp364xm8zlhtwsjqvxxpge8k04dzzr67acrq0ttc34
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBwWUVhSElHS3Q2bmlKenow
a2dLb0pUQTBLOUd1eFVXSEdyTWZXNitTSFFzCmRsMVFYMHNzNEtpaFBpemNsUExF
WUlEWHREa0p0cjR0amE1ajg5S0szMkkKLS0tIHZYRmlWc0tEbU5qZnBDVDJBbnk1
Q2ZiQjNlMkp6eHg4Nk5NVzBlSjU3MHcKK3Mm/lzDtfshsunAJEtonKxcTlh0cOv6
8qZVv0/ucA8LGfTb8lS9zCz7LT3YozSIHeGVFl+XIl5he+AyL8jtPA==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-10-24T00:33:41Z"
mac: ENC[AES256_GCM,data:MBmJiIFK/ahEEeCqJr1LU+fMqWIdbotgPwfFDoE7BcxIgMZm1T8Vi0hdG31wHgsq4Pb4cwgcNwtlCF7OCKKaUkCD/tWno26+sgox7t48u7n+uVJMiGwaHHEID9rKlFXWoG/pF8AxBZQEihvOTQaJDrUT/9gw8xugT6Zfb1CguWY=,iv:OiD2g+d+WyhD6ilKR6q9m2oNrCNUr+2KgFJTItNXMoc=,tag:mbHy+QS0RG8Szq2vVCm1kA==,type:str]
pgp: []
unencrypted_suffix: _unencrypted
version: 3.9.1

0 comments on commit f11c226

Please sign in to comment.