Update configuration.nix

This commit is contained in:
ediblerope 2025-12-02 22:58:56 +00:00 committed by GitHub
parent 53480da14c
commit c91219d407
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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