Skip to content

Commit

Permalink
Add Pixel 9 phone to Syncthing
Browse files Browse the repository at this point in the history
  • Loading branch information
pborzenkov committed Sep 10, 2024
1 parent fce41a9 commit f615026
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 0 additions & 4 deletions nixos/machines/gw/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
(modulesPath + "/profiles/headless.nix")

inputs.nixos-hardware.nixosModules.common-pc-ssd

inputs.sops-nix.nixosModules.sops

../../openssh.nix
];

boot = {
Expand Down
4 changes: 0 additions & 4 deletions nixos/machines/rock/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
inputs.nixos-hardware.nixosModules.common-cpu-amd
inputs.nixos-hardware.nixosModules.common-pc-ssd

inputs.sops-nix.nixosModules.sops

../../openssh.nix

./anki.nix
./arr.nix
./backup.nix
Expand Down
10 changes: 9 additions & 1 deletion nixos/machines/rock/syncthing.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@
"dynamic"
];
};

# Pixel 9 Pro
pixel9 = {
id = "SIAH2E7-VLKE3L7-KGZRZVN-GY2TFI7-3ZOVMPN-Y6UKUGR-F34LKHS-KKT3YAX";
addresses = [
"dynamic"
];
};
};

folders = {
Expand All @@ -56,7 +64,7 @@

"/home/pbor/.local/share/password-store" = {
id = "password-store";
devices = ["jazz" "metal" "phone" "trance"];
devices = ["jazz" "metal" "phone" "trance" "pixel9"];
};

"/home/pbor/.local/share/photos-for-review" = {
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
in {
imports = [
./nix
./openssh
./ssh
./sudo
./users
./virt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
isDesktop,
...
}: let
cfg = config.pbor.openssh;
cfg = config.pbor.ssh;
in {
options = {
pbor.openssh.enable = (lib.mkEnableOption "Enable openssh") // {default = config.pbor.enable && !isDesktop;};
pbor.ssh.enable = (lib.mkEnableOption "Enable ssh") // {default = config.pbor.enable && !isDesktop;};
};

config = lib.mkIf cfg.enable {
Expand Down

0 comments on commit f615026

Please sign in to comment.