nixos/configuration-template.nix

28 lines
649 B
Nix
Raw Normal View History

########################################################################
# Template file used to set up git fetch. Run using 'nix-shell -p git' #
########################################################################
2025-12-02 22:58:56 +00:00
{ config, pkgs, lib, ... }:
2025-05-08 19:23:55 +01:00
2025-12-02 21:35:16 +00:00
let
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 = [
2025-12-02 22:58:56 +00:00
./hardware-configuration.nix
"${gitConfig}/git.nix"
2025-12-02 21:35:16 +00:00
];
2025-12-02 22:58:56 +00:00
networking.hostName = "FredOS-Gaming";
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/vda";
boot.loader.grub.useOSProber = true;
2025-12-02 21:35:16 +00:00
system.stateVersion = "25.11";
2025-05-08 19:23:55 +01:00
}