mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-05-31 06:57:00 +02:00
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
|
./dev.nix
|
||||||
./gui.nix
|
./gui.nix
|
||||||
./iamb.nix
|
./iamb.nix
|
||||||
./obsidian.nix
|
|
||||||
./rar.nix
|
./rar.nix
|
||||||
./srb2.nix
|
./srb2.nix
|
||||||
./wine.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…
x
Reference in New Issue
Block a user