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:
parent
a982615430
commit
971dbec0f9
@ -3,7 +3,6 @@
|
||||
./dev.nix
|
||||
./gui.nix
|
||||
./iamb.nix
|
||||
./obsidian.nix
|
||||
./rar.nix
|
||||
./srb2.nix
|
||||
./wine.nix
|
||||
|
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user