GermanBread / declarative-flatpak

126 stars 4 forks source link

does this work without nixos? #22

Closed tcoopman closed 10 months ago

tcoopman commented 10 months ago

I'm using homeManager with arch and without nixos. I was trying to set this up, but get:

error: attribute 'nixosConfig' missing

       at /nix/store/9lriws7wmqqbz1x1hnv4nanbmmqhkfq8-source/lib/modules.nix:506:28:

          505|         builtins.addErrorContext (context name)
          506|           (args.${name} or config._module.args.${name})
             |                            ^
          507|       ) (lib.functionArgs f);
(use '--show-trace' to show detailed location information)

I'm guessing this is because this package require nixos?

GermanBread commented 10 months ago

Did you try the dev branch? I think I have the required fix there.

tcoopman commented 10 months ago

This brings me a bit further, but now I get:

       error: attribute 'enable' missing

       at /nix/store/6zs6vijsxjcvyyqqz05zw9b8i3b22vqx-source/src/options.nix:21:15:

           20|     type = types.bool;
           21|     default = cfg.enable;
             |               ^
           22|     description = mdDoc ''
tcoopman commented 10 months ago

I was able to fix this with:

{ config, pkgs, ... }:
{
  services.flatpak = {
    enableModule = true;
  };
}