clean flatpak modules
This commit is contained in:
parent
27bc2ec0af
commit
d5891684a9
5 changed files with 28 additions and 4 deletions
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue