meta: Drop default.nix

Having a default.nix doesn't *really* make sense now that we're dealing
with multiple nixosConfigurations, some of which might not even be in
the same flake.
This commit is contained in:
Donovan Glover 2024-04-01 07:12:15 -04:00
parent 9b4d9c8bf5
commit 297a46d08e
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 4 additions and 15 deletions

View File

@ -1,13 +0,0 @@
{ home-manager, stylix, ... }:
{
imports = [
home-manager.nixosModules.home-manager
stylix.nixosModules.stylix
./containers
./hardware
./home
./modules
./packages
];
}

View File

@ -21,13 +21,15 @@
}; };
}; };
outputs = { self, nixpkgs, ... } @ attrs: with nixpkgs.lib; { outputs = { self, nixpkgs, home-manager, stylix, ... } @ attrs: with nixpkgs.lib; {
nixosConfigurations = { nixosConfigurations = {
nixos = nixosSystem { nixos = nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = attrs; specialArgs = attrs;
modules = [ modules = [
./. home-manager.nixosModules.home-manager
stylix.nixosModules.stylix
./hardware/laptop.nix
{ {
environment.pathsToLink = [ environment.pathsToLink = [
"/share/backgrounds" "/share/backgrounds"