mirror of
https://github.com/kmein/niveum
synced 2026-03-30 01:01:10 +02:00
Compare commits
4 Commits
a9f51807b4
...
64d7437fa4
| Author | SHA1 | Date | |
|---|---|---|---|
| 64d7437fa4 | |||
| 76d8ebaf2b | |||
| 2b5dde01ec | |||
| 7b0f65645d |
@@ -2,27 +2,24 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}: {
|
}: let
|
||||||
programs.chromium = {
|
inherit (import ../lib) tmpfilesConfig;
|
||||||
enable = true;
|
in {
|
||||||
extensions = [
|
environment.systemPackages = [
|
||||||
# "ihlenndgcmojhcghmfjfneahoeklbjjh" # cVim
|
(pkgs.writers.writeDashBin "cro" ''
|
||||||
# "fpnmgdkabkmnadcjpehmlllkndpkmiak" # Wayback Machine
|
${pkgs.chromium}/bin/chromium \
|
||||||
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # uBlock Origin
|
--disable-sync \
|
||||||
"pjjgklgkfeoeiebjogplpnibpfnffkng" # undistracted
|
--no-default-browser-check \
|
||||||
"nhdogjmejiglipccpnnnanhbledajbpd" # vuejs devtools
|
--no-first-run \
|
||||||
"eimadpbcbfnmbkopoojfekhnkhdbieeh" # dark reader
|
--user-data-dir="$(mktemp -d)" \
|
||||||
];
|
--incognito \
|
||||||
};
|
"$@"
|
||||||
|
'')
|
||||||
|
];
|
||||||
|
|
||||||
home-manager.users.me = {
|
home-manager.users.me = {
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.firefox.override {
|
|
||||||
cfg = {
|
|
||||||
enableTridactylNative = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
profiles = let
|
profiles = let
|
||||||
defaultSettings = {
|
defaultSettings = {
|
||||||
"beacon.enabled" = false;
|
"beacon.enabled" = false;
|
||||||
@@ -91,7 +88,5 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = [pkgs.brave];
|
environment.variables.BROWSER = "firefox";
|
||||||
|
|
||||||
environment.variables.BROWSER = "brave";
|
|
||||||
}
|
}
|
||||||
@@ -100,7 +100,6 @@ in {
|
|||||||
environment.shellAliases = let
|
environment.shellAliases = let
|
||||||
swallow = command: "${niveumPackages.swallow}/bin/swallow ${command}";
|
swallow = command: "${niveumPackages.swallow}/bin/swallow ${command}";
|
||||||
in {
|
in {
|
||||||
chromium-incognito = "chromium --user-data-dir=$(mktemp -d /tmp/chr.XXXXXX) --no-first-run --incognito";
|
|
||||||
o = "${pkgs.xdg-utils}/bin/xdg-open";
|
o = "${pkgs.xdg-utils}/bin/xdg-open";
|
||||||
ns = "nix-shell --run zsh";
|
ns = "nix-shell --run zsh";
|
||||||
pbcopy = "${pkgs.xclip}/bin/xclip -selection clipboard -in";
|
pbcopy = "${pkgs.xclip}/bin/xclip -selection clipboard -in";
|
||||||
@@ -218,7 +217,7 @@ in {
|
|||||||
./aerc.nix
|
./aerc.nix
|
||||||
./ccc.nix
|
./ccc.nix
|
||||||
./khal.nix
|
./khal.nix
|
||||||
./chromium.nix
|
./browser.nix
|
||||||
./clipboard.nix
|
./clipboard.nix
|
||||||
./cloud.nix
|
./cloud.nix
|
||||||
./direnv.nix
|
./direnv.nix
|
||||||
|
|||||||
@@ -250,7 +250,7 @@ in {
|
|||||||
# gnumeric
|
# gnumeric
|
||||||
dia
|
dia
|
||||||
pandoc
|
pandoc
|
||||||
# niveumPackages.man-pandoc
|
niveumPackages.man-pandoc
|
||||||
typst
|
typst
|
||||||
# proselint
|
# proselint
|
||||||
asciidoctor
|
asciidoctor
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ in {
|
|||||||
./names.nix
|
./names.nix
|
||||||
./nextcloud.nix
|
./nextcloud.nix
|
||||||
./radio-news.nix
|
./radio-news.nix
|
||||||
./onlyoffice.nix
|
# ./onlyoffice.nix
|
||||||
./retiolum-map.nix
|
./retiolum-map.nix
|
||||||
./tarot.nix
|
./tarot.nix
|
||||||
./tt-rss.nix
|
./tt-rss.nix
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
{config, ...}: {
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
services.onlyoffice = {
|
services.onlyoffice = {
|
||||||
enable = true;
|
enable = true;
|
||||||
port = 8111;
|
port = 8111;
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
username_cmd = "cat $CREDENTIALS_DIRECTORY/username";
|
username_cmd = "cat $CREDENTIALS_DIRECTORY/username";
|
||||||
password_cmd = "cat $CREDENTIALS_DIRECTORY/password";
|
password_cmd = "cat $CREDENTIALS_DIRECTORY/password";
|
||||||
bitrate = 320;
|
bitrate = 320;
|
||||||
|
use_mpris = false;
|
||||||
device_type = "s_t_b"; # set-top box
|
device_type = "s_t_b"; # set-top box
|
||||||
device_name = config.networking.hostName;
|
device_name = config.networking.hostName;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user