mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
meep
This commit is contained in:
parent
f6f6ae6b6a
commit
e1fb6158a0
10 changed files with 86 additions and 5 deletions
8
nixos/profiles/gaming/bottles.nix
Normal file
8
nixos/profiles/gaming/bottles.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
_: {
|
||||
services.flatpak.packages = [
|
||||
{
|
||||
appId = "com.usebottles.bottles";
|
||||
origin = "flathub";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
@ -5,7 +5,6 @@
|
|||
driversi686Linux.mesa
|
||||
];
|
||||
};
|
||||
services.flatpak.enable = true;
|
||||
programs.gamescope = {
|
||||
enable = true;
|
||||
package = pkgs.gamescope;
|
||||
|
|
|
|||
20
nixos/profiles/graphical/flatpak.nix
Normal file
20
nixos/profiles/graphical/flatpak.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
_: {
|
||||
home-manager.sharedModules = [
|
||||
({ config, ... }: {
|
||||
xdg.systemDirs.data = [
|
||||
"/var/lib/flatpak/exports/share"
|
||||
"/home/${config.home.username}/.local/share/flatpak/exports/share/"
|
||||
];
|
||||
})
|
||||
];
|
||||
services.flatpak = {
|
||||
enable = true;
|
||||
update.auto = {
|
||||
enable = true;
|
||||
onCalendar = "weekly";
|
||||
};
|
||||
remotes = [
|
||||
{ name = "flathub"; location = "https://dl.flathub.org/repo/flathub.flatpakrepo"; }
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue