attempt to install sober with declarative-flatpak

This commit is contained in:
Gabriella Bere 2024-08-26 02:39:01 +01:00
parent 36b1cc8263
commit 2578538507
3 changed files with 21 additions and 1 deletions

View file

@ -1,4 +1,11 @@
{ config, pkgs, ... }:
{
services.flatpak.enableModule = true;
services.flatpak = {
enableModule = true;
# Enable flathub and flathub beta by default, other package-specific remotes should be added in their package.nix file
remotes = {
"flathub" = "https://flathub.org/repo/flathub.flatpakrepo";
"flathub-beta" = "https://flathub.org/beta-repo/flathub-beta.flatpakrepo";
}
};
}

View file

@ -9,6 +9,7 @@
./waybar.nix
./swaync.nix
./flatpak.nix
./sober.nix
];
# States home manager version that config was originally compatible with, do not change without reading all patch notes since this version and altering as needed

12
home-manager/sober.nix Normal file
View file

@ -0,0 +1,12 @@
{ config, ... }:
{
services.flatpak = {
packages = [
"sober:/root/sober.flatpakref"
# https://sober.vinegarhq.org/sober.flatpakref
];
remotes = [
"sober" = "https://sober.vinegarhq.org/"
]
};
}