Update and rename configuration.nix to configuration-template.nix

This commit is contained in:
ediblerope 2025-12-03 16:17:26 +00:00 committed by GitHub
parent 51f33d2bd5
commit 9f26985cda
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,27 @@
########################################################################
# Template file used to set up git fetch. Run using 'nix-shell -p git' #
########################################################################
{ config, pkgs, lib, ... }:
let
gitConfig = builtins.fetchGit {
url = "https://github.com/ediblerope/nixos-config";
ref = "main";
};
in
{
imports = [
./hardware-configuration.nix
"${gitConfig}/git.nix"
];
networking.hostName = "FredOS-Gaming";
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/vda";
boot.loader.grub.useOSProber = true;
system.stateVersion = "25.11";
}