From b68586cd0b39e590efba6a5e71651fb5e1e02f5c Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Fri, 18 Oct 2024 13:23:42 +0200 Subject: t14: 88 current 2024-10-18 13:23:35 24.05.20241004.6e6b3dd 6.6.54 * --- modules/obsidian-livesync.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/obsidian-livesync.nix b/modules/obsidian-livesync.nix index 5841202..3925bd2 100644 --- a/modules/obsidian-livesync.nix +++ b/modules/obsidian-livesync.nix @@ -81,14 +81,14 @@ in proxy_set_header X-Real-IP "$remote_addr"; proxy_set_header X-Forwarded-For "$proxy_add_x_forwarded_for"; proxy_set_header X-Forwarded-Proto "$scheme"; - add_header Access-Control-Allow-Origin "app://obsidian.md"; + # add_header Access-Control-Allow-Origin "app://obsidian.md"; add_header Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS"; add_header Access-Control-Allow-Headers "Content-Type, Authorization"; add_header Access-Control-Allow-Credentials "true"; add_header Access-Control-Max-Age 86400; if ($request_method = OPTIONS) { - add_header Access-Control-Allow-Origin "app://obsidian.md"; + # add_header Access-Control-Allow-Origin "app://obsidian.md"; add_header Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS"; add_header Access-Control-Allow-Headers "Content-Type, Authorization"; add_header Access-Control-Allow-Credentials "true"; -- cgit 1.4.1 From 9e8d32d00f2c1d96a21367e2a042c1d7bd5f4923 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Wed, 23 Oct 2024 23:32:33 +0200 Subject: t14: 91 current 2024-10-23 23:32:28 24.05.20241004.6e6b3dd 6.6.54 * --- modules/gnome.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/gnome.nix b/modules/gnome.nix index f625534..7e2f843 100644 --- a/modules/gnome.nix +++ b/modules/gnome.nix @@ -115,7 +115,7 @@ in gnome.gnome-boxes gnome.file-roller gnomeExtensions.hibernate-status-button - brave + #brave #specified in home.nix newsflash spotify fragments -- cgit 1.4.1 From 3013c17932789b09e927c6fd560b304e94678cf9 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Wed, 23 Oct 2024 23:41:18 +0200 Subject: t14: 92 current 2024-10-23 23:41:12 24.05.20241004.6e6b3dd 6.6.54 * --- modules/gnome.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules') diff --git a/modules/gnome.nix b/modules/gnome.nix index 7e2f843..68d3a31 100644 --- a/modules/gnome.nix +++ b/modules/gnome.nix @@ -116,6 +116,12 @@ in gnome.file-roller gnomeExtensions.hibernate-status-button #brave #specified in home.nix + (pkgs.brave.overrideAttrs (oldAttrs: { + commandLineArgs = [ + "--profile-directory=$HOME/.config/BraveSoftware/Brave-Browser/Default" + ]; + })) + newsflash spotify fragments -- cgit 1.4.1 From aa863bedca8a763618d06ce203bab20d9484a9eb Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Wed, 23 Oct 2024 23:50:16 +0200 Subject: t14: 93 current 2024-10-23 23:50:11 24.05.20241004.6e6b3dd 6.6.54 * --- modules/gnome.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/gnome.nix b/modules/gnome.nix index 68d3a31..0c45130 100644 --- a/modules/gnome.nix +++ b/modules/gnome.nix @@ -117,9 +117,10 @@ in gnomeExtensions.hibernate-status-button #brave #specified in home.nix (pkgs.brave.overrideAttrs (oldAttrs: { - commandLineArgs = [ - "--profile-directory=$HOME/.config/BraveSoftware/Brave-Browser/Default" - ]; + installPhase = oldAttrs.installPhase + '' + substituteInPlace $out/share/applications/brave-browser.desktop \ + --replace %U "%U --profile-directory=$HOME/.config/BraveSoftware/Brave-Browser/Default" + ''; })) newsflash -- cgit 1.4.1 From ffc0d4df3ce30b64d1ff0fdbe45847135bbdb91b Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Wed, 23 Oct 2024 23:52:12 +0200 Subject: t14: 94 current 2024-10-23 23:52:06 24.05.20241004.6e6b3dd 6.6.54 * --- modules/gnome.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/gnome.nix b/modules/gnome.nix index 0c45130..5488d29 100644 --- a/modules/gnome.nix +++ b/modules/gnome.nix @@ -119,7 +119,7 @@ in (pkgs.brave.overrideAttrs (oldAttrs: { installPhase = oldAttrs.installPhase + '' substituteInPlace $out/share/applications/brave-browser.desktop \ - --replace %U "%U --profile-directory=$HOME/.config/BraveSoftware/Brave-Browser/Default" + --replace %U "%U --profile-directory=/home/pn/.config/BraveSoftware/Brave-Browser/Default" ''; })) -- cgit 1.4.1 From 82bf4521600ed33d3266896c65e6d01f62c23f33 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Wed, 23 Oct 2024 23:58:52 +0200 Subject: t14: 95 current 2024-10-23 23:58:47 24.05.20241004.6e6b3dd 6.6.54 * --- modules/gnome.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/gnome.nix b/modules/gnome.nix index 5488d29..ba4014c 100644 --- a/modules/gnome.nix +++ b/modules/gnome.nix @@ -119,7 +119,7 @@ in (pkgs.brave.overrideAttrs (oldAttrs: { installPhase = oldAttrs.installPhase + '' substituteInPlace $out/share/applications/brave-browser.desktop \ - --replace %U "%U --profile-directory=/home/pn/.config/BraveSoftware/Brave-Browser/Default" + --replace %U "--profile-directory=Default %U" ''; })) -- cgit 1.4.1 From cd22698c52f3b93f014710fa6396ccae9870fb4f Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Thu, 24 Oct 2024 08:36:07 +0200 Subject: t14: 97 current 2024-10-24 08:36:02 24.05.20241004.6e6b3dd 6.6.54 * --- machines/base.nix | 2 +- machines/t14/default.nix | 1 + modules/appset-dev.nix | 10 ++++++++++ 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 modules/appset-dev.nix (limited to 'modules') diff --git a/machines/base.nix b/machines/base.nix index a00f178..306fcaf 100755 --- a/machines/base.nix +++ b/machines/base.nix @@ -14,7 +14,7 @@ environment.systemPackages = with pkgs; [ wget vim curl htop file stdenv git zip unzip - dnsutils ripgrep jq + dnsutils ripgrep any-nix-shell fd fzf translate-shell ]; diff --git a/machines/t14/default.nix b/machines/t14/default.nix index 9dc4265..d2a41a8 100644 --- a/machines/t14/default.nix +++ b/machines/t14/default.nix @@ -7,6 +7,7 @@ ../x220-gnome/pass.nix ./hardware-configuration.nix ../x220-gnome/pn.nix + ../../modules/appset-dev.nix ]; # Enable networking diff --git a/modules/appset-dev.nix b/modules/appset-dev.nix new file mode 100644 index 0000000..1682e45 --- /dev/null +++ b/modules/appset-dev.nix @@ -0,0 +1,10 @@ +{ pkgs, ... }: +{ + environment.systemPackages = with pkgs; [ + vscode + vim + jq + python3 + nodejs + ]; +} -- cgit 1.4.1