rearrange hosts a bit

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2023-03-08 06:50:15 +05:30
parent c8d74d3af8
commit a739d6de6d
8 changed files with 32 additions and 89 deletions

View File

@@ -1,4 +1,4 @@
{ lib, config, ... }:
{ config, ... }:
{
imports =
[
@@ -7,8 +7,8 @@
./boot.nix
./services.nix
./mailserver.nix
./stuff.nix
];
time.timeZone = "Asia/Kolkata";
system.stateVersion = "21.11";
}

View File

@@ -1,32 +0,0 @@
{ config, pkgs, ... }:
{
time.timeZone = "Asia/Kolkata";
security = {
sudo.enable = false;
doas = {
enable = true;
extraRules = [
{
users = [ ];
keepEnv = true;
persist = true;
}
];
};
};
programs = {
gnupg = {
agent = {
enable = true;
pinentryFlavor = "curses";
};
};
};
nix = {
package = pkgs.nixUnstable;
extraOptions = ''
experimental-features = nix-command flakes
'';
settings.trusted-users = [ "root" ];
};
}