hosts and modules restructuring
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
0
hosts/remilia/boot.nix
Executable file → Normal file
0
hosts/remilia/boot.nix
Executable file → Normal file
1
hosts/remilia/default.nix
Executable file → Normal file
1
hosts/remilia/default.nix
Executable file → Normal file
@@ -7,6 +7,7 @@
|
||||
./boot.nix
|
||||
./services.nix
|
||||
./mailserver.nix
|
||||
./stuff.nix
|
||||
];
|
||||
|
||||
system.stateVersion = "21.11";
|
||||
|
0
hosts/remilia/networking.nix
Executable file → Normal file
0
hosts/remilia/networking.nix
Executable file → Normal file
0
hosts/remilia/services.nix
Executable file → Normal file
0
hosts/remilia/services.nix
Executable file → Normal file
32
hosts/remilia/stuff.nix
Normal file
32
hosts/remilia/stuff.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ 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" ];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user