Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
00475b637b | ||
|
|
cae7c4cbcf | ||
|
|
935b3022e2 | ||
|
|
5d4f43c5f8 | ||
|
|
6ee912e39f |
No files matched your search
@@ -21,6 +21,7 @@ in
|
|||||||
auto_sync = true;
|
auto_sync = true;
|
||||||
sync_frequency = "5m";
|
sync_frequency = "5m";
|
||||||
key_path = config.age.secrets."atuin-key".path;
|
key_path = config.age.secrets."atuin-key".path;
|
||||||
|
ctrl_n_shortcuts = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -47,6 +47,19 @@ let
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Links opened from work checkouts (e.g. `gcloud auth login` in a work
|
||||||
|
# devshell, which ships its own `gcloud`, or `gt`) go to the work profile.
|
||||||
|
# Used both as `$BROWSER` and as the default handler for `xdg-open`.
|
||||||
|
browser = pkgs.writeShellApplication {
|
||||||
|
name = "browser";
|
||||||
|
text = ''
|
||||||
|
case "$PWD/" in
|
||||||
|
"$HOME/code/work/"*) exec ${ff-work}/bin/ff-work "$@" ;;
|
||||||
|
*) exec ${ff-alex}/bin/ff-alex "$@" ;;
|
||||||
|
esac
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
sharedSettings = {
|
sharedSettings = {
|
||||||
"general.smoothScroll" = true;
|
"general.smoothScroll" = true;
|
||||||
"apz.gtk.kinetic_scroll.enabled" = false;
|
"apz.gtk.kinetic_scroll.enabled" = false;
|
||||||
@@ -81,6 +94,7 @@ in
|
|||||||
|
|
||||||
settings = sharedSettings // {
|
settings = sharedSettings // {
|
||||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||||
|
"network.lna.skip-domains" = "music-admin-staging.soundtr.ac,api-internal.apps-us.platform.staging.internal.syb.sh";
|
||||||
};
|
};
|
||||||
|
|
||||||
userChrome = ''
|
userChrome = ''
|
||||||
@@ -100,21 +114,27 @@ in
|
|||||||
exec = "${ff-alex}/bin/ff-alex %U";
|
exec = "${ff-alex}/bin/ff-alex %U";
|
||||||
terminal = false;
|
terminal = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
browser = {
|
||||||
|
name = "browser";
|
||||||
|
exec = "${browser}/bin/browser %U";
|
||||||
|
terminal = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
mimeApps = {
|
mimeApps = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
defaultApplications = {
|
defaultApplications = {
|
||||||
"text/html" = "ff-alex.desktop";
|
"text/html" = "browser.desktop";
|
||||||
"x-scheme-handler/http" = "ff-alex.desktop";
|
"x-scheme-handler/http" = "browser.desktop";
|
||||||
"x-scheme-handler/https" = "ff-alex.desktop";
|
"x-scheme-handler/https" = "browser.desktop";
|
||||||
"application/x-exension-htm" = "ff-alex.desktop";
|
"application/x-exension-htm" = "browser.desktop";
|
||||||
"application/x-exension-html" = "ff-alex.desktop";
|
"application/x-exension-html" = "browser.desktop";
|
||||||
"application/x-exension-shtml" = "ff-alex.desktop";
|
"application/x-exension-shtml" = "browser.desktop";
|
||||||
"application/xhtml+xml" = "ff-alex.desktop";
|
"application/xhtml+xml" = "browser.desktop";
|
||||||
"application/x-exension-xhtml" = "ff-alex.desktop";
|
"application/x-exension-xhtml" = "browser.desktop";
|
||||||
"application/x-exension-xht" = "ff-alex.desktop";
|
"application/x-exension-xht" = "browser.desktop";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -131,6 +151,6 @@ in
|
|||||||
|
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
MOZ_ENABLE_WAYLAND = 1;
|
MOZ_ENABLE_WAYLAND = 1;
|
||||||
BROWSER = "${ff-alex}/bin/ff-alex $@";
|
BROWSER = "${browser}/bin/browser";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
{ ... }:
|
{ config, lib, ... }:
|
||||||
{
|
{
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
(final: prev: {
|
(final: prev: {
|
||||||
@@ -11,7 +11,8 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
gst_all_1 = prev.gst_all_1 // {
|
gst_all_1 = prev.gst_all_1 // {
|
||||||
icamerasrc-ipu6epmtl = (prev.gst_all_1.icamerasrc-ipu6epmtl.override {
|
icamerasrc-ipu6epmtl =
|
||||||
|
(prev.gst_all_1.icamerasrc-ipu6epmtl.override {
|
||||||
ipu6-camera-hal = final.ipu6epmtl-camera-hal;
|
ipu6-camera-hal = final.ipu6epmtl-camera-hal;
|
||||||
}).overrideAttrs
|
}).overrideAttrs
|
||||||
(old: {
|
(old: {
|
||||||
@@ -31,4 +32,14 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
platform = "ipu6epmtl";
|
platform = "ipu6epmtl";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.v4l2-relayd-ipu6 = {
|
||||||
|
preStart = lib.mkOverride 40 ''
|
||||||
|
mkdir -p "$(dirname "$V4L2_DEVICE_FILE")"
|
||||||
|
${config.boot.kernelPackages.v4l2loopback.bin}/bin/v4l2loopback-ctl \
|
||||||
|
add --name "Intel MIPI Camera" --exclusive-caps=1 --buffers 8 \
|
||||||
|
${toString config.hardware.ipu6.videoDeviceNumber} || [ $? -eq 17 ]
|
||||||
|
echo /dev/video${toString config.hardware.ipu6.videoDeviceNumber} > "$V4L2_DEVICE_FILE"
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
@@ -9,18 +9,6 @@ let
|
|||||||
gitEnabled = config.mod.git.enable;
|
gitEnabled = config.mod.git.enable;
|
||||||
goEnabled = config.mod.go.enable;
|
goEnabled = config.mod.go.enable;
|
||||||
openvpnEnabled = config.mod.openvpn.enable;
|
openvpnEnabled = config.mod.openvpn.enable;
|
||||||
|
|
||||||
xdg-open-work = pkgs.writeShellScriptBin "xdg-open" ''
|
|
||||||
exec ff-work "$@"
|
|
||||||
'';
|
|
||||||
graphite-cli = pkgs.symlinkJoin {
|
|
||||||
name = "graphite-cli";
|
|
||||||
paths = [ pkgs.graphite-cli ];
|
|
||||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
|
||||||
postBuild = ''
|
|
||||||
wrapProgram $out/bin/gt --prefix PATH : ${xdg-open-work}/bin
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home-manager.users.alex = {
|
home-manager.users.alex = {
|
||||||
@@ -89,7 +77,7 @@ EOF
|
|||||||
pkgs.google-cloud-sdk.components.gke-gcloud-auth-plugin
|
pkgs.google-cloud-sdk.components.gke-gcloud-auth-plugin
|
||||||
])
|
])
|
||||||
|
|
||||||
graphite-cli
|
pkgs.graphite-cli
|
||||||
|
|
||||||
pkgs.postman
|
pkgs.postman
|
||||||
pkgs.grpcurl
|
pkgs.grpcurl
|
||||||
|
|||||||
Reference in new issue
Block a user