vno1-gdr7: enable some more services

This commit is contained in:
Motiejus Jakštys 2024-08-05 16:09:13 +03:00
parent 41294f9ba7
commit ab1b524ac9
2 changed files with 27 additions and 29 deletions

View File

@ -196,17 +196,17 @@
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
nix-index-database.nixosModules.nix-index nix-index-database.nixosModules.nix-index
#agenix.nixosModules.default agenix.nixosModules.default
#{ {
# age.secrets = { age.secrets = {
# motiejus-work-passwd-hash.file = ./secrets/motiejus_work_passwd_hash.age; motiejus-passwd-hash.file = ./secrets/motiejus_work_passwd_hash.age;
# root-work-passwd-hash.file = ./secrets/root_work_passwd_hash.age; root-passwd-hash.file = ./secrets/root_work_passwd_hash.age;
# #sasl-passwd.file = ./secrets/postfix_sasl_passwd.age; sasl-passwd.file = ./secrets/postfix_sasl_passwd.age;
# #syncthing-key.file = ./secrets/mtworx/syncthing/key.pem.age; #syncthing-key.file = ./secrets/mtworx/syncthing/key.pem.age;
# #syncthing-cert.file = ./secrets/mtworx/syncthing/cert.pem.age; #syncthing-cert.file = ./secrets/mtworx/syncthing/cert.pem.age;
# }; };
#} }
]; ];
specialArgs = { specialArgs = {

View File

@ -64,10 +64,8 @@ in
base.users = { base.users = {
enable = true; enable = true;
devTools = true; devTools = true;
root.initialPassword = "live"; root.hashedPasswordFile = config.age.secrets.root-passwd-hash.path;
user.initialPassword = "live"; user.hashedPasswordFile = config.age.secrets.motiejus-passwd-hash.path;
#root.hashedPasswordFile = config.age.secrets.root-work-passwd-hash.path;
#user.hashedPasswordFile = config.age.secrets.motiejus-work-passwd-hash.path;
}; };
services = { services = {
@ -101,17 +99,17 @@ in
# toUser = config.mj.username; # toUser = config.mj.username;
#}; #};
#remote-builder.client = remote-builder.client =
# let let
# host = myData.hosts."fra1-b.servers.jakst"; host = myData.hosts."fra1-b.servers.jakst";
# in in
# { {
# enable = true; enable = true;
# inherit (host) system supportedFeatures; inherit (host) system supportedFeatures;
# hostName = host.jakstIP; hostName = host.jakstIP;
# sshKey = "/etc/ssh/ssh_host_ed25519_key"; sshKey = "/etc/ssh/ssh_host_ed25519_key";
# maxJobs = 2; maxJobs = 2;
# }; };
node_exporter = { node_exporter = {
enable = true; enable = true;
@ -128,10 +126,10 @@ in
}; };
}; };
#postfix = { postfix = {
# enable = true; enable = true;
# saslPasswdPath = config.age.secrets.sasl-passwd.path; saslPasswdPath = config.age.secrets.sasl-passwd.path;
#}; };
#syncthing = { #syncthing = {
# enable = true; # enable = true;