aboutsummaryrefslogtreecommitdiff
path: root/modules/common/default.nix
blob: 1eead49a8182c9a9c639a237de7b4c1dd1c2ee1c (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
42
43
44
45
46
47
48
49
{ config, pkgs, lib, ... }:
{
  imports =[
    # names are self explanatory
    ./adguard
    ./fonts
    ./gnupg
    ./i18n 
    ./nh   
    ./pipewire
    ./searx
    ./ssh
    ./users
    # ./xserver
  ];

  nix = {
    settings = {
      # Enable flakes
      experimental-features = [ "nix-command" "flakes" ];

      # Optimize storage
      auto-optimise-store = true;

      # substituters = lib.mkForce [ ];
      # trusted-substituters = lib.mkForce [ ];
      # require-sigs = false;
    };
  };

  # Allow unfree packages
  nixpkgs = {
    config.allowUnfree = true;
  };

  # List packages installed in system profile. 
  # These should be tools in case user tools brake.
  # To search, run:
  # $ nix search <pkgname>
  # or
  # $ nh search <pkgname>
  environment.systemPackages = with pkgs; [
  	alacritty
    git
    helix
    xdg-utils
  ];
}
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.