flake: simplify
This commit is contained in:
parent
30357361fe
commit
714f92eb81
1 changed files with 4 additions and 21 deletions
25
flake.nix
25
flake.nix
|
@ -161,29 +161,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
berberman,
|
||||
disko,
|
||||
home-manager,
|
||||
hosts,
|
||||
hyprland,
|
||||
lanzaboote,
|
||||
nix-darwin,
|
||||
sops-nix,
|
||||
spicetify-nix,
|
||||
impermanence,
|
||||
tokyonight,
|
||||
metacubexd,
|
||||
nixpak,
|
||||
...
|
||||
} @ inputs: {
|
||||
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.alejandra;
|
||||
outputs = {...} @ inputs: {
|
||||
formatter.x86_64-linux = inputs.nixpkgs.legacyPackages.x86_64-linux.alejandra;
|
||||
|
||||
### NixOS
|
||||
nixosConfigurations = {
|
||||
"Aristotle" = nixpkgs.lib.nixosSystem {
|
||||
"Aristotle" = inputs.nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {inherit inputs;};
|
||||
modules = [
|
||||
|
@ -211,7 +194,7 @@
|
|||
|
||||
### Darwin
|
||||
darwinConfigurations = {
|
||||
"Plato" = nix-darwin.lib.darwinSystem {
|
||||
"Plato" = inputs.nix-darwin.lib.darwinSystem {
|
||||
system = "x86_64-darwin";
|
||||
specialArgs = {inherit inputs;};
|
||||
modules = [
|
||||
|
|
Loading…
Reference in a new issue