Update configuration.nix

This commit is contained in:
ediblerope 2025-12-02 21:35:16 +00:00 committed by GitHub
parent 2be39a286e
commit 929efa6dcf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,18 +1,20 @@
{ config, pkgs, lib, ... }: { config, pkgs, ... }:
let
# Fetch your config from GitHub
gitConfig = builtins.fetchGit {
url = "https://github.com/ediblerope/nixos-config";
ref = "main";
};
in
{ {
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix # This stays local (machine-specific)
./base.nix "${gitConfig}/git.nix" # Your main config from GitHub
]; ];
# Bootloader. # ONLY thing that changes per machine
boot.loader.grub.enable = true; networking.hostName = ""; # Change this per machine
boot.loader.grub.device = "/dev/vda";
boot.loader.grub.useOSProber = true;
networking.hostName = "FredOS-gaming";
system.stateVersion = "25.11";
system.stateVersion = "25.11";
} }