refactor(flake): move nixos configs into flake

This commit is contained in:
Mohammad Rafiq 2025-03-31 04:41:56 +08:00
parent fc259dff4a
commit 9f8c3bb923
No known key found for this signature in database
67 changed files with 45 additions and 56 deletions

View file

@ -1,20 +0,0 @@
{ inputs, ... }:
{
imports = [
inputs.sops-nix.nixosModules.sops
];
sops = {
defaultSopsFile = ./secrets/secrets.yaml;
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
secrets = {
password.neededForUsers = true;
ts_auth_key = { };
cwp_jira_link = { };
cwp_jira_pat = { };
gemini_api_key = { };
};
};
security.sudo.wheelNeedsPassword = false;
}