Ugh, we're going back to this because of backwards compat

With nixos-rebuild using the NIX_PATH. I'm pretty sure it doesn't work
anyway, but whatever
This commit is contained in:
Benson Chu 2024-07-21 09:55:26 -05:00
parent a6a89e9ab7
commit 5118300d20
4 changed files with 5 additions and 4 deletions

View file

@ -24,11 +24,11 @@ in
config.allowUnfree = true;
};
})
];
] ++ import ./overlays.nix inputs;
nix.nixPath = [ "/home/benson/.nix-defexpr/channels"
nix.nixPath = [ # "/home/benson/.nix-defexpr/channels"
"nixpkgs=${inputs.nixpkgs}"
"nixos-config=${inputs.self}"
"nixos-config=${inputs.self}/hosts/${config.networking.hostName}/configuration.nix"
"/nix/var/nix/profiles/per-user/root/channels"];
nix.settings.experimental-features = "nix-command flakes";

View file

@ -28,7 +28,6 @@
inherit system;
specialArgs = { inherit inputs; };
modules = [
./common/configuration.nix
(./. + "/hosts/${h}/configuration.nix")
home-manager.nixosModules.home-manager
{

View file

@ -5,6 +5,7 @@
{ config, pkgs, ... }:
{
imports = [
../../common/configuration.nix
../../common/user-facing.nix
../../common/development-machine.nix
../../common/lxd-setup.nix

View file

@ -2,6 +2,7 @@
{
imports = [
# ./home-git-repos.nix
../../common/configuration.nix
../../common/development-machine.nix
../../common/laptop-things.nix
../../common/exwm.nix