Skip to content

Commit

Permalink
update demo flakes
Browse files Browse the repository at this point in the history
  • Loading branch information
ibizaman committed Aug 15, 2024
1 parent 5d5cd6b commit 96a3314
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 52 deletions.
6 changes: 4 additions & 2 deletions demo/homeassistant/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ in
services.openssh = {
enable = true;
ports = [ targetPort ];
permitRootLogin = "no";
passwordAuthentication = false;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
};
};
}
44 changes: 22 additions & 22 deletions demo/homeassistant/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions demo/homeassistant/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@

inputs = {
selfhostblocks.url = "github:ibizaman/selfhostblocks";
sops-nix.url = "github:Mic92/sops-nix";
};

outputs = inputs@{ self, selfhostblocks, ... }:
outputs = inputs@{ self, selfhostblocks, sops-nix }:
let
basic = { config, ... }: {
imports = [
./configuration.nix
selfhostblocks.inputs.sops-nix.nixosModules.default
selfhostblocks.nixosModules.x86_64-linux.default
sops-nix.nixosModules.default
];

shb.home-assistant = {
Expand Down
6 changes: 4 additions & 2 deletions demo/nextcloud/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ in
services.openssh = {
enable = true;
ports = [ targetPort ];
permitRootLogin = "no";
passwordAuthentication = false;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
};
};
}
44 changes: 22 additions & 22 deletions demo/nextcloud/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions demo/nextcloud/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@

inputs = {
selfhostblocks.url = "github:ibizaman/selfhostblocks";
sops-nix.url = "github:Mic92/sops-nix";
};

outputs = inputs@{ self, selfhostblocks, ... }:
outputs = inputs@{ self, selfhostblocks, sops-nix }:
let
basic = { config, ... }: {
imports = [
./configuration.nix
selfhostblocks.inputs.sops-nix.nixosModules.default
selfhostblocks.nixosModules.x86_64-linux.default
sops-nix.nixosModules.default
];

shb.nextcloud = {
Expand Down

0 comments on commit 96a3314

Please sign in to comment.