diff options
| author | Simen A. W. Olsen <hello@simenandre.no> | 2026-03-21 18:56:20 +0100 |
|---|---|---|
| committer | Simen A. W. Olsen <hello@simenandre.no> | 2026-03-21 18:56:20 +0100 |
| commit | e3c7eaecc389a7c1c0ddd501ba46abf4b9c2d6eb (patch) | |
| tree | f707ed496e93277dfde431f0274990d19f4012f2 /modules/nixos/default.nix | |
| parent | 7d86a954e97e373bd5ce19ff188cd57e9a9412de (diff) | |
| download | dotfiles-e3c7eaecc389a7c1c0ddd501ba46abf4b9c2d6eb.tar.gz dotfiles-e3c7eaecc389a7c1c0ddd501ba46abf4b9c2d6eb.zip | |
refactor(nixos): simplify hardware configuration import to use standard path
Diffstat (limited to 'modules/nixos/default.nix')
| -rw-r--r-- | modules/nixos/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/nixos/default.nix b/modules/nixos/default.nix index f005dbd..13fddbb 100644 --- a/modules/nixos/default.nix +++ b/modules/nixos/default.nix @@ -1,7 +1,7 @@ { pkgs, lib, ... }: { - imports = [ ] ++ lib.optional (builtins.pathExists ./hardware-configuration.nix) ./hardware-configuration.nix; + imports = [ /etc/nixos/hardware-configuration.nix ]; # Enable experimental Nix features nix.settings.experimental-features = "nix-command flakes"; |
