From 91f7497844063007a2795681718e31ea934cc998 Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 15 Aug 2023 11:57:51 +0900 Subject: [PATCH] Test --- .sops.yaml | 2 +- README.md | 5 +++-- flake.nix | 14 -------------- 3 files changed, 4 insertions(+), 17 deletions(-) diff --git a/.sops.yaml b/.sops.yaml index 98ff0168..3963dabb 100644 --- a/.sops.yaml +++ b/.sops.yaml @@ -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: diff --git a/README.md b/README.md index 64848c8a..aab5c11c 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/flake.nix b/flake.nix index 21833c52..a5bec424 100644 --- a/flake.nix +++ b/flake.nix @@ -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 - # ]; - # } - # ]; - # }; }; }