-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.nix
executable file
·62 lines (53 loc) · 1.36 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{ config, lib, pkgs, ... }:
let
unstablepkgs = import <unstable> { };
in
{
nix = {
nixPath = [
"nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixpkgs"
"nixos-config=/etc/nixos/configuration.nix"
"/nix/var/nix/profiles/per-user/root/channels"
"nixpkgs-overlays=/etc/nixos/overlays"
];
};
_module.args = {
unstablepkgs = unstablepkgs;
};
imports =
[
./hardware-configuration.nix
./pkgs.nix
./boot.nix
# ./fs.nix
./environment.nix
./hardware.nix
./systemd.nix
./sound.nix
./networking.nix
./programs.nix
./udev.nix
./services.nix
./users.nix
./fonts.nix
./polkit.nix
];
nixpkgs.overlays = [ (import ./overlays/pkgs.nix) (import ./overlays/firefox-overlay.nix) ];
nix.settings.trusted-users = [ "root" "igni" ];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.auto-optimise-store = true;
nixpkgs.config = {
allowUnfree = true;
};
time.timeZone = "Europe/Moscow";
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
# console = {
# font = "Lat2-Terminus16";
# keyMap = "us";
# useXkbConfig = true; # use xkb.options in tty.
# };
#virtualisation.libvirtd.enable = true;
#programs.virt-manager.enable = true;
system.stateVersion = "23.11";
}