Update
This commit is contained in:
parent
536de64d5c
commit
28dcb1f574
@ -13,7 +13,6 @@
|
||||
# System
|
||||
./system/git
|
||||
./system/shell
|
||||
# ./system/sops/server.nix # You should probably remove this line
|
||||
];
|
||||
|
||||
home = {
|
||||
|
@ -1,31 +0,0 @@
|
||||
{ pkgs, ... }: {
|
||||
# imports = [ inputs.sops-nix.homeManagerModules.sops ];
|
||||
|
||||
home.packages = with pkgs; [ sops age ];
|
||||
|
||||
# sops = {
|
||||
# age.keyFile = "/home/hadi/.config/sops/age/keys.txt";
|
||||
# defaultSopsFile = ../../../secrets/server.yaml;
|
||||
# secrets = {
|
||||
# sshconfig = { path = "/home/hadi/.ssh/config"; };
|
||||
# github-key = { path = "/home/hadi/.ssh/github"; };
|
||||
# nextcloud-adminpass = {
|
||||
# path = "/etc/nextcloud/adminpassFile";
|
||||
# owner = "nextcloud";
|
||||
# group = "nextcloud";
|
||||
# };
|
||||
# cloudflare-apitoken = {
|
||||
# path = "/etc/cloudflare/apiToken";
|
||||
# owner = "cloudflare-dyndns";
|
||||
# group = "cloudflare-dyndns";
|
||||
# };
|
||||
# tailscaled-authKey = {
|
||||
# path = "/etc/tailscale/authKey";
|
||||
# owner = "tailscaled";
|
||||
# group = "tailscaled";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
|
||||
# systemd.user.services.mbsync.Unit.After = [ "sops-nix.service" ];
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{ ... }: {
|
||||
{
|
||||
|
||||
sops = {
|
||||
age.keyFile = "/home/hadi/.config/sops/age/keys.txt";
|
||||
@ -13,34 +13,21 @@
|
||||
path = "/home/hadi/.ssh/github";
|
||||
owner = "hadi";
|
||||
};
|
||||
cloudflare-apitoken = {
|
||||
path = "/home/hadi/test.txt";
|
||||
owner = "hadii";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
# sops = {
|
||||
# age.keyFile = "/home/hadi/.config/sops/age/keys.txt";
|
||||
# defaultSopsFile = ../../../secrets/server.yaml;
|
||||
# secrets = {
|
||||
# sshconfig = { path = "/home/hadi/.ssh/config"; };
|
||||
# github-key = { path = "/home/hadi/.ssh/github"; };
|
||||
# nextcloud-adminpass = {
|
||||
# path = "/etc/nextcloud/adminpassFile";
|
||||
# owner = "nextcloud";
|
||||
# group = "nextcloud";
|
||||
# };
|
||||
# cloudflare-apitoken = {
|
||||
# path = "/etc/cloudflare/apiToken";
|
||||
# owner = "cloudflare-dyndns";
|
||||
# group = "cloudflare-dyndns";
|
||||
# };
|
||||
cloudflare-apitoken = {
|
||||
path = "/etc/cloudflare/apiToken";
|
||||
owner = "cloudflare-dyndns";
|
||||
group = "cloudflare-dyndns";
|
||||
};
|
||||
# tailscaled-authKey = {
|
||||
# path = "/etc/tailscale/authKey";
|
||||
# owner = "tailscaled";
|
||||
# group = "tailscaled";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -5,6 +5,7 @@
|
||||
../modules/server/security.nix
|
||||
../modules/server/openssh.nix
|
||||
../modules/server/sops.nix
|
||||
../modules/server/cloudflare-dyndns.nix
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
|
Loading…
Reference in New Issue
Block a user