Skip to content

Commit

Permalink
feat(nix): enable sops on serverz
Browse files Browse the repository at this point in the history
  • Loading branch information
sbulav committed Nov 8, 2024
1 parent f42c49f commit 1b2f6c4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions nix/systems/x86_64-linux/serverz/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
pkgs,
lib,
inputs,
...
}: let
Expand All @@ -15,14 +15,14 @@ in {
boot.loader.efi.canTouchEfiVariables = true;

# Suites managed by nix, see suites by home-manager in homes
suites.common.enable = true; # Enables the basics, like audio, networking, ssh, etc.
suites.server.enable = true; # Enables the basics, like neovim, ssh, etc.
suites.desktop.enable = false;
suites.develop.enable = false;

services = {
openssh = {
enable = true;
};
custom.security.sops = {
enable = true;
sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
defaultSopsFile = lib.snowfall.fs.get-file "secrets/serverz/default.yaml";
};

users.users.sab.openssh.authorizedKeys.keys = [
Expand Down

0 comments on commit 1b2f6c4

Please sign in to comment.