From 878b1cb12cb9da2da730364551557214074f2006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vili=20Sinerv=C3=A4?= Date: Wed, 29 May 2024 17:29:02 +0300 Subject: [PATCH] Add template configuration.nix --- configuration.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 configuration.nix diff --git a/configuration.nix b/configuration.nix new file mode 100644 index 0000000..b062bb4 --- /dev/null +++ b/configuration.nix @@ -0,0 +1,29 @@ +{ config, pkgs, ... }: +let + host = "???"; + stateVersion = "???"; + + repo = builtins.fetchGit { + url = "https://github.com/VSinerva/nixos-conf.git"; + name = "nixos-conf-github"; + ref = "main"; + }; +in +{ +# Verification will be available soon, so keeping this here as a reminder +# publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBbGREoK1uVny1s8FK3KZ74Wmaf0VtifhqPyK69C/Gez vili@helium"; +# nix.settings.experimental-features = "verified-fetches"; + + imports = [ + ./hardware-configuration.nix + "${repo}/machine-confs/${host}.nix" + ]; + +# 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. It‘s 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? +}