Open manuelbb-upb opened 7 months ago
The example flake uses deprecated attributes extraModules and configuration, see https://nix-community.github.io/home-manager/release-notes.xhtml#sec-release-22.11-highlights Putting both plasma-manager and home.nix in modules seems to work, though (at least it builds)... Here is my flake:
extraModules
configuration
plasma-manager
home.nix
modules
{ description = "Home-Manager Flake"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; home-manager.url = "github:nix-community/home-manager"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; plasma-manager.url = "github:pjones/plasma-manager"; plasma-manager.inputs.nixpkgs.follows = "nixpkgs"; plasma-manager.inputs.home-manager.follows = "home-manager"; nixgl.url = "github:guibou/nixGL"; custom-any-nix-shell.url = "github:manuelbb-upb/any-nix-shell/nix_develop"; custom-any-nix-shell.inputs.nixpkgs.follows = "nixpkgs"; }; outputs = inputs@{ nixpkgs, home-manager, plasma-manager, nixgl, custom-any-nix-shell, ... }: let system = "x86_64-linux"; in { homeConfigurations.manuelbb = home-manager.lib.homeManagerConfiguration { pkgs = import nixpkgs { inherit system; config.allowUnfree = true; overlays = [ nixgl.overlay ]; }; modules = [ inputs.plasma-manager.homeManagerModules.plasma-manager ./manuelbb_config/home.nix ]; extraSpecialArgs = { inherit inputs; }; }; }; }
Will test a bit more and hopefully manage a PR.
I think this is fixed by now, at least I couldn't find any example still using extraModules.
The example flake uses deprecated attributes
extraModules
andconfiguration
, see https://nix-community.github.io/home-manager/release-notes.xhtml#sec-release-22.11-highlights Putting bothplasma-manager
andhome.nix
inmodules
seems to work, though (at least it builds)... Here is my flake:Will test a bit more and hopefully manage a PR.