From 1308bb8cc5f8bbc2f3ed734bafb9477dcb56a8d6 Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Mon, 27 May 2024 01:32:24 +0200 Subject: [PATCH] hosts/main: remove imports from etc /etc/nixos/configuration.nix should import hosts configuration instead --- hosts/main.nix | 4 ---- nixos-rebuild.sh | 1 - 2 files changed, 5 deletions(-) delete mode 100755 nixos-rebuild.sh diff --git a/hosts/main.nix b/hosts/main.nix index c9f3d25..7b7cbdf 100644 --- a/hosts/main.nix +++ b/hosts/main.nix @@ -2,10 +2,6 @@ { 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-desktop.nix ../nix-os/nvidia.nix diff --git a/nixos-rebuild.sh b/nixos-rebuild.sh deleted file mode 100755 index 55aa311..0000000 --- a/nixos-rebuild.sh +++ /dev/null @@ -1 +0,0 @@ -NIXOS_CONFIG="$(pwd)/hosts/main.nix" nixos-rebuild $@