-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.nix
40 lines (33 loc) · 1 KB
/
configuration.nix
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
{ inputs, lib, ... }:
{
imports = [
./modules/packages.nix
./modules/services.nix
./modules/users.nix
./modules/networking.nix
./modules/programs.nix
inputs.home-manager.nixosModules.default
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
time.timeZone = "America/New_York";
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "en_US.UTF-8";
LC_IDENTIFICATION = "en_US.UTF-8";
LC_MEASUREMENT = "en_US.UTF-8";
LC_MONETARY = "en_US.UTF-8";
LC_NAME = "en_US.UTF-8";
LC_NUMERIC = "en_US.UTF-8";
LC_PAPER = "en_US.UTF-8";
LC_TELEPHONE = "en_US.UTF-8";
LC_TIME = "en_US.UTF-8";
};
security.rtkit.enable = true;
# needed for qemu & virt-manager virtualisation
virtualisation.spiceUSBRedirection.enable = true;
virtualisation.libvirtd.enable = true;
# android virtualisation
# virtualisation.waydroid.enable = true;
nixpkgs.config.allowUnfree = true;
# system.stateVersion = "unstable";
}