remove samba from closure
current samba hangs during configurePhase. this is not the first time samba has failed to build. nor the third. purge it.
This commit is contained in:
@@ -39,9 +39,11 @@
|
|||||||
./gpodder.nix
|
./gpodder.nix
|
||||||
./gthumb.nix
|
./gthumb.nix
|
||||||
./gtkcord4.nix
|
./gtkcord4.nix
|
||||||
|
./handbrake.nix
|
||||||
./helix.nix
|
./helix.nix
|
||||||
./imagemagick.nix
|
./imagemagick.nix
|
||||||
./jellyfin-media-player.nix
|
./jellyfin-media-player.nix
|
||||||
|
./kdenlive.nix
|
||||||
./komikku.nix
|
./komikku.nix
|
||||||
./koreader
|
./koreader
|
||||||
./libreoffice.nix
|
./libreoffice.nix
|
||||||
|
11
hosts/common/programs/handbrake.nix
Normal file
11
hosts/common/programs/handbrake.nix
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
sane.programs.handbrake = {
|
||||||
|
# disable expensive sambda dependency; i don't use it.
|
||||||
|
packageUnwrapped = pkgs.handbrake.override {
|
||||||
|
ffmpeg_5-full = pkgs.ffmpeg_5-full.override {
|
||||||
|
withSamba = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
11
hosts/common/programs/kdenlive.nix
Normal file
11
hosts/common/programs/kdenlive.nix
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
sane.programs.kdenlive = {
|
||||||
|
packageUnwrapped = pkgs.kdenlive.override {
|
||||||
|
ffmpeg-full = pkgs.ffmpeg-full.override {
|
||||||
|
# avoid expensive samba build for a feature i don't use
|
||||||
|
withSamba = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@@ -1,4 +1,4 @@
|
|||||||
{ config, lib, sane-lib, ... }:
|
{ config, lib, pkgs, sane-lib, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
feeds = sane-lib.feeds;
|
feeds = sane-lib.feeds;
|
||||||
@@ -10,6 +10,10 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
sane.programs.vlc = {
|
sane.programs.vlc = {
|
||||||
|
packageUnwrapped = pkgs.vlc.override {
|
||||||
|
# disable uneeded samba features to avoid an expensive samba build
|
||||||
|
samba = null;
|
||||||
|
};
|
||||||
sandbox.method = "bwrap";
|
sandbox.method = "bwrap";
|
||||||
sandbox.wrapperType = "wrappedDerivation";
|
sandbox.wrapperType = "wrappedDerivation";
|
||||||
sandbox.autodetectCliPaths = true;
|
sandbox.autodetectCliPaths = true;
|
||||||
|
@@ -1,6 +1,10 @@
|
|||||||
{ ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
sane.programs.wine = {
|
sane.programs.wine = {
|
||||||
|
# `pkgs.wine == pkgs.winePackages.full`
|
||||||
|
# not sure the practical difference between `full` and `base`, but `full` drags in thngs like samba which i _probably_ don't need.
|
||||||
|
# could build with `supportFlags.netapiSupport = false` to use `full` but without samba.
|
||||||
|
packageUnwrapped = pkgs.winePackages.base;
|
||||||
# no need for the cryptographic nature, just needs to not use loads of / tmpfs.
|
# no need for the cryptographic nature, just needs to not use loads of / tmpfs.
|
||||||
persist.byStore.cryptClearOnBoot = [ ".wine" ];
|
persist.byStore.cryptClearOnBoot = [ ".wine" ];
|
||||||
persist.byStore.plaintext = [
|
persist.byStore.plaintext = [
|
||||||
|
@@ -253,6 +253,10 @@ in
|
|||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
};
|
};
|
||||||
services.gvfs.enable = true; # allow nautilus to mount remote filesystems (e.g. ftp://...)
|
services.gvfs.enable = true; # allow nautilus to mount remote filesystems (e.g. ftp://...)
|
||||||
|
services.gvfs.package = lib.mkDefault (pkgs.gvfs.override {
|
||||||
|
# i don't need to mount samba shares, and samba build is expensive/flaky (mostly for cross, but even problematic on native)
|
||||||
|
samba = null;
|
||||||
|
});
|
||||||
# rtkit/RealtimeKit: allow applications which want realtime audio (e.g. Dino? Pulseaudio server?) to request it.
|
# rtkit/RealtimeKit: allow applications which want realtime audio (e.g. Dino? Pulseaudio server?) to request it.
|
||||||
# this might require more configuration (e.g. polkit-related) to work exactly as desired.
|
# this might require more configuration (e.g. polkit-related) to work exactly as desired.
|
||||||
# - readme outlines requirements: <https://github.com/heftig/rtkit>
|
# - readme outlines requirements: <https://github.com/heftig/rtkit>
|
||||||
|
Reference in New Issue
Block a user