mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-24 00:18:59 +00:00
users/foo-dogsquared: update program setup
Some checks are pending
Build devcontainers / build-devcontainers (push) Waiting to run
Cache outputs / build-custom-packages (push) Waiting to run
Check flake outputs / check-outputs (push) Waiting to run
Publish every Git push to master to FlakeHub / flakehub-publish (push) Waiting to run
Build personalized bootstrap ISO / build-iso (x86_64-linux) (push) Waiting to run
Build project site / build (push) Waiting to run
Build project site / deploy (push) Blocked by required conditions
Some checks are pending
Build devcontainers / build-devcontainers (push) Waiting to run
Cache outputs / build-custom-packages (push) Waiting to run
Check flake outputs / check-outputs (push) Waiting to run
Publish every Git push to master to FlakeHub / flakehub-publish (push) Waiting to run
Build personalized bootstrap ISO / build-iso (x86_64-linux) (push) Waiting to run
Build project site / build (push) Waiting to run
Build project site / deploy (push) Blocked by required conditions
This commit is contained in:
parent
0ce654bdd9
commit
bea88da62b
@ -91,7 +91,8 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
profiles.personal = {
|
||||
profiles.personal = lib.mkMerge [
|
||||
{
|
||||
isDefault = true;
|
||||
|
||||
extensions = with pkgs.nur.repos.rycee.firefox-addons;
|
||||
@ -119,7 +120,6 @@ in {
|
||||
regretsreporter
|
||||
simple-translate
|
||||
sourcegraph-for-firefox
|
||||
tineye-reverse-image-search
|
||||
updateswh
|
||||
zhongwen
|
||||
open-access-helper
|
||||
@ -130,16 +130,14 @@ in {
|
||||
# Much of the settings are affected by the policies set in the
|
||||
# package. See more information about them in
|
||||
# https://mozilla.github.io/policy-templates/.
|
||||
settings = {
|
||||
settings = lib.mkMerge [
|
||||
{
|
||||
# Disable the UI tour.
|
||||
"browser.uitour.enabled" = false;
|
||||
|
||||
# Some quality of lifes.
|
||||
"browser.search.widget.inNavBar" = true;
|
||||
"browser.search.openintab" = true;
|
||||
"browser.startup.homepage" =
|
||||
lib.mkIf userCfg.programs.custom-homepage.enable
|
||||
"file://${config.xdg.dataHome}/foodogsquared/homepage";
|
||||
|
||||
# Some privacy settings...
|
||||
"privacy.donottrackheader.enabled" = true;
|
||||
@ -156,7 +154,12 @@ in {
|
||||
"dom.security.https_first_pbm" = true;
|
||||
|
||||
"privacy.firstparty.isolate" = true;
|
||||
};
|
||||
}
|
||||
|
||||
(lib.mkIf userCfg.programs.custom-homepage.enable {
|
||||
"browser.startup.homepage" = "file://${config.xdg.dataHome}/foodogsquared/homepage";
|
||||
})
|
||||
];
|
||||
|
||||
search = {
|
||||
default = "Brave";
|
||||
@ -208,7 +211,30 @@ in {
|
||||
"Google".metaData.alias = "@g";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
(lib.mkIf userCfg.programs.doom-emacs.enable {
|
||||
settings."network.protocol-handler.expose.org-protocol" = true;
|
||||
|
||||
bookmarks = [
|
||||
{
|
||||
name = "Refer to org-roam node";
|
||||
tags = [ "org-roam" ];
|
||||
|
||||
# Formatted like this for ease of modifying.
|
||||
url = lib.concatStrings [
|
||||
"javascript:location.href="
|
||||
"'org-protocol://roam-ref?template=r&ref='"
|
||||
"+encodeURIComponent(location.href)"
|
||||
"+'&title='"
|
||||
"+encodeURIComponent(document.title)"
|
||||
"+'&body='"
|
||||
"+encodeURIComponent(window.getSelection())"
|
||||
];
|
||||
}
|
||||
];
|
||||
})
|
||||
];
|
||||
|
||||
profiles.guest = {
|
||||
search.default = "Google";
|
||||
@ -224,7 +250,9 @@ in {
|
||||
|
||||
(pkgs.writeTextFile {
|
||||
name = "tridactyl-nix-generated";
|
||||
text = ''
|
||||
text =
|
||||
lib.optionalString userCfg.programs.custom-homepage.enable ''
|
||||
bind gT tabopen file://${config.xdg.dataHome}/foodogsquared/homepage/index.html
|
||||
set newtab file://${config.xdg.dataHome}/foodogsquared/homepage/index.html
|
||||
''
|
||||
+ lib.optionalString attrs.nixosConfig.services.miniflux.enable ''
|
||||
|
@ -58,13 +58,12 @@ in {
|
||||
# :lang org +roam2
|
||||
texlive.combined.scheme-medium
|
||||
sqlite
|
||||
#anystyle-cli
|
||||
];
|
||||
|
||||
programs.python = {
|
||||
enable = true;
|
||||
package = pkgs.python3;
|
||||
modules = ps: with ps; [ jupyter jupyter-book ];
|
||||
modules = ps: with ps; [ jupyter ];
|
||||
};
|
||||
|
||||
# Enable Emacs server for them quicknotes.
|
||||
@ -75,10 +74,12 @@ in {
|
||||
|
||||
# Add org-protocol support.
|
||||
xdg.desktopEntries.org-protocol = {
|
||||
name = "Org protocol";
|
||||
exec = "emacsclient %u";
|
||||
icon = "emacs";
|
||||
name = "org-protocol";
|
||||
exec = "emacsclient -- %u";
|
||||
mimeType = [ "x-scheme-handler/org-protocol" ];
|
||||
terminal = false;
|
||||
comment = "Intercept calls from emacsclient to trigger custom actions";
|
||||
noDisplay = true;
|
||||
};
|
||||
|
||||
xdg.mimeApps.defaultApplications = {
|
||||
|
@ -14,11 +14,8 @@ in {
|
||||
programs.nushell = {
|
||||
enable = true;
|
||||
plugins = with pkgs.nushellPlugins; [
|
||||
dbus
|
||||
query
|
||||
skim
|
||||
polars
|
||||
units
|
||||
formats
|
||||
highlight
|
||||
];
|
||||
|
@ -32,7 +32,9 @@ in {
|
||||
alefragnani.project-manager
|
||||
fill-labs.dependi
|
||||
] ++ lib.optionals userCfg.programs.browsers.firefox.enable
|
||||
[ firefox-devtools.vscode-firefox-debug ];
|
||||
[ firefox-devtools.vscode-firefox-debug ]
|
||||
++ lib.optionals config.programs.python.enable
|
||||
[ ms-toolsai.jupyter ms-toolsai.jupyter-renderers ];
|
||||
|
||||
userSettings = { "extensions.ignoreRecommendations" = true; };
|
||||
};
|
||||
|
@ -149,7 +149,7 @@ in {
|
||||
home.packages = with pkgs; [
|
||||
supercollider-with-plugins
|
||||
processing
|
||||
#(puredata-with-plugins (with pkgs; [ zexy cyclone ]))
|
||||
(puredata-with-plugins (with pkgs; [ zexy ]))
|
||||
];
|
||||
})
|
||||
]);
|
||||
|
Loading…
Reference in New Issue
Block a user