This commit is contained in:
Daniel Langbein 2024-02-04 14:52:59 +01:00
parent 8aa4fb89b4
commit 8a6c974336
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
4 changed files with 10 additions and 9 deletions

View File

@ -6,6 +6,7 @@
# Nextcloud sync client # Nextcloud sync client
nextcloud-client nextcloud-client
# Python bindings for Nautilus (GNOME Files) extension API. # Python bindings for Nautilus (GNOME Files) extension API.
# TODO: If GNOME nautilus is installed
gnome.nautilus-python gnome.nautilus-python
]; ];
} }

View File

@ -6,22 +6,22 @@
# export LD_LIBRARY_PATH=$(nix --extra-experimental-features nix-command --extra-experimental-features flakes build --print-out-paths --no-link nixpkgs#libGL)/lib # export LD_LIBRARY_PATH=$(nix --extra-experimental-features nix-command --extra-experimental-features flakes build --print-out-paths --no-link nixpkgs#libGL)/lib
# obsidian # obsidian
# 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". # This `config` is only for "stable" `nixpkgs`, not for "unstable".
# See nur-and-unstable.nix # See nur-and-unstable.nix for how to configure "unstable" `nixpkgs`.
# nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ # nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
# "obsidian" # "obsidian"
# ]; # ];
# TODO go back to stable nixpkgs. # TODO go back to stable nixpkgs.
# As of 01.01.2024, obsidian did not start on Wayland and it is using an insecure Electron version. # - As of 2024-01-01, obsidian did not start on Wayland
# Thus, we are currently running it from unstable. # - As of 2024-02-03, obsidian is using an insecure Electron version.
users.users.yoda = { users.users.yoda = {
packages = with pkgs; [ packages = with pkgs; [
unstable.obsidian # Markdown notes unstable.obsidian # Markdown notes
]; ];
}; };
# TODO: if on wayland and scaling != 1
# Sharp fonts.
# obsidian --enable-features=UseOzonePlatform --ozone-platform=x11
} }

View File

@ -9,8 +9,7 @@
# Signal does also use the NIXOS_OZONE_WL variable to enable Wayland support. # Signal does also use the NIXOS_OZONE_WL variable to enable Wayland support.
environment.sessionVariables.NIXOS_OZONE_WL = lib.mkIf (config.services.xserver.displayManager.gdm.wayland) "1"; environment.sessionVariables.NIXOS_OZONE_WL = lib.mkIf (config.services.xserver.displayManager.gdm.wayland) "1";
# TODO: if on wayland and scaling != 1 # Sharp fonts if scaling != 1
# Sharp fonts.
nixpkgs.overlays = lib.mkIf (config.services.xserver.displayManager.gdm.wayland) [ nixpkgs.overlays = lib.mkIf (config.services.xserver.displayManager.gdm.wayland) [
(self: super: { (self: super: {
signal-desktop = super.signal-desktop.overrideAttrs (old: { signal-desktop = super.signal-desktop.overrideAttrs (old: {

View File

@ -35,6 +35,7 @@
# However, it does still not work properly: It does not detect my folders and the sync status. # However, it does still not work properly: It does not detect my folders and the sync status.
# But this is still better than nothing ^^ # But this is still better than nothing ^^
# TODO: Desktop entry from postmarketOS/droidian to start syncthing user service
programs.dconf.enable = true; programs.dconf.enable = true;
home-manager.users.yoda = { osConfig, config, pkgs, ... }: { home-manager.users.yoda = { osConfig, config, pkgs, ... }: {