From 540c28c106d3facccf7bf4cf50c82ce788ffc808 Mon Sep 17 00:00:00 2001 From: Lin Yinfeng Date: Sat, 21 Sep 2024 13:29:05 +0800 Subject: [PATCH] hosts/mtl0: add users.yinfeng --- nixos/hosts/mtl0/default.nix | 12 ++++++++++++ secrets/terraform/hosts/mtl0.yaml | 5 +++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/nixos/hosts/mtl0/default.nix b/nixos/hosts/mtl0/default.nix index c11bd0835..265c2d958 100644 --- a/nixos/hosts/mtl0/default.nix +++ b/nixos/hosts/mtl0/default.nix @@ -25,6 +25,7 @@ in { imports = suites.overseaServer + ++ suites.development ++ (with profiles; [ programs.tg-send services.nginx @@ -42,6 +43,8 @@ in services.telegraf-http services.prebuilt-zip services.hledger-web + i18n.input-method + users.yinfeng ]); config = lib.mkMerge [ @@ -144,6 +147,15 @@ in }; }) + # user + { + home-manager.users.yinfeng = + { suites, ... }: + { + imports = suites.nonGraphical; + }; + } + # stateVersion { system.stateVersion = "24.05"; } ]; diff --git a/secrets/terraform/hosts/mtl0.yaml b/secrets/terraform/hosts/mtl0.yaml index cf363dbee..7fdc7c8ba 100644 --- a/secrets/terraform/hosts/mtl0.yaml +++ b/secrets/terraform/hosts/mtl0.yaml @@ -1,4 +1,5 @@ acme_li7g_com_private_key_pem: ENC[AES256_GCM,data:LRyj8IRRElsRQnY0Rd2wKU00zSWlJHCaiw9juG5uyZJz5YT4cVVzZOp+VjHmV8ZA8uQ4vQSR796DQpDrOHSCEmutIQE0x2zVR7GfQIiOr+vtAM01218nOH72U07EzftFqBuE1n2keMe+NNjUXJNjadATszOXe5ooFA61M4pwf4GOxsuhRmg312ZZ+RdWvg+skO94rX/opl5+X8hq8JaaEHOVlUfYeuDmsg5UwDF+Dz/JNEefyW+zGzNc7CYyTDY2KSLtSMoI2SyqpSJ6N3GDo9U/nkPyBxpSQOShqRJbBO1qUL4015uixFi8iOXSFSqWvX49k/7lqg2fRszCrf0nfAhm2QbhBXSicZKLEtXW/Awe8zGMHyMY89L0J720loVY,iv:xVDc9zI1ibldcPheaIMeRPWV2VumR63fmaCqOOHRBnE=,tag:ohsx3qfC+8GvSYAddhm8WA==,type:str] +atuin_password_yinfeng: ENC[AES256_GCM,data:AZ5WFSMSf+j4O4AWc/Cp7pAuApkfJ4b/7NHHX4j+2ISHrhBvmZoqSPTI6oTDJoZyTZhjqQBqHdLWpvENDKtDQw==,iv:cRL+3cGFgDHtq4dCXaJMCNTxpmd5l9RWyXjIfxZ/JFI=,tag:r8CO9MVaYCM8bVqQuQ4pQg==,type:str] b2_backup_access_key: ENC[AES256_GCM,data:p4SQVGb5Z6Sg+jQNhG0rPyUsfdDGPSOV7gEowYJjVA==,iv:/ZdrSdjWma3wJeupUxMdcLo/oheFedNzrpFh1PG53Bk=,tag:puCLSxDMx23hoEpFi0O57A==,type:str] b2_backup_key_id: ENC[AES256_GCM,data:FtLC+hUWSL5o2SD2m+bj+w5Wsz7S4kR0ZQ==,iv:wqUInqcDv4V3jgHLop7ncEqWI2LwHVsfuqXlED3949E=,tag:76HN02Kjm75yCgSPGKqm1Q==,type:str] bind_rndc_config: ENC[AES256_GCM,data:gHmJMezZH5dUcFEYRI7YA/NKVLJdAyg6a07SxDvWY032Qz3XDgjQFzemz3/MYCi99RujZ/jUwidThaRt6CpWGuHUOb9y0pKsCLJGXWprNt00jEtEa27qil+FUOjC+ZUiMi39,iv:4CJB9Z+MYY32O1QKTKv3ryOn6NU5Ft42cNoBQPEchUE=,tag:kA/mDU7EuVnUjcrzgzUCsw==,type:str] @@ -55,8 +56,8 @@ sops: V2hRNEhCdHYzMUhvMGFYMG5vcFVmTDAKJfGXQKrLecTN7vTSpNmTXzyJWLEFs5g8 l8iDsxeSySYsd23aJ0MNwxDOx7xHE90iOuFqnhdGQl2B2wF6HDfm1w== -----END AGE ENCRYPTED FILE----- - lastmodified: "2024-09-11T09:12:51Z" - mac: ENC[AES256_GCM,data:UIgd2vgmIKYwkL7vxsAOzteJNjV50zsUzE/o3mlCMMLfZARS7PggBDIPeYVKbHrkJfMe8oQ/vmR6CaP1JtLiwXK0diQZzt4HG3YtwG5gLv8+NuMV5oCjh7Im02YTsBpoAMcH+yB8WWN8nBvVn+fq6EI+XmcwwOPRab/XiX7Sm9c=,iv:s5JqP1rdMXn+FYtBPs4xdWjfMfZxGF43Zkk2mMRLELo=,tag:uaFKgXQiXIefVzgE3kKWXQ==,type:str] + lastmodified: "2024-09-21T02:02:27Z" + mac: ENC[AES256_GCM,data:5qlTsKAH+i+6bi7wbeCId76WfQ2U+81zLeUH+GBMM0XNJml4BxZLZ+5I2xhjbPZtp5afnfn2uAnUZ2d3hqkuAKqDj7v+H906+lLTNnNjbCIoTsxVGuynPyUgNGwqRegov29672UIR7oLlIIvL2DqS6ArJ2xDdUGTsphsroHUBlk=,iv:exe9VsffuMa7Eol3Q2cXzU+qaBVieGMV3q05Vhg8RUU=,tag:PoLRQlVcr9zEJkPUod79aA==,type:str] pgp: - created_at: "2023-05-11T12:18:58Z" enc: |-