nixos-conf/misc/template-configuration.nix

26 lines
807 B
Nix
Raw Normal View History

{ ... }:
2024-05-29 17:29:02 +03:00
let
host = "generic";
2024-12-01 18:42:45 +02:00
stateVersion = "24.11";
2024-05-29 17:29:02 +03:00
2024-06-02 05:53:39 +03:00
repo = builtins.fetchGit {
url = "https://github.com/VSinerva/nixos-conf.git";
name = "nixos-conf-github";
ref = "main";
};
2024-05-29 17:29:02 +03:00
in
2024-06-02 16:18:19 +03:00
{
imports = [
./hardware-configuration.nix
"${repo}/machine-confs/${host}.nix"
];
2024-05-29 17:29:02 +03:00
2024-06-02 16:18:19 +03:00
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = stateVersion; # Did you read the comment?
2024-05-29 17:29:02 +03:00
}