clean flatpak modules

This commit is contained in:
do butterflies cry? 2026-02-13 12:47:55 +10:00
parent 27bc2ec0af
commit d5891684a9
5 changed files with 28 additions and 4 deletions

View file

@ -26,7 +26,7 @@
};
};
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.7.0";
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
grub2-themes = {
url = "github:vinceliuice/grub2-themes";
inputs.nixpkgs.follows = "nixpkgs";

View file

@ -7,6 +7,10 @@
lib,
...
}: {
imports = [
./modules/flatpak.nix
];
# NOTE: mkDefault is 1000 and mkForce is 50
# NOTE: so this is like a second mkDefault
security.sudo.wheelNeedsPassword = lib.mkOverride 900 true;

View file

@ -0,0 +1,12 @@
{...}: {
services.flatpak = {
remotes = [
{
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
name = "flathub";
}
];
uninstallUnmanaged = true;
};
}

View file

@ -1,5 +1,4 @@
{
inputs,
pkgs,
config,
...
@ -11,8 +10,6 @@
../../hosts/modules/wm/hyprland.nix
../../hosts/modules/steam.nix
../../hosts/modules/obsidian.nix
# inputs.nix-flatpak.nixosModules.nix-flatpak
];
boot.loader.grub2-theme = {

View file

@ -0,0 +1,11 @@
{...}: {
services.flatpak = {
packages = [
{
# Linux Runtime for Roblox
appId = "org.vinegarhq.Sober";
origin = "flathub";
}
];
};
}