something-broke

This commit is contained in:
Lilith 2024-06-09 23:52:27 +02:00
parent e97713666a
commit 23521dbb2c
Signed by: lilith
GPG key ID: 8712A0F317C37175
12 changed files with 200 additions and 18 deletions

View file

@ -1,4 +1,4 @@
{arkenfox, ...}: { { pkgs, arkenfox, ...}: {
imports = [arkenfox.hmModules.arkenfox]; imports = [arkenfox.hmModules.arkenfox];
home.file.".mozilla/firefox/ChatGPT/chrome/userChrome.css".text = '' home.file.".mozilla/firefox/ChatGPT/chrome/userChrome.css".text = ''
@ -9,17 +9,55 @@
programs.firefox = { programs.firefox = {
enable = true; enable = true;
# nativeMessagingHosts = with pkgs; [
# tridactyl-native
# ];
policies = { policies = {
Homepage = {
URL = "https://duckduckgo.com";
StartPage = "homepage";
};
DisablePocket = true; DisablePocket = true;
DisableFirefoxAccounts = true; DisableFirefoxAccounts = true;
DisableAccounts = true; DisableAccounts = true;
DisableFormHistory = true;
OfferToSaveLogins = false;
PasswordManagerEnabled = false;
DisablePrivateBrowsing = true;
DisableSetDesktopBackground = true;
DisableTelemetry = true;
DisableFirefoxScreenshots = true; DisableFirefoxScreenshots = true;
OverrideFirstRunPage = "";
OverridePostUpdatePage = ""; OverrideFirstRunPage = "https://duckduckgo.com";
OverridePostUpdatePage = "https://duckduckgo.com";
NewTabPage = false;
DontCheckDefaultBrowser = true; DontCheckDefaultBrowser = true;
DisplayBookmarksToolbar = "never"; DisplayBookmarksToolbar = "never";
SearchBar = "unified"; SearchBar = "unified";
DownloadDirectory = "/home/spectre/inbox"; SearchSuggestEnabled = false;
DownloadDirectory = "/home/lilith/sync/inbox";
SanitizeOnShutdown = true;
Containers = {
"Default" = [
{
name = "Personal";
icon = "circle";
color = "pink";
}
{
name = "Work";
icon = "briefcase";
color = "green";
}
];
};
ExtensionSettings = { ExtensionSettings = {
# uBlock Origin: # uBlock Origin:
@ -43,6 +81,15 @@
installation_mode = "force_installed"; installation_mode = "force_installed";
}; };
}; };
SearchEngines = {
Default = "DuckDuckGo";
};
Preferences = {
"browser.newtab.extensionControlled" = false;
"browser.translations.neverTranslateLanguages" = true;
};
}; };
arkenfox.enable = true; arkenfox.enable = true;

View file

@ -7,8 +7,5 @@
services.gpg-agent = { services.gpg-agent = {
enable = true; enable = true;
pinentryPackage = pkgs.pinentry-gtk2; pinentryPackage = pkgs.pinentry-gtk2;
enableSshSupport = true;
sshKeys = [];
enableExtraSocket = true;
}; };
} }

View file

@ -37,9 +37,9 @@
]; ];
workspace = [ workspace = [
"special:keepass,gapsout:25" "special:keepass,gapsout:45"
"special:magic,gapsout:25" "special:magic,gapsout:45"
"special:chatgpt,gapsout:25" "special:chatgpt,gapsout:45"
]; ];
input = { input = {
@ -108,7 +108,7 @@
bind = [ bind = [
"$mainMod, Q, exec, $terminal" "$mainMod, Q, exec, $terminal"
"$mainMod, C, killactive," "$mainMod, C, killactive,"
"$mainMod, backspace, exec, hyprlock," "$mainMod, backspace, exec, hyprlock"
"$mainMod, E, exec, $fileManager" "$mainMod, E, exec, $fileManager"
"$mainMod, O, togglefloating," "$mainMod, O, togglefloating,"
"$mainMod, R, exec, rofi -show drun" "$mainMod, R, exec, rofi -show drun"

View file

@ -26,7 +26,7 @@
inner_color = "rgb(91, 96, 120)"; inner_color = "rgb(91, 96, 120)";
outer_color = "rgb(24, 25, 38)"; outer_color = "rgb(24, 25, 38)";
outline_thickness = 5; outline_thickness = 5;
placeholder_text = '\'<span foreground="##cad3f5">Password...</span>'\'; placeholder_text = ''<span foreground="##cad3f5">Password...</span>'';
shadow_passes = 2; shadow_passes = 2;
} }
]; ];

View file

@ -1,6 +1,114 @@
{pkgs, ...}: { {pkgs, config, stylix,...}: {
programs.rofi = { programs.rofi = {
enable = true; enable = true;
package = pkgs.rofi-wayland; package = pkgs.rofi-wayland;
theme = let
inherit (config.lib.formats.rasi) mkLiteral;
in {
"*" = with config.lib.stylix.colors; {
bg0 = mkLiteral "#${base00}";
bg1 = mkLiteral "#${base01}";
bg2 = mkLiteral "#${base02}";
bg3 = mkLiteral "#${base03}";
fg0 = mkLiteral "#${base08}";
fg1 = mkLiteral "#${base09}";
fg2 = mkLiteral "#${base0A}";
fg3 = mkLiteral "#${base0B}";
font = config.stylix.fonts.sansSerif.name;
background-color = mkLiteral "transparent";
text-color = mkLiteral "@fg0";
margin = mkLiteral "0px";
padding = mkLiteral "0px";
spacing = mkLiteral "0px";
};
window = {
location = mkLiteral "center";
width = mkLiteral "33%";
height = mkLiteral "33%";
border-radius = mkLiteral "24px";
background-color = mkLiteral "@bg0";
};
mainbox = {
padding = mkLiteral "12px";
};
inputbar = {
background-color = mkLiteral "@bg1";
border-color = mkLiteral "@bg3";
border = mkLiteral "2px";
border-radius = mkLiteral "16px";
padding = mkLiteral "8px 16px";
spacing = mkLiteral "8px";
children = map mkLiteral[ "prompt" "entry" ];
};
prompt = {
text-color = mkLiteral "@fg2";
};
entry = {
placeholder = "Search";
placeholder-color = mkLiteral "@fg3";
};
message = {
margin = mkLiteral "12px 0 0";
border-radius = mkLiteral "16px";
border-color = mkLiteral "@bg2";
background-color = mkLiteral "@bg2";
};
textbox = {
padding = mkLiteral "8px 24px";
};
listview = {
background-color = mkLiteral "transparent";
margin = mkLiteral "12px 0 0";
lines = mkLiteral "8";
columns = mkLiteral "1";
fixed-height = mkLiteral "false";
};
element = {
padding = mkLiteral "8px 16px";
spacing = mkLiteral "8px";
border-radius = mkLiteral "16px";
};
"element normal active" = {
text-color = mkLiteral "@bg3";
};
"element selected normal" = {
background-color = mkLiteral "@bg3";
text-color = mkLiteral "@bg1";
};
"element selected active" = {
background-color = mkLiteral "@bg3";
text-color = mkLiteral "@bg1";
};
"element-icon" = {
size = mkLiteral "1em";
vertical-align = mkLiteral "0.5";
};
"element-text" = {
text-color = mkLiteral "inherit";
};
};
}; };
} }

View file

@ -1,2 +1,3 @@
{...}: { {stylix, ...}: {
stylix.targets.rofi.enable = false;
} }

View file

@ -17,6 +17,7 @@
du-dust du-dust
ranger ranger
ripgrep ripgrep
papirus-icon-theme
sops sops
wget wget
wireguard-tools wireguard-tools

View file

@ -2,6 +2,6 @@
environment.variables = { environment.variables = {
EDITOR = "hx"; EDITOR = "hx";
VISUAL = "hx"; VISUAL = "hx";
FLAKE = "${conf.home}/nixos"; FLAKE = conf.home + /nixos;
}; };
} }

View file

@ -1,5 +1,7 @@
{pkgs, ...}: { {pkgs, ...}: {
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
(nerdfonts.override {fonts = ["JetBrainsMono"];}) (nerdfonts.override {fonts = ["JetBrainsMono"];})
twemoji-color-font
]; ];
} }

View file

@ -1,6 +1,32 @@
{stylix, ...}: { {stylix, pkgs, config, ...}: {
imports = [stylix.nixosModules.stylix]; imports = [stylix.nixosModules.stylix];
stylix.image = ../wallpapers/default.png; stylix = {
stylix.polarity = "dark"; image = ../wallpapers/default.png;
polarity = "dark";
opacity = {
terminal = 0.8;
popups = 0.8;
};
fonts = {
# monospace = {
# package = pkgs.jetbrains-mono;
# name = "JetBrainsMono";
# };
emoji = {
package = pkgs.twemoji-color-font;
name = "Twemoji";
};
sizes = { applications = 14; desktop = 12; popups = 12; terminal = 14; };
};
cursor = {
package = pkgs.bibata-cursors;
name = "Bibata theme";
};
};
} }

BIN
wallpapers/default.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 340 KiB

After

Width:  |  Height:  |  Size: 2.2 MiB

Before After
Before After