Whoops, remove jovian, self isn't needed?

This commit is contained in:
Jimbo 2024-10-21 03:47:36 -04:00
parent 853df3a0fd
commit 507049314f
2 changed files with 33 additions and 92 deletions

View file

@ -8,11 +8,6 @@
inputs.nixpkgs.follows = "nixpkgs";
};
home-unstable = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "unstable";
};
nur.url = "github:nix-community/NUR";
blender-bin.url = "https://flakehub.com/f/edolstra/blender-bin/1.0.9.tar.gz";
hardware.url = "github:nixos/nixos-hardware/master";
@ -26,15 +21,40 @@
minecraft.url = "github:Infinidoge/nix-minecraft";
};
outputs = { self, nixpkgs, unstable, home-manager, home-unstable, nur, blender-bin, jovian, hardware, lanzaboote, mailserver, minecraft, ... }:
outputs = {
nixpkgs,
unstable,
home-manager,
nur,
blender-bin,
hardware,
lanzaboote,
mailserver,
minecraft,
...
}:
let
mkNix = modules: nixpkgs.lib.nixosSystem {
inherit modules;
specialArgs = { inherit unstable hardware lanzaboote mailserver minecraft; };
specialArgs = {
inherit
unstable
hardware
lanzaboote
mailserver
minecraft
;
};
};
mkHome = modules: pkgs: home-manager.lib.homeManagerConfiguration {
inherit modules pkgs;
extraSpecialArgs = { inherit unstable nur blender-bin; };
extraSpecialArgs = {
inherit
unstable
nur
blender-bin
;
};
};
in {
# nixos-rebuild switch --flake .#hostname