mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: work QOL changes
This commit is contained in:
parent
02c1f57b4a
commit
cc1ffd103b
8 changed files with 307 additions and 247 deletions
|
|
@ -1869,13 +1869,23 @@ My work machine. Built for more security, this is the gold standard of my config
|
||||||
# ------ -----
|
# ------ -----
|
||||||
# | DP-4 | |eDP-1|
|
# | DP-4 | |eDP-1|
|
||||||
# ------ -----
|
# ------ -----
|
||||||
|
startup = [
|
||||||
|
{ command = "nextcloud --background"; }
|
||||||
|
{ command = "vesktop --start-minimized --enable-speech-dispatcher --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime"; }
|
||||||
|
{ command = "element-desktop --hidden --enable-features=UseOzonePlatform --ozone-platform=wayland --disable-gpu-driver-bug-workarounds"; }
|
||||||
|
{ command = "ANKI_WAYLAND=1 anki"; }
|
||||||
|
{ command = "OBSIDIAN_USE_WAYLAND=1 obsidian"; }
|
||||||
|
{ command = "nm-applet"; }
|
||||||
|
{ command = "teams-for-linux"; }
|
||||||
|
{ command = "1password"; }
|
||||||
|
];
|
||||||
monitors = {
|
monitors = {
|
||||||
main = {
|
main = {
|
||||||
name = "BOE 0x0BC9 Unknown";
|
name = "BOE 0x0BC9 Unknown";
|
||||||
mode = "2560x1600"; # TEMPLATE
|
mode = "2560x1600"; # TEMPLATE
|
||||||
scale = "1";
|
scale = "1";
|
||||||
position = "2560,0";
|
position = "2560,0";
|
||||||
workspace = "2:二";
|
workspace = "10:十";
|
||||||
output = "eDP-2";
|
output = "eDP-2";
|
||||||
};
|
};
|
||||||
homedesktop = {
|
homedesktop = {
|
||||||
|
|
@ -1910,6 +1920,14 @@ My work machine. Built for more security, this is the gold standard of my config
|
||||||
workspace = "1:一";
|
workspace = "1:一";
|
||||||
output = "DP-3";
|
output = "DP-3";
|
||||||
};
|
};
|
||||||
|
work_middle_middle = {
|
||||||
|
name = "HP Inc. HP 732pk CNC4080YL5";
|
||||||
|
mode = "3840x2160";
|
||||||
|
scale = "1";
|
||||||
|
position = "5120,0";
|
||||||
|
workspace = "1:一";
|
||||||
|
output = "DP-9";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
inputs = {
|
inputs = {
|
||||||
"12972:18:Framework_Laptop_16_Keyboard_Module_-_ANSI_Keyboard" = {
|
"12972:18:Framework_Laptop_16_Keyboard_Module_-_ANSI_Keyboard" = {
|
||||||
|
|
@ -1930,6 +1948,10 @@ My work machine. Built for more security, this is the gold standard of my config
|
||||||
xkb_layout = "us";
|
xkb_layout = "us";
|
||||||
xkb_variant = "altgr-intl";
|
xkb_variant = "altgr-intl";
|
||||||
};
|
};
|
||||||
|
"1133:45944:MX_KEYS_S" = {
|
||||||
|
xkb_layout = "us";
|
||||||
|
xkb_variant = "altgr-intl";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
keybindings = {
|
keybindings = {
|
||||||
"Mod4+Ctrl+p" = "exec wl-mirror eDP-2";
|
"Mod4+Ctrl+p" = "exec wl-mirror eDP-2";
|
||||||
|
|
@ -4324,7 +4346,7 @@ This utility checks if there are updated packages in nixpkgs-unstable. It does s
|
||||||
|
|
||||||
#+begin_src shell :tangle scripts/update-checker.sh
|
#+begin_src shell :tangle scripts/update-checker.sh
|
||||||
|
|
||||||
updates="$( { cd /home/swarsel/.dotfiles && nix flake update && nix build .#nixosConfigurations."$(eval hostname)".config.system.build.toplevel && nvd diff /run/current-system ./result | grep -c '\[U'; } || true)"
|
updates="$( { cd /home/swarsel/.dotfiles && nix flake lock --update-input nixpkgs && nix build .#nixosConfigurations."$(eval hostname)".config.system.build.toplevel && nvd diff /run/current-system ./result | grep -c '\[U'; } || true)"
|
||||||
|
|
||||||
alt="has-updates"
|
alt="has-updates"
|
||||||
if [[ $updates -eq 0 ]]; then
|
if [[ $updates -eq 0 ]]; then
|
||||||
|
|
@ -4932,6 +4954,10 @@ Also, the system state version is set here. No need to touch it.
|
||||||
nixPath = lib.mapAttrsToList (n: _: "${n}=flake:${n}") flakeInputs;
|
nixPath = lib.mapAttrsToList (n: _: "${n}=flake:${n}") flakeInputs;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
|
"jitsi-meet-1.0.8043"
|
||||||
|
];
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
|
|
@ -7668,7 +7694,7 @@ The rest of the related configuration is found here:
|
||||||
"custom/nix-updates" = {
|
"custom/nix-updates" = {
|
||||||
exec = "update-checker";
|
exec = "update-checker";
|
||||||
on-click = "update-checker && notify-send 'The system has been updated'";
|
on-click = "update-checker && notify-send 'The system has been updated'";
|
||||||
interval = 3600;
|
interval = "once";
|
||||||
tooltip = true;
|
tooltip = true;
|
||||||
return-type = "json";
|
return-type = "json";
|
||||||
format = "{} {icon}";
|
format = "{} {icon}";
|
||||||
|
|
@ -8256,6 +8282,7 @@ Currently, I am too lazy to explain every option here, but most of it is very se
|
||||||
};
|
};
|
||||||
assigns = {
|
assigns = {
|
||||||
"1:一" = [{ app_id = "firefox"; }];
|
"1:一" = [{ app_id = "firefox"; }];
|
||||||
|
"10:十" = [{ app_id = "teams-for-linux"; }];
|
||||||
};
|
};
|
||||||
floating = {
|
floating = {
|
||||||
border = 1;
|
border = 1;
|
||||||
|
|
@ -8512,24 +8539,27 @@ The rest of the settings is at [[#h:bbf2ecb6-c8ff-4462-b5d5-d45b28604ddf][work]]
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
teams-for-linux
|
teams-for-linux
|
||||||
google-chrome
|
google-chrome
|
||||||
thunderbird
|
shellcheck
|
||||||
ansible
|
|
||||||
dig
|
dig
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
matchBlocks = {
|
matchBlocks = {
|
||||||
"uc" = {
|
"uc" = {
|
||||||
host = "uc.clip.vbc.ac.at";
|
hostname = "uc.clip.vbc.ac.at";
|
||||||
user = "stack";
|
user = "stack";
|
||||||
};
|
};
|
||||||
"staging-uc" = {
|
"uc-stg" = {
|
||||||
host = "uc.staging.clip.vbc.ac.at";
|
hostname = "uc.staging.clip.vbc.ac.at";
|
||||||
user = "stack";
|
user = "stack";
|
||||||
};
|
};
|
||||||
"cbe" = {
|
"cbe" = {
|
||||||
host = "cbe.vbc.ac.at";
|
hostname = "cbe.vbc.ac.at";
|
||||||
user = "dc_adm_schwarzaeugl";
|
user = "dc_adm_schwarzaeugl";
|
||||||
|
};
|
||||||
|
"cbe-stg" = {
|
||||||
|
hostname = "cbe.staging.vbc.ac.at";
|
||||||
|
user = "dc_adm_schwarzaeugl";
|
||||||
};
|
};
|
||||||
"*.vbc.ac.at" = {
|
"*.vbc.ac.at" = {
|
||||||
user = "dc_adm_schwarzaeugl";
|
user = "dc_adm_schwarzaeugl";
|
||||||
|
|
@ -8541,15 +8571,15 @@ The rest of the settings is at [[#h:bbf2ecb6-c8ff-4462-b5d5-d45b28604ddf][work]]
|
||||||
profiles = {
|
profiles = {
|
||||||
dc_adm = {
|
dc_adm = {
|
||||||
id = 1;
|
id = 1;
|
||||||
<<firefoxprofile>>
|
# <<firefoxprofile>>
|
||||||
};
|
};
|
||||||
cl_adm = {
|
cl_adm = {
|
||||||
id = 2;
|
id = 2;
|
||||||
<<firefoxprofile>>
|
# <<firefoxprofile>>
|
||||||
};
|
};
|
||||||
ws_adm = {
|
ws_adm = {
|
||||||
id = 3;
|
id = 3;
|
||||||
<<firefoxprofile>>
|
# <<firefoxprofile>>
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -9354,7 +9384,7 @@ I also define some keybinds to some combinations directly. Those are used mostly
|
||||||
"ol" '((lambda () (interactive) (org-insert-link)) :which-key "insert link")
|
"ol" '((lambda () (interactive) (org-insert-link)) :which-key "insert link")
|
||||||
"os" '((lambda () (interactive) (org-store-link)) :which-key "store link")
|
"os" '((lambda () (interactive) (org-store-link)) :which-key "store link")
|
||||||
"od" '((lambda () (interactive) (org-babel-demarcate-block)) :which-key "demarcate (split) src-block")
|
"od" '((lambda () (interactive) (org-babel-demarcate-block)) :which-key "demarcate (split) src-block")
|
||||||
"on" '((lambda () (interactive) (nixpkgs-fmt)) :which-key "format nix-block")
|
"on" '((lambda () (interactive) (nixpkgs-fmt-region)) :which-key "format nix-block")
|
||||||
;; "c" '(:ignore c :which-key "capture")
|
;; "c" '(:ignore c :which-key "capture")
|
||||||
;; "cj" '((lambda () (interactive) (org-capture nil "jj")) :which-key "journal")
|
;; "cj" '((lambda () (interactive) (org-capture nil "jj")) :which-key "journal")
|
||||||
;; "cs" '(markdown-download-screenshot :which-key "screenshot")
|
;; "cs" '(markdown-download-screenshot :which-key "screenshot")
|
||||||
|
|
|
||||||
|
|
@ -132,6 +132,7 @@ in
|
||||||
};
|
};
|
||||||
assigns = {
|
assigns = {
|
||||||
"1:一" = [{ app_id = "firefox"; }];
|
"1:一" = [{ app_id = "firefox"; }];
|
||||||
|
"10:十" = [{ app_id = "teams-for-linux"; }];
|
||||||
};
|
};
|
||||||
floating = {
|
floating = {
|
||||||
border = 1;
|
border = 1;
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@
|
||||||
"custom/nix-updates" = {
|
"custom/nix-updates" = {
|
||||||
exec = "update-checker";
|
exec = "update-checker";
|
||||||
on-click = "update-checker && notify-send 'The system has been updated'";
|
on-click = "update-checker && notify-send 'The system has been updated'";
|
||||||
interval = 3600;
|
interval = "once";
|
||||||
tooltip = true;
|
tooltip = true;
|
||||||
return-type = "json";
|
return-type = "json";
|
||||||
format = "{} {icon}";
|
format = "{} {icon}";
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,10 @@
|
||||||
nixPath = lib.mapAttrsToList (n: _: "${n}=flake:${n}") flakeInputs;
|
nixPath = lib.mapAttrsToList (n: _: "${n}=flake:${n}") flakeInputs;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
|
"jitsi-meet-1.0.8043"
|
||||||
|
];
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
|
|
|
||||||
|
|
@ -82,13 +82,23 @@
|
||||||
# ------ -----
|
# ------ -----
|
||||||
# | DP-4 | |eDP-1|
|
# | DP-4 | |eDP-1|
|
||||||
# ------ -----
|
# ------ -----
|
||||||
|
startup = [
|
||||||
|
{ command = "nextcloud --background"; }
|
||||||
|
{ command = "vesktop --start-minimized --enable-speech-dispatcher --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime"; }
|
||||||
|
{ command = "element-desktop --hidden --enable-features=UseOzonePlatform --ozone-platform=wayland --disable-gpu-driver-bug-workarounds"; }
|
||||||
|
{ command = "ANKI_WAYLAND=1 anki"; }
|
||||||
|
{ command = "OBSIDIAN_USE_WAYLAND=1 obsidian"; }
|
||||||
|
{ command = "nm-applet"; }
|
||||||
|
{ command = "teams-for-linux"; }
|
||||||
|
{ command = "1password"; }
|
||||||
|
];
|
||||||
monitors = {
|
monitors = {
|
||||||
main = {
|
main = {
|
||||||
name = "BOE 0x0BC9 Unknown";
|
name = "BOE 0x0BC9 Unknown";
|
||||||
mode = "2560x1600"; # TEMPLATE
|
mode = "2560x1600"; # TEMPLATE
|
||||||
scale = "1";
|
scale = "1";
|
||||||
position = "2560,0";
|
position = "2560,0";
|
||||||
workspace = "2:二";
|
workspace = "10:十";
|
||||||
output = "eDP-2";
|
output = "eDP-2";
|
||||||
};
|
};
|
||||||
homedesktop = {
|
homedesktop = {
|
||||||
|
|
@ -123,6 +133,14 @@
|
||||||
workspace = "1:一";
|
workspace = "1:一";
|
||||||
output = "DP-3";
|
output = "DP-3";
|
||||||
};
|
};
|
||||||
|
work_middle_middle = {
|
||||||
|
name = "HP Inc. HP 732pk CNC4080YL5";
|
||||||
|
mode = "3840x2160";
|
||||||
|
scale = "1";
|
||||||
|
position = "5120,0";
|
||||||
|
workspace = "1:一";
|
||||||
|
output = "DP-9";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
inputs = {
|
inputs = {
|
||||||
"12972:18:Framework_Laptop_16_Keyboard_Module_-_ANSI_Keyboard" = {
|
"12972:18:Framework_Laptop_16_Keyboard_Module_-_ANSI_Keyboard" = {
|
||||||
|
|
@ -143,6 +161,10 @@
|
||||||
xkb_layout = "us";
|
xkb_layout = "us";
|
||||||
xkb_variant = "altgr-intl";
|
xkb_variant = "altgr-intl";
|
||||||
};
|
};
|
||||||
|
"1133:45944:MX_KEYS_S" = {
|
||||||
|
xkb_layout = "us";
|
||||||
|
xkb_variant = "altgr-intl";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
keybindings = {
|
keybindings = {
|
||||||
"Mod4+Ctrl+p" = "exec wl-mirror eDP-2";
|
"Mod4+Ctrl+p" = "exec wl-mirror eDP-2";
|
||||||
|
|
|
||||||
|
|
@ -4,23 +4,26 @@
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
teams-for-linux
|
teams-for-linux
|
||||||
google-chrome
|
google-chrome
|
||||||
thunderbird
|
shellcheck
|
||||||
ansible
|
|
||||||
dig
|
dig
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
matchBlocks = {
|
matchBlocks = {
|
||||||
"uc" = {
|
"uc" = {
|
||||||
host = "uc.clip.vbc.ac.at";
|
hostname = "uc.clip.vbc.ac.at";
|
||||||
user = "stack";
|
user = "stack";
|
||||||
};
|
};
|
||||||
"staging-uc" = {
|
"uc-stg" = {
|
||||||
host = "uc.staging.clip.vbc.ac.at";
|
hostname = "uc.staging.clip.vbc.ac.at";
|
||||||
user = "stack";
|
user = "stack";
|
||||||
};
|
};
|
||||||
"cbe" = {
|
"cbe" = {
|
||||||
host = "cbe.vbc.ac.at";
|
hostname = "cbe.vbc.ac.at";
|
||||||
|
user = "dc_adm_schwarzaeugl";
|
||||||
|
};
|
||||||
|
"cbe-stg" = {
|
||||||
|
hostname = "cbe.staging.vbc.ac.at";
|
||||||
user = "dc_adm_schwarzaeugl";
|
user = "dc_adm_schwarzaeugl";
|
||||||
};
|
};
|
||||||
"*.vbc.ac.at" = {
|
"*.vbc.ac.at" = {
|
||||||
|
|
@ -33,234 +36,234 @@
|
||||||
profiles = {
|
profiles = {
|
||||||
dc_adm = {
|
dc_adm = {
|
||||||
id = 1;
|
id = 1;
|
||||||
|
#
|
||||||
isDefault = false;
|
# isDefault = false;
|
||||||
userChrome = builtins.readFile ../../../programs/firefox/chrome/userChrome.css;
|
# userChrome = builtins.readFile ../../../programs/firefox/chrome/userChrome.css;
|
||||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
# extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||||
tridactyl
|
# tridactyl
|
||||||
browserpass
|
# browserpass
|
||||||
clearurls
|
# clearurls
|
||||||
darkreader
|
# darkreader
|
||||||
enhancer-for-youtube
|
# enhancer-for-youtube
|
||||||
istilldontcareaboutcookies
|
# istilldontcareaboutcookies
|
||||||
translate-web-pages
|
# translate-web-pages
|
||||||
ublock-origin
|
# ublock-origin
|
||||||
reddit-enhancement-suite
|
# reddit-enhancement-suite
|
||||||
sponsorblock
|
# sponsorblock
|
||||||
web-archives
|
# web-archives
|
||||||
onepassword-password-manager
|
# onepassword-password-manager
|
||||||
single-file
|
# single-file
|
||||||
widegithub
|
# widegithub
|
||||||
enhanced-github
|
# enhanced-github
|
||||||
unpaywall
|
# unpaywall
|
||||||
don-t-fuck-with-paste
|
# don-t-fuck-with-paste
|
||||||
plasma-integration
|
# plasma-integration
|
||||||
];
|
# ];
|
||||||
|
#
|
||||||
search.engines = {
|
# search.engines = {
|
||||||
"Nix Packages" = {
|
# "Nix Packages" = {
|
||||||
urls = [{
|
# urls = [{
|
||||||
template = "https://search.nixos.org/packages";
|
# template = "https://search.nixos.org/packages";
|
||||||
params = [
|
# params = [
|
||||||
{ name = "type"; value = "packages"; }
|
# { name = "type"; value = "packages"; }
|
||||||
{ name = "query"; value = "{searchTerms}"; }
|
# { name = "query"; value = "{searchTerms}"; }
|
||||||
];
|
# ];
|
||||||
}];
|
# }];
|
||||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
# icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
definedAliases = [ "@np" ];
|
# definedAliases = [ "@np" ];
|
||||||
};
|
# };
|
||||||
|
#
|
||||||
"NixOS Wiki" = {
|
# "NixOS Wiki" = {
|
||||||
urls = [{
|
# urls = [{
|
||||||
template = "https://nixos.wiki/index.php?search={searchTerms}";
|
# template = "https://nixos.wiki/index.php?search={searchTerms}";
|
||||||
}];
|
# }];
|
||||||
iconUpdateURL = "https://nixos.wiki/favicon.png";
|
# iconUpdateURL = "https://nixos.wiki/favicon.png";
|
||||||
updateInterval = 24 * 60 * 60 * 1000; # every day
|
# updateInterval = 24 * 60 * 60 * 1000; # every day
|
||||||
definedAliases = [ "@nw" ];
|
# definedAliases = [ "@nw" ];
|
||||||
};
|
# };
|
||||||
|
#
|
||||||
"NixOS Options" = {
|
# "NixOS Options" = {
|
||||||
urls = [{
|
# urls = [{
|
||||||
template = "https://search.nixos.org/options";
|
# template = "https://search.nixos.org/options";
|
||||||
params = [
|
# params = [
|
||||||
{ name = "query"; value = "{searchTerms}"; }
|
# { name = "query"; value = "{searchTerms}"; }
|
||||||
];
|
# ];
|
||||||
}];
|
# }];
|
||||||
|
#
|
||||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
# icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
definedAliases = [ "@no" ];
|
# definedAliases = [ "@no" ];
|
||||||
};
|
# };
|
||||||
|
#
|
||||||
"Home Manager Options" = {
|
# "Home Manager Options" = {
|
||||||
urls = [{
|
# urls = [{
|
||||||
template = "https://home-manager-options.extranix.com/";
|
# template = "https://home-manager-options.extranix.com/";
|
||||||
params = [
|
# params = [
|
||||||
{ name = "query"; value = "{searchTerms}"; }
|
# { name = "query"; value = "{searchTerms}"; }
|
||||||
];
|
# ];
|
||||||
}];
|
# }];
|
||||||
|
#
|
||||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
# icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
definedAliases = [ "@hm" "@ho" "@hmo" ];
|
# definedAliases = [ "@hm" "@ho" "@hmo" ];
|
||||||
};
|
# };
|
||||||
|
#
|
||||||
"Google".metaData.alias = "@g";
|
# "Google".metaData.alias = "@g";
|
||||||
};
|
# };
|
||||||
search.force = true; # this is required because otherwise the search.json.mozlz4 symlink gets replaced on every firefox restart
|
# search.force = true; # this is required because otherwise the search.json.mozlz4 symlink gets replaced on every firefox restart
|
||||||
|
#
|
||||||
};
|
};
|
||||||
cl_adm = {
|
cl_adm = {
|
||||||
id = 2;
|
id = 2;
|
||||||
|
#
|
||||||
isDefault = false;
|
# isDefault = false;
|
||||||
userChrome = builtins.readFile ../../../programs/firefox/chrome/userChrome.css;
|
# userChrome = builtins.readFile ../../../programs/firefox/chrome/userChrome.css;
|
||||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
# extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||||
tridactyl
|
# tridactyl
|
||||||
browserpass
|
# browserpass
|
||||||
clearurls
|
# clearurls
|
||||||
darkreader
|
# darkreader
|
||||||
enhancer-for-youtube
|
# enhancer-for-youtube
|
||||||
istilldontcareaboutcookies
|
# istilldontcareaboutcookies
|
||||||
translate-web-pages
|
# translate-web-pages
|
||||||
ublock-origin
|
# ublock-origin
|
||||||
reddit-enhancement-suite
|
# reddit-enhancement-suite
|
||||||
sponsorblock
|
# sponsorblock
|
||||||
web-archives
|
# web-archives
|
||||||
onepassword-password-manager
|
# onepassword-password-manager
|
||||||
single-file
|
# single-file
|
||||||
widegithub
|
# widegithub
|
||||||
enhanced-github
|
# enhanced-github
|
||||||
unpaywall
|
# unpaywall
|
||||||
don-t-fuck-with-paste
|
# don-t-fuck-with-paste
|
||||||
plasma-integration
|
# plasma-integration
|
||||||
];
|
# ];
|
||||||
|
#
|
||||||
search.engines = {
|
# search.engines = {
|
||||||
"Nix Packages" = {
|
# "Nix Packages" = {
|
||||||
urls = [{
|
# urls = [{
|
||||||
template = "https://search.nixos.org/packages";
|
# template = "https://search.nixos.org/packages";
|
||||||
params = [
|
# params = [
|
||||||
{ name = "type"; value = "packages"; }
|
# { name = "type"; value = "packages"; }
|
||||||
{ name = "query"; value = "{searchTerms}"; }
|
# { name = "query"; value = "{searchTerms}"; }
|
||||||
];
|
# ];
|
||||||
}];
|
# }];
|
||||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
# icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
definedAliases = [ "@np" ];
|
# definedAliases = [ "@np" ];
|
||||||
};
|
# };
|
||||||
|
#
|
||||||
"NixOS Wiki" = {
|
# "NixOS Wiki" = {
|
||||||
urls = [{
|
# urls = [{
|
||||||
template = "https://nixos.wiki/index.php?search={searchTerms}";
|
# template = "https://nixos.wiki/index.php?search={searchTerms}";
|
||||||
}];
|
# }];
|
||||||
iconUpdateURL = "https://nixos.wiki/favicon.png";
|
# iconUpdateURL = "https://nixos.wiki/favicon.png";
|
||||||
updateInterval = 24 * 60 * 60 * 1000; # every day
|
# updateInterval = 24 * 60 * 60 * 1000; # every day
|
||||||
definedAliases = [ "@nw" ];
|
# definedAliases = [ "@nw" ];
|
||||||
};
|
# };
|
||||||
|
#
|
||||||
"NixOS Options" = {
|
# "NixOS Options" = {
|
||||||
urls = [{
|
# urls = [{
|
||||||
template = "https://search.nixos.org/options";
|
# template = "https://search.nixos.org/options";
|
||||||
params = [
|
# params = [
|
||||||
{ name = "query"; value = "{searchTerms}"; }
|
# { name = "query"; value = "{searchTerms}"; }
|
||||||
];
|
# ];
|
||||||
}];
|
# }];
|
||||||
|
#
|
||||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
# icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
definedAliases = [ "@no" ];
|
# definedAliases = [ "@no" ];
|
||||||
};
|
# };
|
||||||
|
#
|
||||||
"Home Manager Options" = {
|
# "Home Manager Options" = {
|
||||||
urls = [{
|
# urls = [{
|
||||||
template = "https://home-manager-options.extranix.com/";
|
# template = "https://home-manager-options.extranix.com/";
|
||||||
params = [
|
# params = [
|
||||||
{ name = "query"; value = "{searchTerms}"; }
|
# { name = "query"; value = "{searchTerms}"; }
|
||||||
];
|
# ];
|
||||||
}];
|
# }];
|
||||||
|
#
|
||||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
# icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
definedAliases = [ "@hm" "@ho" "@hmo" ];
|
# definedAliases = [ "@hm" "@ho" "@hmo" ];
|
||||||
};
|
# };
|
||||||
|
#
|
||||||
"Google".metaData.alias = "@g";
|
# "Google".metaData.alias = "@g";
|
||||||
};
|
# };
|
||||||
search.force = true; # this is required because otherwise the search.json.mozlz4 symlink gets replaced on every firefox restart
|
# search.force = true; # this is required because otherwise the search.json.mozlz4 symlink gets replaced on every firefox restart
|
||||||
|
#
|
||||||
};
|
};
|
||||||
ws_adm = {
|
ws_adm = {
|
||||||
id = 3;
|
id = 3;
|
||||||
|
#
|
||||||
isDefault = false;
|
# isDefault = false;
|
||||||
userChrome = builtins.readFile ../../../programs/firefox/chrome/userChrome.css;
|
# userChrome = builtins.readFile ../../../programs/firefox/chrome/userChrome.css;
|
||||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
# extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||||
tridactyl
|
# tridactyl
|
||||||
browserpass
|
# browserpass
|
||||||
clearurls
|
# clearurls
|
||||||
darkreader
|
# darkreader
|
||||||
enhancer-for-youtube
|
# enhancer-for-youtube
|
||||||
istilldontcareaboutcookies
|
# istilldontcareaboutcookies
|
||||||
translate-web-pages
|
# translate-web-pages
|
||||||
ublock-origin
|
# ublock-origin
|
||||||
reddit-enhancement-suite
|
# reddit-enhancement-suite
|
||||||
sponsorblock
|
# sponsorblock
|
||||||
web-archives
|
# web-archives
|
||||||
onepassword-password-manager
|
# onepassword-password-manager
|
||||||
single-file
|
# single-file
|
||||||
widegithub
|
# widegithub
|
||||||
enhanced-github
|
# enhanced-github
|
||||||
unpaywall
|
# unpaywall
|
||||||
don-t-fuck-with-paste
|
# don-t-fuck-with-paste
|
||||||
plasma-integration
|
# plasma-integration
|
||||||
];
|
# ];
|
||||||
|
#
|
||||||
search.engines = {
|
# search.engines = {
|
||||||
"Nix Packages" = {
|
# "Nix Packages" = {
|
||||||
urls = [{
|
# urls = [{
|
||||||
template = "https://search.nixos.org/packages";
|
# template = "https://search.nixos.org/packages";
|
||||||
params = [
|
# params = [
|
||||||
{ name = "type"; value = "packages"; }
|
# { name = "type"; value = "packages"; }
|
||||||
{ name = "query"; value = "{searchTerms}"; }
|
# { name = "query"; value = "{searchTerms}"; }
|
||||||
];
|
# ];
|
||||||
}];
|
# }];
|
||||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
# icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
definedAliases = [ "@np" ];
|
# definedAliases = [ "@np" ];
|
||||||
};
|
# };
|
||||||
|
#
|
||||||
"NixOS Wiki" = {
|
# "NixOS Wiki" = {
|
||||||
urls = [{
|
# urls = [{
|
||||||
template = "https://nixos.wiki/index.php?search={searchTerms}";
|
# template = "https://nixos.wiki/index.php?search={searchTerms}";
|
||||||
}];
|
# }];
|
||||||
iconUpdateURL = "https://nixos.wiki/favicon.png";
|
# iconUpdateURL = "https://nixos.wiki/favicon.png";
|
||||||
updateInterval = 24 * 60 * 60 * 1000; # every day
|
# updateInterval = 24 * 60 * 60 * 1000; # every day
|
||||||
definedAliases = [ "@nw" ];
|
# definedAliases = [ "@nw" ];
|
||||||
};
|
# };
|
||||||
|
#
|
||||||
"NixOS Options" = {
|
# "NixOS Options" = {
|
||||||
urls = [{
|
# urls = [{
|
||||||
template = "https://search.nixos.org/options";
|
# template = "https://search.nixos.org/options";
|
||||||
params = [
|
# params = [
|
||||||
{ name = "query"; value = "{searchTerms}"; }
|
# { name = "query"; value = "{searchTerms}"; }
|
||||||
];
|
# ];
|
||||||
}];
|
# }];
|
||||||
|
#
|
||||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
# icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
definedAliases = [ "@no" ];
|
# definedAliases = [ "@no" ];
|
||||||
};
|
# };
|
||||||
|
#
|
||||||
"Home Manager Options" = {
|
# "Home Manager Options" = {
|
||||||
urls = [{
|
# urls = [{
|
||||||
template = "https://home-manager-options.extranix.com/";
|
# template = "https://home-manager-options.extranix.com/";
|
||||||
params = [
|
# params = [
|
||||||
{ name = "query"; value = "{searchTerms}"; }
|
# { name = "query"; value = "{searchTerms}"; }
|
||||||
];
|
# ];
|
||||||
}];
|
# }];
|
||||||
|
#
|
||||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
# icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
definedAliases = [ "@hm" "@ho" "@hmo" ];
|
# definedAliases = [ "@hm" "@ho" "@hmo" ];
|
||||||
};
|
# };
|
||||||
|
#
|
||||||
"Google".metaData.alias = "@g";
|
# "Google".metaData.alias = "@g";
|
||||||
};
|
# };
|
||||||
search.force = true; # this is required because otherwise the search.json.mozlz4 symlink gets replaced on every firefox restart
|
# search.force = true; # this is required because otherwise the search.json.mozlz4 symlink gets replaced on every firefox restart
|
||||||
|
#
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -325,7 +325,7 @@ create a new one."
|
||||||
"ol" '((lambda () (interactive) (org-insert-link)) :which-key "insert link")
|
"ol" '((lambda () (interactive) (org-insert-link)) :which-key "insert link")
|
||||||
"os" '((lambda () (interactive) (org-store-link)) :which-key "store link")
|
"os" '((lambda () (interactive) (org-store-link)) :which-key "store link")
|
||||||
"od" '((lambda () (interactive) (org-babel-demarcate-block)) :which-key "demarcate (split) src-block")
|
"od" '((lambda () (interactive) (org-babel-demarcate-block)) :which-key "demarcate (split) src-block")
|
||||||
"on" '((lambda () (interactive) (nixpkgs-fmt)) :which-key "format nix-block")
|
"on" '((lambda () (interactive) (nixpkgs-fmt-region)) :which-key "format nix-block")
|
||||||
;; "c" '(:ignore c :which-key "capture")
|
;; "c" '(:ignore c :which-key "capture")
|
||||||
;; "cj" '((lambda () (interactive) (org-capture nil "jj")) :which-key "journal")
|
;; "cj" '((lambda () (interactive) (org-capture nil "jj")) :which-key "journal")
|
||||||
;; "cs" '(markdown-download-screenshot :which-key "screenshot")
|
;; "cs" '(markdown-download-screenshot :which-key "screenshot")
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
updates="$( { cd /home/swarsel/.dotfiles && nix flake update && nix build .#nixosConfigurations."$(eval hostname)".config.system.build.toplevel && nvd diff /run/current-system ./result | grep -c '\[U'; } || true)"
|
updates="$( { cd /home/swarsel/.dotfiles && nix flake lock --update-input nixpkgs && nix build .#nixosConfigurations."$(eval hostname)".config.system.build.toplevel && nvd diff /run/current-system ./result | grep -c '\[U'; } || true)"
|
||||||
|
|
||||||
alt="has-updates"
|
alt="has-updates"
|
||||||
if [[ $updates -eq 0 ]]; then
|
if [[ $updates -eq 0 ]]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue