From edfa91558640cee55ee4e4a84ee05a7982799544 Mon Sep 17 00:00:00 2001 From: kenji Date: Wed, 24 Dec 2025 16:05:31 -0600 Subject: [PATCH] ADDED variables --- .sops.yaml | 6 ++---- modules/system/default.nix | 1 + system/variables.nix | 6 ++++++ 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 system/variables.nix diff --git a/.sops.yaml b/.sops.yaml index ad347c7..80883c6 100644 --- a/.sops.yaml +++ b/.sops.yaml @@ -1,9 +1,7 @@ keys: - - &user_kenji age1cvy0fgxjn6mu0wsf9htuxmqp6mfx2f5dkmqj2kj6l46k9w8zxyfs6840tp - - &host_laptop age1sg27ryxp86hu55swryc6sggscan6upq7jw745lcah0djc920j9usvqcslu + - &user_kenji age1dhmt5tdyxd9zam542zkr9hq4tku7lzmf6j057sjtepk80deky5fqemczs5 creation_rules: - path_regex: secrets/[^/]+\.(yaml|json|env|ini)$ key_groups: - age: - - *user_alice - - *host_laptop + - *user_kenji diff --git a/modules/system/default.nix b/modules/system/default.nix index 6c1a0c2..88482b0 100644 --- a/modules/system/default.nix +++ b/modules/system/default.nix @@ -11,6 +11,7 @@ ../../system/fonts.nix ../../system/programs.nix ../../system/security.nix + ../../system/variables.nix ]; environment.systemPackages = with pkgs; [ # FIXME: must be on their own app diff --git a/system/variables.nix b/system/variables.nix new file mode 100644 index 0000000..100f75f --- /dev/null +++ b/system/variables.nix @@ -0,0 +1,6 @@ +{ + environment.sessionVariables = { + EDITOR = "nvim"; + VISUAL = "nvim"; + }; +}