This commit is contained in:
parent
b7f82f87e8
commit
adc5f652de
2 changed files with 6 additions and 4 deletions
|
@ -22,6 +22,7 @@
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
home-manager,
|
home-manager,
|
||||||
agenix,
|
agenix,
|
||||||
|
nix-flatpak,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
@ -44,7 +45,10 @@
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.extraSpecialArgs = inputs;
|
home-manager.extraSpecialArgs = inputs;
|
||||||
home-manager.users.florian = import ./hosts/${s.name}/home.nix;
|
home-manager.users.florian.imports = [
|
||||||
|
nix-flatpak.homeManagerModules.nix-flatpak
|
||||||
|
./hosts/${s.name}/home.nix
|
||||||
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
{ config, pkgs, lib, nix-flatpak, ... }:
|
{ config, lib, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.modules.home.apps.flatpak;
|
cfg = config.modules.home.apps.flatpak;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [ nix-flatpak.homeManagerModules.nix-flatpak ];
|
|
||||||
|
|
||||||
options.modules.home.apps.flatpak = {
|
options.modules.home.apps.flatpak = {
|
||||||
enable = mkEnableOption ''
|
enable = mkEnableOption ''
|
||||||
Enable flatpak with my custom configurations
|
Enable flatpak with my custom configurations
|
||||||
|
|
Loading…
Reference in a new issue