mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
Rename module namespaces
This commit is contained in:
parent
0dcf8cc292
commit
ca1357b2d4
35 changed files with 4 additions and 4 deletions
16
modules/home/flatpak.nix
Normal file
16
modules/home/flatpak.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ config, lib, ... }@moduleArgs:
|
||||
{
|
||||
options.myConfig.flatpak.enable = lib.mkEnableOption "" // {
|
||||
default = moduleArgs.osConfig.myConfig.flatpak.enable or false;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.myConfig.flatpak.enable {
|
||||
xdg = {
|
||||
enable = true;
|
||||
systemDirs.data = [
|
||||
"/var/lib/flatpak/exports/share"
|
||||
"/home/seb/.local/share/flatpak/exports/share"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue