Commits: 1
Move hardware configuration import to flake.nix
So it's easier to make configurations targetting different hardware, as discussed in https://codeberg.org/foss-for-normies/BiebOS/issues/12
index 173a687..d1d2f8d 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -11,11 +11,6 @@
= '';
= };
=
- imports =
- [ # Include the results of the hardware scan.
- ./hardware-configuration.nix
- ];
-
= # Bootloader.
= boot.loader.systemd-boot.enable = true;
= boot.loader.efi.canTouchEfiVariables = true;
@@ -130,7 +125,7 @@
= # List packages installed in system profile. To search, run:
= # $ nix search wget
= environment.systemPackages = with pkgs; [
- neovim
+ neovim
= git
= bat
= httpieindex dcf358d..91d289d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -13,6 +13,7 @@
= nixosConfigurations.bieb = nixpkgs.lib.nixosSystem {
= inherit system pkgs;
= modules = [
+ ./hardware-configuration.nix # Include the results of the hardware scan.
= ./configuration.nix
= ./guest-session.nix
= ./flatpak.nix