Skip to content

Commit

Permalink
chore(flake): update flake.lock (#114)
Browse files Browse the repository at this point in the history
* flake.lock: Update

Flake lock file updates:

• Updated input 'darwin':
    'github:lnl7/nix-darwin/1a41453cba42a3a1af2fff003be455ddbd75386c' (2023-12-31)
  → 'github:lnl7/nix-darwin/bbde06bed1b72eddff063fa42f18644e90a0121e' (2024-02-24)
• Updated input 'home-manager':
    'github:nix-community/home-manager/2e8634c252890cb38c60ab996af04926537cbc27' (2023-12-31)
  → 'github:nix-community/home-manager/4ee704cb13a5a7645436f400b9acc89a67b9c08a' (2024-02-24)
• Updated input 'neovim-flake':
    'github:neovim/neovim/6fa0f303d7f0823bfc5ba6cc7b4e7a7cd76143ac?dir=contrib' (2023-12-31)
  → 'github:neovim/neovim/0fcbda59871ebc5fc91cac7fa430a4a93f6698c2?dir=contrib' (2024-02-25)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/f84eaffc35d1a655e84749228cde19922fcf55f1' (2024-01-25)
  → 'github:nixos/nixos-hardware/3f7d0bca003eac1a1a7f4659bbab9c8f8c2a0958' (2024-02-22)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/cfc3698c31b1fb9cdcf10f36c9643460264d0ca8' (2023-12-27)
  → 'github:nixos/nixpkgs/73de017ef2d18a04ac4bfd0c02650007ccb31c2a' (2024-02-24)
• Updated input 'nur':
    'github:nix-community/nur/fbb8789b92dce8870606027d97b0074435d91ffc' (2024-01-01)
  → 'github:nix-community/nur/1fe352ab8a7560c8bbd793852c52979894a7705e' (2024-02-25)
• Updated input 'nushell-src':
    'github:nushell/nushell/de5ad5de19affee3986661da6dd888a2e12a813f' (2023-12-31)
  → 'github:nushell/nushell/e09b4817e11496a168c4b22abe91db72079a016d' (2024-02-24)

* fix(nix): remove obsidian override fix

This fix has been resolved so do not require the workaround anymore.

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
EdenEast and github-actions[bot] authored Feb 25, 2024
1 parent 9492807 commit fb41714
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 30 deletions.
42 changes: 21 additions & 21 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 1 addition & 9 deletions home/modules/app/obsidian.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,13 @@
with lib;
let
cfg = config.nyx.modules.app.obsidian;
obsidian = lib.throwIf (lib.versionOlder "1.4.16" pkgs.obsidian.version) "Obsidian no longer requires EOL Electron" (
pkgs.obsidian.override {
electron = pkgs.electron_25.overrideAttrs (_: {
preFixup = "patchelf --add-needed ${pkgs.libglvnd}/lib/libEGL.so.1 $out/bin/electron"; # NixOS/nixpkgs#272912
meta.knownVulnerabilities = [ ]; # NixOS/nixpkgs#273611
});
}
);
in
{
options.nyx.modules.app.obsidian = {
enable = mkEnableOption "Note taking application";
};

config = mkIf cfg.enable {
home.packages = [ obsidian ];
home.packages = with pkgs; [ obsidian ];
};
}

0 comments on commit fb41714

Please sign in to comment.