This commit is contained in:
Lgmrszd 2023-10-30 19:20:54 +03:00
parent 475374c653
commit fd47f8be1e
No known key found for this signature in database
GPG key ID: 9396B8BA6FBB14DE
6 changed files with 193 additions and 31 deletions

View file

@ -8,10 +8,16 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-23.05";
# nix-index-database.url = "github:nix-community/nix-index-database";
# nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
# nur = {
# url = "github:nix-community/NUR";
# };
nixpkgs-vesktop.url = "github:pluiedev/nixpkgs/patch-1";
# nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
# home-manager, used for managing user configuration
home-manager = {
url = "github:nix-community/home-manager/release-23.05";
url = "github:nix-community/home-manager/master";
# The `follows` keyword in inputs is used for inheritance.
# Here, `inputs.nixpkgs` of home-manager is kept consistent with
# the `inputs.nixpkgs` of the current flake,
@ -23,6 +29,8 @@
outputs = inputs@{
nixpkgs,
nixpkgs-stable,
# nix-index-database,
# nur,
home-manager,
...
}: {
@ -36,7 +44,9 @@
secrets = import ./secrets {};
};
modules = [
# nur.nixosModules.nur
./configuration.nix
# nix-index-database.nixosModules.nix-index
./mounts.nix
# make home-manager as a module of nixos
@ -50,6 +60,7 @@
home-manager.extraSpecialArgs = with specialArgs; {
inherit pkgs-stable;
inherit secrets;
};
}
];