nixos/configuration.nix

21 lines
470 B
Nix
Raw Normal View History

2025-12-02 21:35:16 +00:00
{ config, pkgs, ... }:
2025-05-08 19:23:55 +01:00
2025-12-02 21:35:16 +00:00
let
# Fetch your config from GitHub
gitConfig = builtins.fetchGit {
url = "https://github.com/ediblerope/nixos-config";
ref = "main";
};
in
2025-12-02 20:35:16 +00:00
{
2025-12-02 21:35:16 +00:00
imports = [
./hardware-configuration.nix # This stays local (machine-specific)
"${gitConfig}/git.nix" # Your main config from GitHub
];
2025-05-09 21:03:20 +01:00
2025-12-02 21:35:16 +00:00
# ONLY thing that changes per machine
networking.hostName = ""; # Change this per machine
system.stateVersion = "25.11";
2025-05-08 19:23:55 +01:00
}