blob: 43b680ceb9f6a3a0fca95fbbc2339e8a3e0c3396 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{ pkgs, ... }:
let
nix_path = "/tmp/nix_path";
in {
nix = {
settings = {
experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true;
};
nixPath = [ "nixpkgs=${nix_path}" ];
channel.enable = false;
};
systemd.tmpfiles.rules = [
"L+ ${nix_path} - - - - ${pkgs.path}"
];
nixpkgs.config.allowUnfree = true;
nixpkgs.config.allowUnfreePredicate = _: true;
environment.systemPackages = with pkgs; [
man-pages
man-pages-posix
];
time.timeZone = "America/New_York";
# time.timeZone = "Asia/Kolkata";
networking.networkmanager.enable = true;
networking.firewall.enable = false;
networking.nameservers = [ "1.1.1.1" ];
security.rtkit.enable = true;
programs.ssh.extraConfig = ''
StrictHostKeyChecking no
'';
system.stateVersion = "23.11";
}
|