1
0
forked from extern/nix-config

containers: Remove obsidian

After using Logseq for a few months, using Obsidian for just a little
bit is quite repulsive. Taking notes that aren't in outliner form feels
alien and not worth it for me personally.
This commit is contained in:
Donovan Glover 2023-07-02 17:38:25 -04:00
parent a982615430
commit 971dbec0f9
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 0 additions and 43 deletions

View File

@ -3,7 +3,6 @@
./dev.nix
./gui.nix
./iamb.nix
./obsidian.nix
./rar.nix
./srb2.nix
./wine.nix

View File

@ -1,42 +0,0 @@
{ home-manager, stylix, lib, ... }:
{
containers.obsidian = {
privateNetwork = true;
ephemeral = true;
bindMounts = {
"/mnt" = {
hostPath = "/home/user/containers/obsidian";
isReadOnly = false;
};
waylandDisplay = rec {
hostPath = "/run/user/1000";
mountPoint = hostPath;
};
x11Display = rec {
hostPath = "/tmp/.X11-unix";
mountPoint = hostPath;
isReadOnly = true;
};
};
config = { pkgs, ... }: {
imports = [
home-manager.nixosModules.home-manager
stylix.nixosModules.stylix
../setup.nix
];
environment.systemPackages = with pkgs; [
obsidian
];
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"obsidian"
];
};
};
}