(desktop) Gen 494: reformatted several files using alejandra

This commit is contained in:
pagedMov
2024-10-15 20:16:32 -04:00
parent 1441353258
commit bd1add14bb
98 changed files with 6440 additions and 3256 deletions

View File

@@ -1,8 +1,6 @@
{ ... }:
{
programs.autojump = {
enable = true;
enableZshIntegration = true;
};
{...}: {
programs.autojump = {
enable = true;
enableZshIntegration = true;
};
}

View File

@@ -1,6 +1,4 @@
{ inputs, ... }:
{
{inputs, ...}: {
programs.bat = {
enable = true;
config = {

View File

@@ -1,21 +1,19 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
programs.btop = {
enable = true;
settings = {
color_theme = "tokyo-night";
theme_background = false;
update_ms = 500;
vim_keys = true;
proc_tree = true;
temp_scale = "fahrenheit";
disks_filter = "exclude=/boot";
show_swap = false;
swap_disk = false;
vim_keys = true;
proc_tree = true;
temp_scale = "fahrenheit";
disks_filter = "exclude=/boot";
show_swap = false;
swap_disk = false;
};
};
home.packages = (with pkgs; [ nvtopPackages.intel ]);
home.packages = with pkgs; [nvtopPackages.intel];
}

View File

@@ -1,12 +1,16 @@
{ inputs, pkgs, ... }:
{
inputs,
pkgs,
...
}: {
programs.cava = {
enable = true;
enable = true;
};
# https://github.com/catppuccin/cava
home.file.".config/cava/config".text = ''
# custom cava config
'' + builtins.readFile "${inputs.catppuccin-cava}/themes/mocha.cava";
home.file.".config/cava/config".text =
''
# custom cava config
''
+ builtins.readFile "${inputs.catppuccin-cava}/themes/mocha.cava";
}

View File

@@ -1,11 +1,9 @@
{ ... }:
{
programs.eza = {
enable = true;
enableZshIntegration = false;
extraOptions = [ "-1" "-h" "--group-directories-first" ];
icons = "auto";
git = true;
};
{...}: {
programs.eza = {
enable = true;
enableZshIntegration = false;
extraOptions = ["-1" "-h" "--group-directories-first"];
icons = "auto";
git = true;
};
}

View File

@@ -1,109 +1,122 @@
{ nur, username }:
{
programs.firefox = {
enable = true;
policies = {
DisableTelemetry = true;
DisableFirefoxStudies = true;
EnableTrackingProtection = {
Value= true;
Locked = true;
Cryptomining = true;
Fingerprinting = true;
};
DisablePocket = true;
DisableFirefoxAccounts = true;
DisableAccounts = true;
DisableFirefoxScreenshots = true;
OverrideFirstRunPage = "";
OverridePostUpdatePage = "";
DontCheckDefaultBrowser = true;
DisplayBookmarksToolbar = "always"; # alternatives: "always" or "newtab"
DisplayMenuBar = "default-off"; # alternatives: "always", "never" or "default-on"
SearchBar = "unified"; # alternative: "separate" isDefault = true;
};
profiles.${username} = {
name = "${username}";
bookmarks = [
{ name = "Nix sites";
toolbar = true;
bookmarks = [
{ name = "NixOS Options";
url = "https://search.nixos.org/options";
}
{ name = "Home Manager Options";
url = "https://home-manager-options.extranix.com/";
}
{ name = "Nixvim Docs";
url = "https://nix-community.github.io/nixvim/";
}
{ name = "Noogle";
url = "https://noogle.dev/";
}
{ name = "NixOS Wiki";
url = "https://nixos.wiki/";
}
{ name = "NixOS Manual";
url = "https://nixos.org/manual/nixos/stable";
}
{ name = "Nixpkgs Reference";
url = "https://nixos.org/manual/nixpkgs/stable";
}
];
}
{ name = "Rust Manual";
url = "https://doc.rust-lang.org/book/ch01-03-hello-cargo.html";
}
{ name = "ChatGPT";
url = "https://chatgpt.com/";
}
{ name = "DataAnnotation";
url = "https://app.dataannotation.tech/users/sign_in";
}
{ name = "Nerd Fonts Cheatsheet";
url = "https://www.nerdfonts.com/cheat-sheet";
}
];
extensions = with nur.repos.rycee.firefox-addons; [
darkreader
adnauseam
cookie-autodelete
disconnect
firefox-color
vimium
firenvim
privacy-badger
new-tab-override
tampermonkey
];
extraConfig = ''
"browser.startup.homepage" = "${self}/glasshouse-desktop/home/firefox/homepage.html";
"browser.active_color" = "#EE0000";
"browser.active_color.dark" = "#FF6666";
"browser.anchor_color" = "#0000EE";
"browser.anchor_color.dark" = "#8C8CFF";
"browser.display.background_color" = "#FFFFFF";
"browser.display.background_color.dark" = "#1C1B22";
"browser.display.document_color_use" = "1";
"browser.display.foreground_color" = "#000000";
"browser.display.foreground_color.dark" = "#FBFBFE";
"browser.display.suppress_canvas_background_image_on_forced_colors" = "true";
"browser.display.use_system_colors" = "false";
"browser.newtabpage.activity-stream.newNewtabExperience.colors" = "#0090ED,#FF4F5F,#2AC3A2,#FF7139,#A172FF,#FFA437,#FF2A8A";
"browser.theme.colorway-closet" = "true";
"browser.theme.colorway-migration" = "true";
"browser.theme.windows.accent-color-in-tabs.enabled" = "false";
"browser.visited_color" = "#551A8B";
"browser.visited_color.dark" = "#FFADFF";
"browser.newtabpage.pinned" = [{
title = "Homepage";
url = "${self}/glasshouse-desktop/home/firefox/homepage.html";
}];
"devtools.defaultColorUnit" = "authored";
"editor.background_color" = "#FFFFFF";
"editor.use_custom_colors" = "false";
'';
};
};
nur,
username,
}: {
programs.firefox = {
enable = true;
policies = {
DisableTelemetry = true;
DisableFirefoxStudies = true;
EnableTrackingProtection = {
Value = true;
Locked = true;
Cryptomining = true;
Fingerprinting = true;
};
DisablePocket = true;
DisableFirefoxAccounts = true;
DisableAccounts = true;
DisableFirefoxScreenshots = true;
OverrideFirstRunPage = "";
OverridePostUpdatePage = "";
DontCheckDefaultBrowser = true;
DisplayBookmarksToolbar = "always"; # alternatives: "always" or "newtab"
DisplayMenuBar = "default-off"; # alternatives: "always", "never" or "default-on"
SearchBar = "unified"; # alternative: "separate" isDefault = true;
};
profiles.${username} = {
name = "${username}";
bookmarks = [
{
name = "Nix sites";
toolbar = true;
bookmarks = [
{
name = "NixOS Options";
url = "https://search.nixos.org/options";
}
{
name = "Home Manager Options";
url = "https://home-manager-options.extranix.com/";
}
{
name = "Nixvim Docs";
url = "https://nix-community.github.io/nixvim/";
}
{
name = "Noogle";
url = "https://noogle.dev/";
}
{
name = "NixOS Wiki";
url = "https://nixos.wiki/";
}
{
name = "NixOS Manual";
url = "https://nixos.org/manual/nixos/stable";
}
{
name = "Nixpkgs Reference";
url = "https://nixos.org/manual/nixpkgs/stable";
}
];
}
{
name = "Rust Manual";
url = "https://doc.rust-lang.org/book/ch01-03-hello-cargo.html";
}
{
name = "ChatGPT";
url = "https://chatgpt.com/";
}
{
name = "DataAnnotation";
url = "https://app.dataannotation.tech/users/sign_in";
}
{
name = "Nerd Fonts Cheatsheet";
url = "https://www.nerdfonts.com/cheat-sheet";
}
];
extensions = with nur.repos.rycee.firefox-addons; [
darkreader
adnauseam
cookie-autodelete
disconnect
firefox-color
vimium
firenvim
privacy-badger
new-tab-override
tampermonkey
];
extraConfig = ''
"browser.startup.homepage" = "${self}/glasshouse-desktop/home/firefox/homepage.html";
"browser.active_color" = "#EE0000";
"browser.active_color.dark" = "#FF6666";
"browser.anchor_color" = "#0000EE";
"browser.anchor_color.dark" = "#8C8CFF";
"browser.display.background_color" = "#FFFFFF";
"browser.display.background_color.dark" = "#1C1B22";
"browser.display.document_color_use" = "1";
"browser.display.foreground_color" = "#000000";
"browser.display.foreground_color.dark" = "#FBFBFE";
"browser.display.suppress_canvas_background_image_on_forced_colors" = "true";
"browser.display.use_system_colors" = "false";
"browser.newtabpage.activity-stream.newNewtabExperience.colors" = "#0090ED,#FF4F5F,#2AC3A2,#FF7139,#A172FF,#FFA437,#FF2A8A";
"browser.theme.colorway-closet" = "true";
"browser.theme.colorway-migration" = "true";
"browser.theme.windows.accent-color-in-tabs.enabled" = "false";
"browser.visited_color" = "#551A8B";
"browser.visited_color.dark" = "#FFADFF";
"browser.newtabpage.pinned" = [{
title = "Homepage";
url = "${self}/glasshouse-desktop/home/firefox/homepage.html";
}];
"devtools.defaultColorUnit" = "authored";
"editor.background_color" = "#FFFFFF";
"editor.use_custom_colors" = "false";
'';
};
};
}

View File

@@ -1,6 +1,4 @@
{ ... }:
{
{...}: {
programs.fuzzel = {
enable = true;
settings = {
@@ -9,7 +7,7 @@
line-height = 25;
fields = "name,generic,comment,categories,filename,keywords";
terminal = "kitty";
prompt = "' '" ;
prompt = "' '";
icon-theme = "Papirus-Dark";
layer = "top";
lines = 10;

View File

@@ -1,8 +1,6 @@
{ ... }:
{
programs.fzf = {
enable = true;
enableZshIntegration = true;
};
{...}: {
programs.fzf = {
enable = true;
enableZshIntegration = true;
};
}

View File

@@ -1,9 +1,7 @@
{ ... }:
{
programs.git = {
enable = true;
userEmail = "pagedmov@gmail.com";
userName = "pagedmov";
};
{...}: {
programs.git = {
enable = true;
userEmail = "pagedmov@gmail.com";
userName = "pagedmov";
};
}

View File

@@ -1,11 +1,9 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
programs.kitty = {
enable = true;
themeFile = "Catppuccin-Mocha";
font = {
name = "JetBrainsMono Nerd Font";
size = 13;
@@ -13,13 +11,13 @@
settings = {
confirm_os_window_close = 0;
background_opacity = "0.60";
background_opacity = "0.60";
window_padding_width = 10;
scrollback_lines = 10000;
enable_audio_bell = false;
allow_remote_control = true;
allow_remote_control = true;
mouse_hide_wait = 60;
## Tabs
tab_title_template = "{index}";
active_tab_font_style = "normal";
@@ -32,7 +30,7 @@
inactive_tab_background = "#313244";
};
keybindings = {
keybindings = {
## Tabs
"alt+1" = "goto_tab 1";
"alt+2" = "goto_tab 2";

View File

@@ -1,13 +1,10 @@
{ username, ... }:
let
home = "/home/${username}";
in
{
programs.password-store = {
enable = true;
settings = {
PASSWORD_STORE_DIR = "${home}/.password-store";
};
};
{username, ...}: let
home = "/home/${username}";
in {
programs.password-store = {
enable = true;
settings = {
PASSWORD_STORE_DIR = "${home}/.password-store";
};
};
}

File diff suppressed because it is too large Load Diff