diff --git a/hosts/pinwheel/home.nix b/hosts/pinwheel/home.nix index 4039f78..20d2c5a 100644 --- a/hosts/pinwheel/home.nix +++ b/hosts/pinwheel/home.nix @@ -20,4 +20,13 @@ home.stateVersion = "23.05"; }; }; + + age.secrets = { + "netrc" = { + file = ../../secrets/pinwheel/netrc.age; + path = "/home/alex/.netrc"; + owner = "alex"; + group = "users"; + }; + }; } diff --git a/secrets/pinwheel/netrc.age b/secrets/pinwheel/netrc.age new file mode 100644 index 0000000..af2059f Binary files /dev/null and b/secrets/pinwheel/netrc.age differ diff --git a/secrets/secrets.nix b/secrets/secrets.nix index 3c55f88..0ae9d10 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -10,4 +10,5 @@ in { "pinwheel/alex.pinwheel-github.com.pub.age".publicKeys = [ pinwheel alex ]; "pinwheel/alex.pinwheel-work.age".publicKeys = [ pinwheel alex ]; "pinwheel/alex.pinwheel-work.pub.age".publicKeys = [ pinwheel alex ]; + "pinwheel/netrc.age".publicKeys = [ pinwheel alex ]; }