This commit is contained in:
parent
b7f82f87e8
commit
adc5f652de
2 changed files with 6 additions and 4 deletions
|
@ -22,6 +22,7 @@
|
|||
nixpkgs,
|
||||
home-manager,
|
||||
agenix,
|
||||
nix-flatpak,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
@ -44,7 +45,10 @@
|
|||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
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;
|
||||
let
|
||||
cfg = config.modules.home.apps.flatpak;
|
||||
in
|
||||
{
|
||||
imports = [ nix-flatpak.homeManagerModules.nix-flatpak ];
|
||||
|
||||
options.modules.home.apps.flatpak = {
|
||||
enable = mkEnableOption ''
|
||||
Enable flatpak with my custom configurations
|
||||
|
|
Loading…
Reference in a new issue