aboutsummaryrefslogtreecommitdiff
path: root/nixos/.flake/system/core.nix.org
blob: e909198fb5d676635a66042522e5c7b4858c8917 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#+title: System Core

This file imports various system configuration components in addition to enabling flakes and defining the system version.
#+begin_src nix :tangle ~/.flake/system/core.nix :mkdirp yes
{ config, lib, pkgs, ... }:

{
  imports = [
    ./boot.nix
    ./desktop.nix
    ./hardware-configuration.nix
    ./locale.nix
    ./network.nix
    ./users.nix
  ];

  nix.settings.experimental-features = [ "nix-command" "flakes" ];

  system.stateVersion = "24.05";
}
#+end_src