This commit is contained in:
iFargle 2023-08-15 11:57:51 +09:00
parent 7a4f72a300
commit 91f7497844
3 changed files with 4 additions and 17 deletions

View file

@ -1,7 +1,7 @@
keys:
- &user-albert D98BBC6C9A27324654C2D8C464F6C4EB46C4543A
- &user-root D98BBC6C9A27324654C2D8C464F6C4EB46C4543A
- &machine-nixos-laptop A20F7BD39673AEA2E9293E354E71A215351342A6
- &machine-nixos-laptop ca375f85e93f5327eca3e0af996236957c887168
creation_rules:
- path_regex: secrets/[^/]+\.(yml|yaml)$
key_groups:

View file

@ -9,6 +9,7 @@ Repo for nix configuration files
[ ] neofetch config / theming
[ ] weechat / weechat-matrix
[ ] nvidia drivers
[ ] btop config / theming
[ ] other things I'm probably forgetting
---
@ -57,9 +58,9 @@ Repo for nix configuration files
3. Mark it as ultimately trusted via `gpg --edit-key albert@sysctl.io`, then type `trust`, then `5`
4. Repeat this step for all users who need a GPG key assigned
# SOPS Secrets
# [ ] ] Secrets
1. To edit a file: cd to `/path/to/nix-files/` and run:
* `nix-shell -p sops --run "sops secrets/secret_file.yml`
* `nix-shell -p [sops] --run "sops secrets/secret_file.yml`
* New shell alias: `sops secrets/secret_file.yml`
2. Ensure your GPG keys are set up.

View file

@ -23,9 +23,6 @@
# Hardware support
# nixos-hardware.url = "github:NixOS/nixos-hardware/master";
# hyprland flake
# hyprland.url = "github:hyprwm/Hyprland";
# Encrypted secrets in Nix configuration files
# https://github.com/Mic92/sops-nix
sops-nix.url = "github:Mic92/sops-nix";
@ -108,16 +105,5 @@
]; # modules
}; # lib.nixosSystem - ${hostname}
}; # nixosConfiguration
# # Import hyprland configs for home manager
# homeConfigurations."albert@${hostname}" = home-manager.lib.homeManagerConfiguration {
# modules = [
# hyprland.homeManagerModules.default {
# import = [
# ./hosts/${hostname}/desktops/hyprland-conf.nix
# ];
# }
# ];
# };
};
}