mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 01:33:17 +01:00
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:
parent
9b4d9c8bf5
commit
297a46d08e
13
default.nix
13
default.nix
@ -1,13 +0,0 @@
|
|||||||
{ home-manager, stylix, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
home-manager.nixosModules.home-manager
|
|
||||||
stylix.nixosModules.stylix
|
|
||||||
./containers
|
|
||||||
./hardware
|
|
||||||
./home
|
|
||||||
./modules
|
|
||||||
./packages
|
|
||||||
];
|
|
||||||
}
|
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user