mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
flake.nix: remove deprecations (#6485)
Multiple stable releases removed from inception. Don't need to keep it around anymore.
This commit is contained in:
parent
5cfbf5cc37
commit
a135aae1be
1 changed files with 5 additions and 12 deletions
17
flake.nix
17
flake.nix
|
|
@ -9,15 +9,11 @@
|
|||
home-manager = ./nixos;
|
||||
default = home-manager;
|
||||
};
|
||||
# deprecated in Nix 2.8
|
||||
nixosModule = self.nixosModules.default;
|
||||
|
||||
darwinModules = rec {
|
||||
home-manager = ./nix-darwin;
|
||||
default = home-manager;
|
||||
};
|
||||
# unofficial; deprecated in Nix 2.8
|
||||
darwinModule = self.darwinModules.default;
|
||||
|
||||
flakeModules = rec {
|
||||
home-manager = ./flake-module.nix;
|
||||
|
|
@ -25,10 +21,7 @@
|
|||
};
|
||||
|
||||
templates = {
|
||||
standalone = {
|
||||
path = ./templates/standalone;
|
||||
description = "Standalone setup";
|
||||
};
|
||||
default = self.templates.standalone;
|
||||
nixos = {
|
||||
path = ./templates/nixos;
|
||||
description = "Home Manager as a NixOS module,";
|
||||
|
|
@ -37,9 +30,11 @@
|
|||
path = ./templates/nix-darwin;
|
||||
description = "Home Manager as a nix-darwin module,";
|
||||
};
|
||||
standalone = {
|
||||
path = ./templates/standalone;
|
||||
description = "Standalone setup";
|
||||
};
|
||||
};
|
||||
|
||||
defaultTemplate = self.templates.standalone;
|
||||
|
||||
lib = import ./lib { inherit (nixpkgs) lib; };
|
||||
} // (let
|
||||
|
|
@ -69,7 +64,5 @@
|
|||
docs-json = docs.options.json;
|
||||
docs-manpages = docs.manPages;
|
||||
});
|
||||
|
||||
defaultPackage = forAllSystems (system: self.packages.${system}.default);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue