add missing files
This commit is contained in:
parent
cc46761cf2
commit
8252f78bf1
|
|
@ -0,0 +1,40 @@
|
|||
{pkgs, config, lib, ...}: lib.mkIf config.programs.firefox.enable {
|
||||
programs.firefox = {
|
||||
package = pkgs.firefox.override {
|
||||
nativeMessagingHosts = with pkgs; [
|
||||
tridactyl-native
|
||||
keepassxc
|
||||
];
|
||||
};
|
||||
profiles.odie = {
|
||||
isDefault = true;
|
||||
id = 0;
|
||||
name = "odie";
|
||||
search = {
|
||||
default = "DuckDuckGo";
|
||||
force = true;
|
||||
};
|
||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
adnauseam
|
||||
istilldontcareaboutcookies
|
||||
sponsorblock
|
||||
stylus
|
||||
keepassxc-browser
|
||||
tridactyl
|
||||
canvasblocker
|
||||
deutsch-de-language-pack
|
||||
greasemonkey
|
||||
youtube-recommended-videos # unhook
|
||||
return-youtube-dislikes
|
||||
user-agent-string-switcher
|
||||
];
|
||||
settings = {
|
||||
"browser.startup.homepage" = "https://duckduckgo.com";
|
||||
"browser.search.region" = "DE";
|
||||
"browser.search.isUS" = false;
|
||||
"distribution.searchplugins.defaultLocale" = "de-DE";
|
||||
"general.useragent.locale" = "de-DE";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
{ pkgs, lib, config, ... }: {
|
||||
options = {
|
||||
programs.keepassxc.enable = lib.mkEnableOption "keepassxc";
|
||||
};
|
||||
config = lib.mkIf config.programs.keepassxc.enable {
|
||||
home.packages = [
|
||||
pkgs.keepassxc
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
{ pkgs, config, lib, ... }: {
|
||||
config = lib.mkIf config.programs.kitty.enable {
|
||||
programs.kitty = {
|
||||
font = {
|
||||
name = "JetBrains Mono";
|
||||
size = 9.5;
|
||||
};
|
||||
shellIntegration.enableZshIntegration = true;
|
||||
settings = {
|
||||
background_opacity = 1;
|
||||
enable_audio_bell = "no";
|
||||
visual_bell_duration = "0.025";
|
||||
window_padding_width = 0;
|
||||
};
|
||||
theme = "Catppuccin-Mocha";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
{lib,config,...}: lib.mkIf config.services.nextcloud-client.enable {
|
||||
services.nextcloud-client = {
|
||||
startInBackground = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
{ pkgs, lib, config, ... }: {
|
||||
options = {
|
||||
services.nixGL.enable = lib.mkEnableOption "nixGL";
|
||||
};
|
||||
config = lib.mkIf config.services.nixGL.enable {
|
||||
home.packages = with pkgs; [
|
||||
nixgl.auto.nixGLDefault
|
||||
nixgl.auto.nixGLNvidia
|
||||
nixgl.auto.nixVulkanNvidia
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
{ config, lib, ... }: {
|
||||
options = {
|
||||
services = {
|
||||
picom = {
|
||||
glxBackend = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = "the default terminal to use";
|
||||
default = "glx";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
config = {
|
||||
services.picom = lib.mkIf config.services.picom.enable {
|
||||
backend = config.services.picom.glxBackend;
|
||||
fade = true;
|
||||
opacityRules = [
|
||||
"95:class_g = 'kitty' && focused"
|
||||
"85:class_g = 'kitty' && !focused"
|
||||
"95:class_g = 'Alacritty' && focused"
|
||||
"85:class_g = 'Alacritty' && !focused"
|
||||
"85:window_type = 'dock'"
|
||||
];
|
||||
settings = {
|
||||
blur = {
|
||||
method = "gaussian";
|
||||
size = 10;
|
||||
deviation = 5.0;
|
||||
};
|
||||
corner-radius = 6;
|
||||
rounded-corners-exclude = [
|
||||
"window_type = 'dock'"
|
||||
"window_type = 'desktop'"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue