chore: nix fmt
This commit is contained in:
parent
a80bd4ed3b
commit
7266fff06e
128 changed files with 3402 additions and 2013 deletions
|
@ -1,9 +1,14 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ... }: with lib; let
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.global.flatpak;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.global.flatpak = {
|
||||
enable = mkEnableOption "flatpak sandbox";
|
||||
};
|
||||
|
@ -11,7 +16,10 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
services.flatpak.enable = true;
|
||||
xdg.portal.enable = true;
|
||||
users.home.persist.directories = [ ".local/share/flatpak" ".var" ];
|
||||
users.home.persist.directories = [
|
||||
".local/share/flatpak"
|
||||
".var"
|
||||
];
|
||||
environment.persistence."/nix/persist/fhs".directories = [ "/var/lib/flatpak" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue