mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-25 22:35:03 +01:00
28 lines
774 B
Nix
28 lines
774 B
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
# TODO: if on wayland and scaling != 1, start obsidian with the following command.
|
|
# Sharp fonts.
|
|
# obsidian --enable-features=UseOzonePlatform --ozone-platform=x11
|
|
|
|
# This `config` is only for "stable" `nixpkgs`, not for "unstable".
|
|
# See nur-and-unstable.nix for how to configure "unstable" `nixpkgs`.
|
|
# nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
|
# "obsidian"
|
|
# ];
|
|
|
|
users.users.yoda = {
|
|
packages = with pkgs; [
|
|
unstable.obsidian # Markdown notes
|
|
];
|
|
};
|
|
|
|
programs.dconf.enable = true;
|
|
home-manager.users.yoda = { osConfig, config, pkgs, lib, ... }: {
|
|
dconf.settings = {
|
|
"org/gnome/shell" = {
|
|
favorite-apps = ["obsidian.desktop"];
|
|
};
|
|
};
|
|
};
|
|
}
|