mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 06:33:56 -05:00
moved flatpak module from apps to services
This commit is contained in:
parent
753348bc6c
commit
4a74c75a70
|
@ -26,6 +26,9 @@
|
|||
};
|
||||
|
||||
alyraffauf = {
|
||||
services = {
|
||||
flatpak.enable = true;
|
||||
};
|
||||
system = {
|
||||
plymouth.enable = true;
|
||||
zramSwap = {enable = true;};
|
||||
|
@ -39,7 +42,6 @@
|
|||
hyprland.enable = true;
|
||||
};
|
||||
apps = {
|
||||
flatpak.enable = true;
|
||||
steam.enable = true;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
config,
|
||||
...
|
||||
}: {
|
||||
imports = [./flatpak ./nicotine-plus ./steam ./podman ./virt-manager];
|
||||
imports = [./nicotine-plus ./steam ./podman ./virt-manager];
|
||||
}
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [./apps ./desktop ./homeLab ./system ./user];
|
||||
imports = [./apps ./desktop ./homeLab ./services ./system ./user];
|
||||
}
|
||||
|
|
8
nixosModules/services/default.nix
Normal file
8
nixosModules/services/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
imports = [./flatpak];
|
||||
}
|
|
@ -5,11 +5,11 @@
|
|||
...
|
||||
}: {
|
||||
options = {
|
||||
alyraffauf.apps.flatpak.enable =
|
||||
alyraffauf.services.flatpak.enable =
|
||||
lib.mkEnableOption "Enables flatpak support with GUI.";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.alyraffauf.apps.flatpak.enable {
|
||||
config = lib.mkIf config.alyraffauf.services.flatpak.enable {
|
||||
# Needed for Flatpaks
|
||||
xdg.portal.enable = true;
|
||||
services.flatpak.enable = true;
|
Loading…
Reference in a new issue