clean flatpak modules
This commit is contained in:
parent
27bc2ec0af
commit
d5891684a9
5 changed files with 28 additions and 4 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
12
groups/all/modules/flatpak.nix
Normal file
12
groups/all/modules/flatpak.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{...}: {
|
||||
services.flatpak = {
|
||||
remotes = [
|
||||
{
|
||||
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
|
||||
name = "flathub";
|
||||
}
|
||||
];
|
||||
|
||||
uninstallUnmanaged = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -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 = {
|
||||
|
|
|
|||
11
hosts/myputer/modules/gamergrl/default.nix
Normal file
11
hosts/myputer/modules/gamergrl/default.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{...}: {
|
||||
services.flatpak = {
|
||||
packages = [
|
||||
{
|
||||
# Linux Runtime for Roblox
|
||||
appId = "org.vinegarhq.Sober";
|
||||
origin = "flathub";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue