fix(smb-mounts): mount after network available

fix(pob): set env
This commit is contained in:
Patrick 2024-08-06 21:45:22 +02:00
parent 838d88f11e
commit 3d3bb8c3a5
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
3 changed files with 25 additions and 16 deletions

View file

@ -87,6 +87,7 @@ in
"file_mode=0600"
"dir_mode=0700"
"credentials=${cfg.credentials}"
"x-systemd.after=network-online.target"
]
++ (optional (!cfg.automatic) "noauto");
in

View file

@ -1,17 +1,17 @@
[
(import ./scripts)
(_self: super: {
zsh-histdb-skim = super.callPackage ./zsh-histdb-skim.nix { };
zsh-histdb = super.callPackage ./zsh-histdb.nix { };
actual = super.callPackage ./actual.nix { };
pr-tracker = super.callPackage ./pr-tracker.nix { };
homebox = super.callPackage ./homebox.nix { };
deploy = super.callPackage ./deploy.nix { };
mongodb-bin = super.callPackage ./mongodb-bin.nix { };
awakened-poe-trade = super.callPackage ./awakened-poe-trade.nix { };
neovim-clean = super.neovim-unwrapped.overrideAttrs (
(_prev: final: {
zsh-histdb-skim = final.callPackage ./zsh-histdb-skim.nix { };
zsh-histdb = final.callPackage ./zsh-histdb.nix { };
actual = final.callPackage ./actual.nix { };
pr-tracker = final.callPackage ./pr-tracker.nix { };
homebox = final.callPackage ./homebox.nix { };
deploy = final.callPackage ./deploy.nix { };
mongodb-bin = final.callPackage ./mongodb-bin.nix { };
awakened-poe-trade = final.callPackage ./awakened-poe-trade.nix { };
neovim-clean = final.neovim-unwrapped.overrideAttrs (
_neovimFinal: neovimPrev: {
nativeBuildInputs = (neovimPrev.nativeBuildInputs or [ ]) ++ [ super.makeWrapper ];
nativeBuildInputs = (neovimPrev.nativeBuildInputs or [ ]) ++ [ final.makeWrapper ];
postInstall =
(neovimPrev.postInstall or "")
+ ''
@ -19,10 +19,18 @@
'';
}
);
kanidm = super.kanidm.overrideAttrs (
path-of-building = final.path-of-building.overrideAttrs (old: {
postFixup =
(old.postFixup or "")
+ ''
wrapProgram $out/bin/pobfrontend \
--set QT_QPA_PLATFORM xcb
'';
});
kanidm = final.kanidm.overrideAttrs (
old:
let
provisionSrc = super.fetchFromGitHub {
provisionSrc = final.fetchFromGitHub {
owner = "oddlama";
repo = "kanidm-provision";
rev = "v1.1.0";
@ -38,6 +46,6 @@
doCheck = false;
}
);
kanidm-provision = super.callPackage ./kanidm-provision.nix { };
kanidm-provision = final.callPackage ./kanidm-provision.nix { };
})
]

View file

@ -16,10 +16,10 @@ in
home.packages = [ pwndbgWithDebuginfod ];
home.enableDebugInfo = true;
xdg.configFile.gdbinit = {
target = "gdb/gbdinit";
target = "gdb/gdbinit";
text = ''
set auto-load safe-path /
set debuginfod enabled on
set auto-load safe-path /
set history save on
set history filename ~/.local/share/gdb/history