udpate flatpack config
This commit is contained in:
parent
e3f5726784
commit
d54a7adb05
15
flake.nix
Normal file
15
flake.nix
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
inputs = {
|
||||||
|
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=0.4.1";
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs = { nix-flatpak, ... }: {
|
||||||
|
nixosConfigurations.frdesktop = nixpkgs.lib.nixosSystem {
|
||||||
|
modules = [
|
||||||
|
nix-flatpak.nixosModules.nix-flatpak
|
||||||
|
|
||||||
|
./configuration.nix
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
40
software.nix
40
software.nix
@ -12,9 +12,45 @@
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
vim wget git
|
vim wget git
|
||||||
vscodium
|
vscodium
|
||||||
|
gnome.nautilus
|
||||||
|
libsForQt5.kalgebra
|
||||||
];
|
];
|
||||||
|
|
||||||
services.flatpak.enable = true;
|
services.flatpak.enable = true;
|
||||||
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
xdg.portal = {
|
||||||
xdg.portal.config.common.default = "gtk";
|
enable = true;
|
||||||
|
config.common.default = [ "gtk" ];
|
||||||
|
extraPortals = with pkgs; [
|
||||||
|
# xdg-desktop-portal-wlr
|
||||||
|
# xdg-desktop-portal-kde
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
];
|
||||||
|
};
|
||||||
|
services.flatpak.remotes = lib.mkOptionDefault [{
|
||||||
|
name = "flathub"; location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
|
||||||
|
}];
|
||||||
|
|
||||||
|
services.flatpak.packages = [
|
||||||
|
"md.obsidian.Obsidian"
|
||||||
|
"org.mozilla.Thunderbird"
|
||||||
|
"com.discordapp.Discord"
|
||||||
|
"com.github.IsmaelMartinez.teams_for_linux"
|
||||||
|
"org.signal.Signal"
|
||||||
|
"org.telegram.desktop"
|
||||||
|
"com.github.tchx84.Flatseal"
|
||||||
|
"com.yubico.yubioath"
|
||||||
|
"org.filezillaproject.Filezilla"
|
||||||
|
"org.gnome.moserial"
|
||||||
|
"org.raspberrypi.rpi-imager"
|
||||||
|
"org.sdrangel.SDRangel"
|
||||||
|
"com.makemkv.MakeMKV"
|
||||||
|
"fr.handbrake.ghb"
|
||||||
|
"com.valvesoftware.Steam"
|
||||||
|
"com.mojang.Minecraft"
|
||||||
|
"org.inkscape.Inkscape"
|
||||||
|
"org.gnome.Rhythmbox3"
|
||||||
|
"com.prusa3d.PrusaSlicer"
|
||||||
|
"org.freecadweb.FreeCAD"
|
||||||
|
"org.kicad.KiCad"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user