diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index 2c83647..13d5638 100644 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -1,4 +1,4 @@ -{ config, ... }: { +{config, ...}: { imports = [ ../../nixos/home-manager.nix ../../nixos/nix.nix diff --git a/hosts/server/secrets/default.nix b/hosts/server/secrets/default.nix index 25d9bb4..1cd6ac1 100644 --- a/hosts/server/secrets/default.nix +++ b/hosts/server/secrets/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: { +{pkgs, ...}: { sops = { age.keyFile = "/home/hadi/.config/sops/age/keys.txt"; defaultSopsFile = ./secrets.yaml; @@ -23,21 +23,12 @@ path = "/home/hadi/.ssh/key.pub"; mode = "0600"; }; - cloudflare-dns-token = { path = "/etc/cloudflare/dnskey.txt"; }; - nextcloud-pwd = { path = "/etc/nextcloud/pwd.txt"; }; - adguard-pwd = { }; - hoarder = { }; - recyclarr = { - owner = "recyclarr"; - mode = "0777"; - }; - wireguard-pia = { - # owner = "media"; - group = "media"; - mode = "0600"; - }; + cloudflare-dns-token = {path = "/etc/cloudflare/dnskey.txt";}; + nextcloud-pwd = {path = "/etc/nextcloud/pwd.txt";}; + adguard-pwd = {}; + hoarder = {}; }; }; - environment.systemPackages = with pkgs; [ sops age ]; + environment.systemPackages = with pkgs; [sops age]; }