hosts/main: remove imports from etc

/etc/nixos/configuration.nix should import hosts configuration instead
This commit is contained in:
Wroclaw 2024-05-27 01:32:24 +02:00
parent 8c352ea5ec
commit 1308bb8cc5
2 changed files with 0 additions and 5 deletions

View file

@ -2,10 +2,6 @@
{ {
imports = [ imports = [
# Include the results of the hardware scan.
(if builtins.pathExists /etc/nixos/hardware-configuration.nix then /etc/nixos/hardware-configuration.nix else null)
# Include device-specific overrides
(if builtins.pathExists /etc/nixos/device-configuration.nix then /etc/nixos/device-configuration.nix else null)
../nix-os/core.nix ../nix-os/core.nix
../nix-os/core-desktop.nix ../nix-os/core-desktop.nix
../nix-os/nvidia.nix ../nix-os/nvidia.nix

View file

@ -1 +0,0 @@
NIXOS_CONFIG="$(pwd)/hosts/main.nix" nixos-rebuild $@