From cc0f6589cb669574fb7384dd9166b0ba0038ffdc Mon Sep 17 00:00:00 2001 From: quirinecker Date: Thu, 16 Oct 2025 15:14:27 +0200 Subject: [PATCH] adjusted a little bit of the readme --- README.md | 39 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 37 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 160d0d2..ee11af7 100644 --- a/README.md +++ b/README.md @@ -13,14 +13,49 @@ dotfiles-modules = { }; ``` -Then import the modules in your home-manager configuration: +In case you want to update the input flakes this flake imports yourself (recommended), then you would need to declare the inputs yourself +and make this flake follow those inputs: + +```nix +dotfiles-modules = { + url = "gitlab:quirinecker/dotfiles-modules"; + inputs.nixpkgs.follows = "nixpkgs"; + inputs.zen-browser.follows = "zen-browser"; + inputs.walker.follows = "walker"; +}; + +zen-browser = { + url = "github:0xc000022070/zen-browser-flake"; + inputs.nixpkgs.follows = "nixpkgs"; +}; + +walker = { + url = "github:abenz1267/walker"; + inputs.nixpkgs.follows = "nixpkgs"; +}; +``` + +Then import the modules in your home-manager configuration or add it to the modules of the home configuration: ```nix imports = [ - inputs.dotfiles-modules.homemanager.default_apps + inputs.dotfiles-modules.homeManager ] ``` +or + +```nix + +homeConfigurations. = home-manager.lib.homeManagerConfiguration { + ... + modules = [ + inputs.dotfiles-modules.homeManager + ]; +}; + +``` + **Note:** If you are new to NixOS, i might add a template repository for the modules which should be simmilar to my own homemanager config. ## Modules