From 280cd788eca6db141378d84644a6acd03e4ec9f1 Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Thu, 9 Feb 2023 19:23:49 +0100 Subject: [PATCH] irssi->senpai --- hosts/toaster/default.nix | 1 + hosts/toaster/irc.nix | 9 +++++++++ secrets/toaster/secrets.yaml | 6 ++++-- 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 hosts/toaster/irc.nix diff --git a/hosts/toaster/default.nix b/hosts/toaster/default.nix index f67d3ff..6ef19d0 100644 --- a/hosts/toaster/default.nix +++ b/hosts/toaster/default.nix @@ -2,6 +2,7 @@ imports = [ ./amd.nix ./hardware-configuration.nix + ./irc.nix ./network-vpns.nix ./network.nix ./secrets.nix diff --git a/hosts/toaster/irc.nix b/hosts/toaster/irc.nix new file mode 100644 index 0000000..85398ab --- /dev/null +++ b/hosts/toaster/irc.nix @@ -0,0 +1,9 @@ +{ config, pkgs, ... }: { + environment.systemPackages = [ pkgs.senpai ]; + + sops.secrets = { + "irc/senpai" = { + owner = config.users.users.grue.name; + }; + }; +} diff --git a/secrets/toaster/secrets.yaml b/secrets/toaster/secrets.yaml index d7d195d..f6d50fc 100644 --- a/secrets/toaster/secrets.yaml +++ b/secrets/toaster/secrets.yaml @@ -8,6 +8,8 @@ mail: shipunov.xyz: ENC[AES256_GCM,data:cg+P+FrZ2icjfhwDGKGyUH9DejSZHpNs2bcSBPyz8g==,iv:XZFaSXnGmTL9j2sEyt5Q7+pe6rr+WA/0UGq/2Gl5DTI=,tag:oq+5EuJWJKwK3h0/e6Uozw==,type:str] dvb.solutions: ENC[AES256_GCM,data:GSjPIPA5TGMWfhdRzTsiHPfXFVGLVSpJvJG+I++i,iv:EBlk00wqADCuYTzuVcuX9kSn6TVBfN12UlcXyps6TtE=,tag:G7rKTngN4v2FtuhQEMdUQQ==,type:str] tlm.solutions: ENC[AES256_GCM,data:ncTMh/jw+YmcmcVU/c1I36vV1CwtmtYwfyDUx9w9,iv:vPnmdvDnEJ9FF4rDkSfPnLWebleSgI/yG7qOgJfq5ic=,tag:z4w4LOGf2v0TBSxrHULBsw==,type:str] +irc: + senpai: ENC[AES256_GCM,data:PvvYDSbmjeS2EUV8Jw2YVvFTBu/0fhuHFXXkkTUq,iv:e8toiG9ldrTfJc3ZrMO3qfSxmefiFgrD/o2x3EP3uis=,tag:QVdTuAEVFR6zoebJxeLyTw==,type:str] sops: kms: [] gcp_kms: [] @@ -23,8 +25,8 @@ sops: T3F6NXpBbEFxemVzM0lxbEdKMlVzYlEK9YPSglPYmsk3fH7qduK/FVFIWnHaQ6O1 ZJsgmz/5H7TPbSoy6mfyROQY+b7amJDSAAqhLazKYI22yP3Gnkmmbg== -----END AGE ENCRYPTED FILE----- - lastmodified: "2023-01-09T22:57:18Z" - mac: ENC[AES256_GCM,data:KqIkYp/fAMxfISULoDfOsRH3eA9M4XcPwXW8HoMqlipLr0zWekpyp+AUekglQctF6brjr8yanAdrFEGBV930zAKehgDfu1w2O1uUE47cBHqdcaQNW180CaS21cSnPiOBEHeBqw1OCTGqdmT1mu+v6Ss13kgtdQJei0CuRw5Aw8w=,iv:iO0+xmFO4sBn63zFw+6NP22s8q00P2WjzPjr7yLcY20=,tag:THfICAIPGrZPIEYVAxvN8w==,type:str] + lastmodified: "2023-02-09T19:44:17Z" + mac: ENC[AES256_GCM,data:zOB88rp+cjB+RFOrAnvdNEkKxYRKidmQOBwXI+cOwAfl/FBvGt68u08PjLEEABZvfrehLPgHQL9pnmTAuu6k49CezWCW/23F9GkswZlxji1qS40jl9XgeV7WfluWke78a9FW9MuAP2CpB5tZcAIcO6Q6Ngk1NVDBYX2R7D0fAeI=,iv:ETarRq0uwU3Kuoxf8lLgcLWm7MivFQ3W1EKIKFCho/s=,tag:V00p6PknQoV1t1R7UoiZOA==,type:str] pgp: - created_at: "2023-01-09T22:45:17Z" enc: |-