Reorganize files into folders
This commit is contained in:
parent
951d5641a0
commit
d354c5d205
9 changed files with 6 additions and 6 deletions
28
misc/template-configuration.nix
Normal file
28
misc/template-configuration.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ config, pkgs, ... }:
|
||||
let
|
||||
host = "???";
|
||||
stateVersion = "???";
|
||||
|
||||
repo = builtins.fetchGit {
|
||||
url = "https://github.com/VSinerva/nixos-conf.git";
|
||||
name = "nixos-conf-github";
|
||||
ref = "main";
|
||||
publicKey = "AAAAC3NzaC1lZDI1NTE5AAAAIBbGREoK1uVny1s8FK3KZ74Wmaf0VtifhqPyK69C/Gez";
|
||||
};
|
||||
in
|
||||
{
|
||||
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