marisa: add user bat

Signed-off-by: natto1784 <singh.amneesh1784@gmail.com>
This commit is contained in:
2023-03-08 07:57:01 +05:30
parent a739d6de6d
commit 5652340dae
6 changed files with 28 additions and 21 deletions

View File

@@ -16,7 +16,7 @@
systemd.user.services.eww = {
Unit = {
Description = "EWW Daemon";
PartOf = ["graphical-session.target"];
PartOf = [ "graphical-session.target" ];
};
Service =
let

View File

@@ -1,12 +1,11 @@
{ config, ... }:
{
imports =
[
./networking.nix
./hardware.nix
./boot.nix
./services.nix
];
imports = [
./networking.nix
./hardware.nix
./boot.nix
./services.nix
];
time.timeZone = "Asia/Kolkata";
system.stateVersion = "21.05";

View File

@@ -38,6 +38,7 @@
package = pkgs.nixUnstable;
extraOptions = ''
experimental-features = nix-command flakes
builders-use-substitutes = true
'';
settings.trusted-users = [ "root" ];
buildMachines = [{
@@ -48,8 +49,5 @@
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
}];
distributedBuilds = true;
extraOptions = ''
builders-use-substitutes = true
'';
};
}

View File

@@ -1,14 +1,21 @@
{ config, ... }:
{ config, pkgs, ... }:
{
imports =
[
./networking.nix
./hardware.nix
./boot.nix
./services.nix
./mailserver.nix
];
imports = [
./networking.nix
./hardware.nix
./boot.nix
./services.nix
./mailserver.nix
];
time.timeZone = "Asia/Kolkata";
users.users.bat = {
isNormalUser = true;
shell = pkgs.zsh;
home = "/home/bat";
extraGroups = [ "wheel" ];
};
system.stateVersion = "21.11";
}

View File

@@ -16,6 +16,9 @@
"masti@${domain}" = {
hashedPasswordFile = "/var/secrets/masti@${domain}.key";
};
"chamar@${domain}" = {
hashedPasswordFile = "/var/secrets/chamar@${domain}.key";
};
};
enablePop3 = false;
enablePop3Ssl = false;

View File

@@ -56,7 +56,7 @@ in
"f.${domain}" = genericHttpRProxy { addr = "http://${marisa}:8888"; };
"radio.${domain}" = genericHttpRProxy { addr = "http://${satori}:8001"; };
"git.${domain}" = genericHttpRProxy {
addr = "http://${marisa}:5001";
addr = "http://${marisa}:5000";
conf = "client_max_body_size 64M;";
};
"nomad.${domain}" = genericHttpRProxy {