marisa: add user bat
Signed-off-by: natto1784 <singh.amneesh1784@gmail.com>
This commit is contained in:
@@ -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
|
||||||
|
@@ -1,7 +1,6 @@
|
|||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
imports =
|
imports = [
|
||||||
[
|
|
||||||
./networking.nix
|
./networking.nix
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
./boot.nix
|
./boot.nix
|
||||||
|
@@ -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
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@@ -1,7 +1,6 @@
|
|||||||
{ config, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports =
|
imports = [
|
||||||
[
|
|
||||||
./networking.nix
|
./networking.nix
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
./boot.nix
|
./boot.nix
|
||||||
@@ -10,5 +9,13 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
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";
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
|
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user