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 = { systemd.user.services.eww = {
Unit = { Unit = {
Description = "EWW Daemon"; Description = "EWW Daemon";
PartOf = ["graphical-session.target"]; PartOf = [ "graphical-session.target" ];
}; };
Service = Service =
let let

View File

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

View File

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

View File

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

View File

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

View File

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