enable declarative-flatpak in home-manager
This commit is contained in:
parent
b62234602d
commit
36b1cc8263
4 changed files with 85 additions and 2 deletions
10
flake.nix
10
flake.nix
|
@ -11,13 +11,18 @@
|
|||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
# Anyrun launcher
|
||||
anyrun = {
|
||||
url = "github:anyrun-org/anyrun";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
# Declarative flatpak management, documentation states overriding nixpkgs is not supported
|
||||
flatpaks.url = "github:GermanBread/declarative-flatpak/stable-v3";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, stablepkgs, ... } @ inputs:
|
||||
outputs = { self, nixpkgs, stablepkgs, home-manager, ... } @ inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
|
@ -36,10 +41,13 @@
|
|||
];
|
||||
};
|
||||
homeConfigurations.blue = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
# Import home-manager modules here
|
||||
modules = [
|
||||
./home-manager/home.nix
|
||||
inputs.anyrun.homeManagerModules.default
|
||||
inputs.flatpaks.homeManagerModules.default
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue