Add template configuration.nix
This commit is contained in:
parent
0c4995643b
commit
878b1cb12c
1 changed files with 29 additions and 0 deletions
29
configuration.nix
Normal file
29
configuration.nix
Normal file
|
@ -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?
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue