summaryrefslogtreecommitdiff
path: root/modules/system/system.nix
blob: b02a624d3024f8fab2a8340a4ae887a4015f35fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  self,
  inputs,
  lib,
  ...
}: {
  flake.nixosModules.system = {
    pkgs,
    lib,
    ...
  }: {
    imports = [
      self.nixosModules.nix # Nix configuration
    ];
    # NIX
    nix.settings = mkDefault {
      experimental-features = mkDefault ["nix-command" "flakes"];

      warn-dirty = true;
      auto-optimise-store = true;
    };
  };
}