refactor: remove useless secrets
Some checks failed
Nix CI / build (push) Failing after 27s

This commit is contained in:
Rustam Efimov 2026-04-01 08:54:00 +03:00
parent 30ce0dafc2
commit a1baa9eda3
No known key found for this signature in database
4 changed files with 0 additions and 43 deletions

View file

@ -2,7 +2,6 @@
{ {
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
./secrets.nix
./machine.nix ./machine.nix
../../modules/audio.nix ../../modules/audio.nix
../../modules/throne.nix ../../modules/throne.nix

View file

@ -1,16 +0,0 @@
{
sops.secrets = {
"elaris/publicKey" = {
sopsFile = ./../../secrets/elaris.yaml;
mode = "0644";
owner = "root";
group = "root";
};
"elaris/privateKey" = {
sopsFile = ./../../secrets/elaris.yaml;
mode = "0600";
owner = "root";
group = "root";
};
};
}

View file

@ -3,7 +3,6 @@
imports = [ imports = [
./disk.nix ./disk.nix
./machine.nix ./machine.nix
./secrets.nix
../../modules/podman.nix ../../modules/podman.nix
(modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
(modulesPath + "/profiles/qemu-guest.nix") (modulesPath + "/profiles/qemu-guest.nix")

View file

@ -1,25 +0,0 @@
{
lib,
...
}:
let
cfg = config.machine.bind;
in
with lib; mkIf cfg.enable {
sops.secrets = {
"velarion/publicKey" = {
sopsFile = ./../../secrets/velarion.yaml;
path = "/etc/ssh/ssh_host_ed25519_key.pub";
mode = "0644";
owner = "root";
group = "root";
};
"velarion/privateKey" = {
sopsFile = ./../../secrets/velarion.yaml;
path = "/etc/ssh/ssh_host_ed25519_key";
mode = "0600";
owner = "root";
group = "root";
};
};
}