8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
28 lines
611 B
Nix
28 lines
611 B
Nix
let
|
|
inherit (import <nixpkgs> { }) snapTools firefox;
|
|
in snapTools.makeSnap {
|
|
meta = {
|
|
name = "nix-example-firefox";
|
|
summary = firefox.meta.description;
|
|
architectures = [ "amd64" ];
|
|
apps.nix-example-firefox = {
|
|
command = "${firefox}/bin/firefox";
|
|
plugs = [
|
|
"pulseaudio"
|
|
"camera"
|
|
"browser-support"
|
|
"avahi-observe"
|
|
"cups-control"
|
|
"desktop"
|
|
"desktop-legacy"
|
|
"gsettings"
|
|
"home"
|
|
"network"
|
|
"mount-observe"
|
|
"removable-media"
|
|
"x11"
|
|
];
|
|
};
|
|
confinement = "strict";
|
|
};
|
|
}
|