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" "file_mode=0600"
"dir_mode=0700" "dir_mode=0700"
"credentials=${cfg.credentials}" "credentials=${cfg.credentials}"
"x-systemd.after=network-online.target"
] ]
++ (optional (!cfg.automatic) "noauto"); ++ (optional (!cfg.automatic) "noauto");
in in

View file

@ -1,17 +1,17 @@
[ [
(import ./scripts) (import ./scripts)
(_self: super: { (_prev: final: {
zsh-histdb-skim = super.callPackage ./zsh-histdb-skim.nix { }; zsh-histdb-skim = final.callPackage ./zsh-histdb-skim.nix { };
zsh-histdb = super.callPackage ./zsh-histdb.nix { }; zsh-histdb = final.callPackage ./zsh-histdb.nix { };
actual = super.callPackage ./actual.nix { }; actual = final.callPackage ./actual.nix { };
pr-tracker = super.callPackage ./pr-tracker.nix { }; pr-tracker = final.callPackage ./pr-tracker.nix { };
homebox = super.callPackage ./homebox.nix { }; homebox = final.callPackage ./homebox.nix { };
deploy = super.callPackage ./deploy.nix { }; deploy = final.callPackage ./deploy.nix { };
mongodb-bin = super.callPackage ./mongodb-bin.nix { }; mongodb-bin = final.callPackage ./mongodb-bin.nix { };
awakened-poe-trade = super.callPackage ./awakened-poe-trade.nix { }; awakened-poe-trade = final.callPackage ./awakened-poe-trade.nix { };
neovim-clean = super.neovim-unwrapped.overrideAttrs ( neovim-clean = final.neovim-unwrapped.overrideAttrs (
_neovimFinal: neovimPrev: { _neovimFinal: neovimPrev: {
nativeBuildInputs = (neovimPrev.nativeBuildInputs or [ ]) ++ [ super.makeWrapper ]; nativeBuildInputs = (neovimPrev.nativeBuildInputs or [ ]) ++ [ final.makeWrapper ];
postInstall = postInstall =
(neovimPrev.postInstall or "") (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: old:
let let
provisionSrc = super.fetchFromGitHub { provisionSrc = final.fetchFromGitHub {
owner = "oddlama"; owner = "oddlama";
repo = "kanidm-provision"; repo = "kanidm-provision";
rev = "v1.1.0"; rev = "v1.1.0";
@ -38,6 +46,6 @@
doCheck = false; 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.packages = [ pwndbgWithDebuginfod ];
home.enableDebugInfo = true; home.enableDebugInfo = true;
xdg.configFile.gdbinit = { xdg.configFile.gdbinit = {
target = "gdb/gbdinit"; target = "gdb/gdbinit";
text = '' text = ''
set auto-load safe-path /
set debuginfod enabled on set debuginfod enabled on
set auto-load safe-path /
set history save on set history save on
set history filename ~/.local/share/gdb/history set history filename ~/.local/share/gdb/history