Something went wrong. Try again.
NixOS / Nix-darwin / Home Manager dotfiles for my devices
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031{ inputs, self, ...}:{ flake.modules.homeManager.sops = { config, pkgs, ... }: { imports = [ inputs.sops-nix.homeManagerModules.sops ];
sops = { age.keyFile = if pkgs.stdenv.hostPlatform.isDarwin then "${config.home.homeDirectory}/Library/Application Support/sops/age/keys.txt" else "${config.home.homeDirectory}/.config/sops/age/keys.txt"; defaultSopsFile = "${self}/secrets/secrets.yaml"; }; };
flake-file.inputs.sops-nix = { url = "github:Mic92/sops-nix"; inputs.nixpkgs.follows = "nixpkgs"; };}