1
0
mirror of https://github.com/kmein/niveum synced 2026-03-30 01:01:10 +02:00

4 Commits

Author SHA1 Message Date
64d7437fa4 fix(spotifyd): disable mpris
fixes #48
big thanks to @n0ur and her copilot
2024-01-09 21:29:20 +01:00
76d8ebaf2b feat: cro for temporary chromium profile 2024-01-09 20:38:55 +01:00
2b5dde01ec feat: reenable man-pandoc
it was not broken
fixes #47
2024-01-09 19:38:04 +01:00
7b0f65645d feat(makanek): do not need onlyoffice 2024-01-09 14:57:29 +01:00
6 changed files with 20 additions and 29 deletions

View File

@@ -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";
} }

View File

@@ -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

View File

@@ -250,7 +250,7 @@ in {
# gnumeric # gnumeric
dia dia
pandoc pandoc
# niveumPackages.man-pandoc niveumPackages.man-pandoc
typst typst
# proselint # proselint
asciidoctor asciidoctor

View File

@@ -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

View File

@@ -1,8 +1,4 @@
{ {config, ...}: {
pkgs,
config,
...
}: {
services.onlyoffice = { services.onlyoffice = {
enable = true; enable = true;
port = 8111; port = 8111;

View File

@@ -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;
}; };