Add obsidian to thinkpad

This commit is contained in:
Yan Lin 2025-09-13 12:05:48 +02:00
parent edbc764b96
commit 5a89fb2ba7
3 changed files with 6 additions and 1 deletions

View file

@ -1,6 +1,9 @@
{ config, pkgs, firefox-addons, plasma-manager, ... }: { config, pkgs, firefox-addons, plasma-manager, ... }:
{ {
# Allow unfree packages in home-manager
nixpkgs.config.allowUnfree = true;
# Import the common NixOS home configuration # Import the common NixOS home configuration
imports = [ imports = [
../home-default.nix ../home-default.nix
@ -25,5 +28,6 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
texlive.combined.scheme-full texlive.combined.scheme-full
keepassxc keepassxc
obsidian
]; ];
} }

View file

@ -291,7 +291,7 @@
# Enable experimental features # Enable experimental features
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
# Allow unfree packages (needed for NVIDIA drivers) # Allow unfree packages (needed for NVIDIA drivers and Obsidian)
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
# Laptop-specific services # Laptop-specific services

View file

@ -61,6 +61,7 @@
launchers = [ launchers = [
"applications:org.kde.dolphin.desktop" "applications:org.kde.dolphin.desktop"
"applications:firefox.desktop" "applications:firefox.desktop"
"applications:obsidian.desktop"
"applications:org.kde.konsole.desktop" "applications:org.kde.konsole.desktop"
"applications:org.keepassxc.KeePassXC.desktop" "applications:org.keepassxc.KeePassXC.desktop"
]; ];