From d7da55f2c101e6743e1c62f2bc460b56a66e08c3 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Sun, 4 Feb 2024 15:07:37 +0100 Subject: [PATCH] autostart and gnome dock --- modules/autostart.nix | 16 ++++++++-------- modules/obsidian.nix | 9 +++++++++ 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/modules/autostart.nix b/modules/autostart.nix index 5b3253e..7f27ad9 100644 --- a/modules/autostart.nix +++ b/modules/autostart.nix @@ -22,19 +22,19 @@ source = (pkgs.signal-desktop + "/share/applications/signal-desktop.desktop"); }; - home.file."thunderbird" = lib.mkIf (osConfig.networking.hostName == "yodaTux") { - target = ".config/autostart/thunderbird.desktop"; - source = (pkgs.thunderbird + "/share/applications/thunderbird.desktop"); - }; +# home.file."thunderbird" = lib.mkIf (osConfig.networking.hostName == "yodaTux") { +# target = ".config/autostart/thunderbird.desktop"; +# source = (pkgs.thunderbird + "/share/applications/thunderbird.desktop"); +# }; home.file."org.gnome.Solanum" = { target = ".config/autostart/org.gnome.Solanum.desktop"; source = (pkgs.gnome-solanum + "/share/applications/org.gnome.Solanum.desktop"); }; - home.file."org.gnome.Fractal" = lib.mkIf (osConfig.networking.hostName == "yodaTux") { - target = ".config/autostart/org.gnome.Fractal.desktop"; - source = (pkgs.fractal + "/share/applications/org.gnome.Fractal.desktop"); - }; +# home.file."org.gnome.Fractal" = lib.mkIf (osConfig.networking.hostName == "yodaTux") { +# target = ".config/autostart/org.gnome.Fractal.desktop"; +# source = (pkgs.fractal + "/share/applications/org.gnome.Fractal.desktop"); +# }; }; } diff --git a/modules/obsidian.nix b/modules/obsidian.nix index 431f944..b3dba97 100644 --- a/modules/obsidian.nix +++ b/modules/obsidian.nix @@ -24,4 +24,13 @@ 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"]; + }; + }; + }; }