aboutsummaryrefslogtreecommitdiff
path: root/configuration.nix
blob: f1af667d0de6de58bdfe787cffe768d1b583822c (plain) (blame)
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
{ pkgs, ... }:
{
  imports = [
    ./modules/hardware.nix
    ./modules/users.nix
    ./modules/network
    ./modules/media
    ./modules/dashboard
    ./modules/storage
    ./modules/notifications
    ./modules/monitoring
  ];

  environment.systemPackages = with pkgs; [
    bottom
    mtm
    neovim
    lf
    util-linux
    dig

    # Mom mode
    st
    ungoogled-chromium
  ];

  # Mom mode
  services.xserver.enable = true;
  services.xserver.windowManager.dwm.enable = true;
  services.xserver.displayManager.startx.enable = true;

  time.timeZone = "Asia/Kolkata";
  i18n.defaultLocale = "en_GB.UTF-8";

  nix.settings = {
    experimental-features = [ "nix-command" "flakes" ];
    auto-optimise-store = true;
  };
  nix.gc = {
    automatic = true;
    dates = "weekly";
  };
  nixpkgs.config.allowUnfree = true;

  system.stateVersion = "25.05";
}