secrets: add sops

This commit is contained in:
Leonardo Eugênio 2025-03-05 14:53:07 -03:00
parent 9fd65b02ba
commit 553ea251fa
9 changed files with 176 additions and 2 deletions

View file

@ -1,7 +1,7 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ pkgs, ... }:
{ pkgs, config, ... }:
{
imports = [
./android.nix
@ -29,6 +29,14 @@
zramSwap.enable = true;
sops = {
secrets.hello = { };
};
environment.etc."teste-sops" = {
text = config.sops.secrets.hello.path;
};
# Enable touchpad support (enabled default in most desktopManager).
services.libinput.enable = true;