janky fix for file path issue

This commit is contained in:
ark-lamp-umbrella 2024-04-12 17:41:11 -07:00
parent 4f14f6d135
commit 60ce56af37
Signed by: ark-lamp-umbrella
GPG Key ID: 15E48F7B97025652
3 changed files with 54 additions and 12 deletions

View File

@ -148,7 +148,7 @@ in
home.stateVersion = "24.05";
/* Here goes the rest of your home-manager config, e.g. home.packages = [ pkgs.foo ]; */
home.packages = [
home.packages = [
pkgs.bun # bun js runtime
pkgs.elixir # elixir lang
pkgs.blender # blender 3d tool
@ -216,7 +216,11 @@ in
};
};
themes = {
catppuccin-macchiato = builtins.fromTOML(builtins.readFile("${helix-catppuccin}/themes/default/catppuccin_macchiato.toml"));
catppuccin-macchiato = builtins.fromTOML(
builtins.readFile(
"${helix-catppuccin}/themes/default/catppuccin_macchiato.toml"
)
);
};
};
starship = {
@ -225,7 +229,6 @@ in
settings = {
add_newline = false;
format = lib.concatStrings [
"$elixir\n"
"$character"
"$directory"
];
@ -259,14 +262,7 @@ in
programs.fish = {
enable = true;
# Enable starship prompt
interactiveShellInit = ''
set fish_greeting
keychain --eval /home/ark/.ssh/id_ed25519 | source && clear
source (/home/ark/.nix-profile/bin/starship init fish --print-full-init | psub)
alias ls=lsd
'';
interactiveShellInit = builtins.readFile "/etc/nixos/fish/shellinit.fish";
};
programs.steam = {
enable = true;

View File

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ pkgs, ... }:
let
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
arkenfox = builtins.fetchTarball "https://github.com/arkenfox/user.js/archive/master.tar.gz";
@ -13,6 +13,48 @@ in
inherit pkgs;
};
};
home-manager.users.ark.home.file.".mozilla/managed-storage/uBlock0@raymondhill.net.json".text =
builtins.toJSON {
name = "uBlock0@raymondhill.net";
description = "_";
type = "storage";
data = {
adminSettings = {
userFilters = ''
www.youtube.com###cinematics > div > canvas
'';
};
userSettings = [
[ "advancedUserEnabled" "true" ]
[ "autoUpdate" "true" ]
[ "colorBlindFriendly" "true" ]
[ "contextMenuEnabled" "true" ]
[ "dynamicFilteringEnabled" "false" ]
];
toOverwrite = {
filterLists = [
"user-filters"
"ublock-filters"
"ublock-badware"
"ublock-privacy"
"ublock-quick-fixes"
"ublock-abuse"
"ublock-unbreak"
"easylist"
"easyprivacy"
"urlhaus-1"
"plowe-0"
"adguard-cookiemonster"
"ublock-cookies-adguard"
"fanboy-cookiemonster"
"ublock-cookies-easylist"
"https://raw.githubusercontent.com/liamengland1/miscfilters/master/antipaywall.txt"
"https://gitlab.com/magnolia1234/bypass-paywalls-clean-filters/-/raw/main/bpc-paywall-filter.txt"
"https://raw.githubusercontent.com/gijsdev/ublock-hide-yt-shorts/master/list.txt"
];
};
};
};
home-manager.users.ark.programs.firefox = {
enable = true;
profiles.default = {

View File

@ -0,0 +1,4 @@
set fish_greeting
keychain --eval /home/ark/.ssh/id_ed25519 | source && clear
source (/home/ark/.nix-profile/bin/starship init fish --print-full-init | psub)
alias ls=lsd