feat: init sops-nix

This commit is contained in:
Sk7Str1p3 2026-05-03 00:02:30 +03:00
parent dd51a7ab58
commit 57fb3905d5
No known key found for this signature in database
GPG key ID: 4DD995933D06D43B
4 changed files with 45 additions and 1 deletions

37
flake.lock generated
View file

@ -64,11 +64,46 @@
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1775888245,
"narHash": "sha256-nwASzrRDD1JBEu/o8ekKYEXm/oJW6EMCzCRdrwcLe90=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "13043924aaa7375ce482ebe2494338e058282925",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"flake-file": "flake-file",
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs"
"nixpkgs": "nixpkgs",
"sops-nix": "sops-nix"
}
},
"sops-nix": {
"inputs": {
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1777338324,
"narHash": "sha256-bc+ZZCmOTNq86/svGnw0tVpH7vJaLYvGLLKFYP08Q8E=",
"owner": "mic92",
"repo": "sops-nix",
"rev": "8eaee5c45428b28b8c47a83e4c09dccec5f279b5",
"type": "github"
},
"original": {
"owner": "mic92",
"repo": "sops-nix",
"type": "github"
}
}
},

View file

@ -9,5 +9,6 @@
flake-file.url = "github:vic/flake-file";
flake-parts.url = "github:hercules-ci/flake-parts";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
sops-nix.url = "github:mic92/sops-nix";
};
}

View file

@ -27,4 +27,11 @@
flake-file = {
url = "github:vic/flake-file";
};
/**
Runtime secrets management.
*/
sops-nix = {
url = "github:mic92/sops-nix";
};
}

View file

@ -36,6 +36,7 @@
};
modules = with inputs; [
./${host}/configuration.nix
sops-nix.nixosModules.sops
./${host}/hardware.nix
];
};