enable declarative-flatpak in home-manager

This commit is contained in:
Gabriella Bere 2024-08-26 02:05:57 +01:00
parent b62234602d
commit 36b1cc8263
4 changed files with 85 additions and 2 deletions

View file

@ -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
];
};
};