Compare commits
No commits in common. "506c4f9357c6e7926d347ed2af1d440ba8224362" and "de43e917c52557e034d3124765d19ceadb3e5e04" have entirely different histories.
506c4f9357
...
de43e917c5
2 changed files with 9 additions and 30 deletions
|
|
@ -9,7 +9,6 @@ in {
|
|||
./bitwarden.nix
|
||||
./rustdesk.nix
|
||||
./rustdesk-epicenter.nix
|
||||
./flatpak-packages.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
@ -154,5 +153,14 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
services.flatpak.enable = true;
|
||||
systemd.services.flatpak-repo = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
path = [ pkgs.flatpak ];
|
||||
script = ''
|
||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
'';
|
||||
};
|
||||
|
||||
environment.variables.TERMINAL_COMMAND = "alacritty";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,29 +0,0 @@
|
|||
{ pkgs, ... }: {
|
||||
services.flatpak.enable = true;
|
||||
systemd.services.flatpak-repo = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
path = [ pkgs.flatpak ];
|
||||
script = ''
|
||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
'';
|
||||
};
|
||||
|
||||
systemd.services.flatpak-install-packages = {
|
||||
wants = [ "flatpak-repo.service" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
path = [ pkgs.flatpak ];
|
||||
script = ''
|
||||
flatpak install -y https://dl.flathub.org/repo/appstream/io.github.yuki_iptv.yuki-iptv.flatpakref
|
||||
'';
|
||||
};
|
||||
|
||||
environment.systemPackages = [
|
||||
(pkgs.makeDesktopItem {
|
||||
name = "yuki-iptv";
|
||||
desktopName = "Yuki IPTV";
|
||||
genericName = "IPTV Player";
|
||||
exec = "${pkgs.flatpak}/bin/flatpak run io.github.yuki_iptv.yuki-iptv";
|
||||
terminal = false;
|
||||
})
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue