Apply from official conf
All checks were successful
check / check (push) Successful in 28s

This commit is contained in:
Florian RICHER 2024-05-28 16:05:44 +02:00
parent b7f82f87e8
commit adc5f652de
2 changed files with 6 additions and 4 deletions

View file

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

View file

@ -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