171 current 2025-06-03 18:14:20 25.11.20250531.910796c 6.15.0 *
This commit is contained in:
355
home/home.nix
355
home/home.nix
@@ -1,6 +1,8 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./plasma.nix
|
||||
];
|
||||
@@ -12,8 +14,8 @@
|
||||
stateVersion = "24.11";
|
||||
file = {
|
||||
"scripts" = {
|
||||
source = config.lib.file.mkOutOfStoreSymlink ./scripts;
|
||||
recursive = true;
|
||||
source = config.lib.file.mkOutOfStoreSymlink ./scripts;
|
||||
recursive = true;
|
||||
};
|
||||
};
|
||||
sessionPath = [
|
||||
@@ -27,15 +29,15 @@
|
||||
|
||||
xdg = {
|
||||
enable = true;
|
||||
userDirs.enable = true;
|
||||
configFile = {
|
||||
"emacs/early-init.el" = {
|
||||
source = config.lib.file.mkOutOfStoreSymlink ./emacs/early-init.el;
|
||||
userDirs.enable = true;
|
||||
configFile = {
|
||||
"emacs/early-init.el" = {
|
||||
source = config.lib.file.mkOutOfStoreSymlink ./emacs/early-init.el;
|
||||
};
|
||||
"emacs/init.el" = {
|
||||
source = config.lib.file.mkOutOfStoreSymlink ./emacs/init.el;
|
||||
"emacs/init.el" = {
|
||||
source = config.lib.file.mkOutOfStoreSymlink ./emacs/init.el;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
catppuccin = {
|
||||
@@ -45,17 +47,17 @@
|
||||
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
bashrcExtra = ''
|
||||
enableCompletion = true;
|
||||
bashrcExtra = ''
|
||||
export SSH_AUTH_SOCK=/home/chase/.bitwarden-ssh-agent.sock
|
||||
'';
|
||||
historyIgnore = [
|
||||
"ls"
|
||||
historyIgnore = [
|
||||
"ls"
|
||||
"ls -a"
|
||||
"ls -l"
|
||||
"ls -la"
|
||||
"cd"
|
||||
"exit"
|
||||
"cd"
|
||||
"exit"
|
||||
];
|
||||
};
|
||||
|
||||
@@ -68,122 +70,130 @@
|
||||
|
||||
programs.fastfetch = {
|
||||
enable = true;
|
||||
settings = {
|
||||
logo = {
|
||||
source = "nixos_small";
|
||||
settings = {
|
||||
logo = {
|
||||
source = "nixos_small";
|
||||
};
|
||||
display = {
|
||||
size = {
|
||||
binaryPrefix = "si";
|
||||
};
|
||||
color = "blue";
|
||||
separator = ": ";
|
||||
display = {
|
||||
size = {
|
||||
binaryPrefix = "si";
|
||||
};
|
||||
color = "blue";
|
||||
separator = ": ";
|
||||
};
|
||||
modules = [
|
||||
"title"
|
||||
"separator"
|
||||
"os"
|
||||
"host"
|
||||
"uptime"
|
||||
"kernel"
|
||||
"packages"
|
||||
"lm"
|
||||
"de"
|
||||
"wm"
|
||||
"shell"
|
||||
"terminal"
|
||||
"terminalfont"
|
||||
{
|
||||
key = "Display";
|
||||
type = "display";
|
||||
}
|
||||
"cpu"
|
||||
"gpu"
|
||||
"memory"
|
||||
"swap"
|
||||
"disk"
|
||||
"datetime"
|
||||
"colors"
|
||||
"break"
|
||||
"player"
|
||||
"media"
|
||||
modules = [
|
||||
"title"
|
||||
"separator"
|
||||
"os"
|
||||
"host"
|
||||
"uptime"
|
||||
"kernel"
|
||||
"packages"
|
||||
"lm"
|
||||
"de"
|
||||
"wm"
|
||||
"shell"
|
||||
"terminal"
|
||||
"terminalfont"
|
||||
{
|
||||
key = "Display";
|
||||
type = "display";
|
||||
}
|
||||
"cpu"
|
||||
"gpu"
|
||||
"memory"
|
||||
"swap"
|
||||
"disk"
|
||||
"datetime"
|
||||
"colors"
|
||||
"break"
|
||||
"player"
|
||||
"media"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
nativeMessagingHosts = [ pkgs.firefoxpwa ];
|
||||
nativeMessagingHosts = [pkgs.firefoxpwa];
|
||||
profiles = {
|
||||
default = {
|
||||
id = 0;
|
||||
name = "default";
|
||||
isDefault = true;
|
||||
extensions = {
|
||||
packages = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
awesome-rss
|
||||
betterttv
|
||||
bitwarden
|
||||
clearurls
|
||||
control-panel-for-twitter
|
||||
enhancer-for-youtube
|
||||
facebook-container
|
||||
flagfox
|
||||
istilldontcareaboutcookies
|
||||
privacy-badger
|
||||
return-youtube-dislikes
|
||||
search-by-image
|
||||
sponsorblock
|
||||
tab-session-manager
|
||||
tampermonkey
|
||||
ublock-origin
|
||||
];
|
||||
};
|
||||
settings = {
|
||||
"browser.formfill.enable" = false;
|
||||
"browser.ml.chat.enabled" = false;
|
||||
"browser.ml.chat.shortcuts" = false;
|
||||
"browser.ml.chat.sidebar" = false;
|
||||
"browser.newtabpage.activity-stream.feeds.section.topstories" = false;
|
||||
"browser.newtabpage.activity-stream.feeds.snippets" = false;
|
||||
"browser.newtabpage.activity-stream.section.highlights.includeBookmarks" = false;
|
||||
"browser.newtabpage.activity-stream.section.highlights.includeDownloads" = false;
|
||||
"browser.newtabpage.activity-stream.section.highlights.includePocket" = false;
|
||||
"browser.newtabpage.activity-stream.section.highlights.includeVisited" = false;
|
||||
"browser.newtabpage.activity-stream.showSponsored" = false;
|
||||
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
|
||||
"browser.newtabpage.activity-stream.system.showSponsored" = false;
|
||||
"browser.topsites.contile.enabled" = false;
|
||||
"browser.urlbar.unitConversion.enabled" = true;
|
||||
"extensions.formautofill.addresses.enabled" = false;
|
||||
"extensions.formautofill.creditCards.enabled" = false;
|
||||
"extensions.pocket.enabled" = false;
|
||||
"general.autoScroll" = true;
|
||||
"widget.use-xdg-desktop-portal.file-picker" = 1;
|
||||
"signon.rememberSignons" = false;
|
||||
};
|
||||
search = {
|
||||
force = true;
|
||||
default = "SearX";
|
||||
order = [ "SearX" "google" ];
|
||||
engines = {
|
||||
"Nix Packages" = {
|
||||
urls = [{
|
||||
template = "https://search.nixos.org/packages";
|
||||
params = [
|
||||
{ name = "type"; value = "packages"; }
|
||||
{ name = "query"; value = "{searchTerms}"; }
|
||||
];
|
||||
}];
|
||||
icon = "''${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||
definedAliases = [ "@np" ];
|
||||
};
|
||||
"SearX" = {
|
||||
urls = [{ template = "https://searx.traphouse.cathoderaytube.net/?q={searchTerms}"; }];
|
||||
definedAliases = [ "@searx" ];
|
||||
};
|
||||
"bing".metaData.hidden = true;
|
||||
};
|
||||
name = "default";
|
||||
isDefault = true;
|
||||
extensions = {
|
||||
packages = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
awesome-rss
|
||||
betterttv
|
||||
bitwarden
|
||||
clearurls
|
||||
control-panel-for-twitter
|
||||
enhancer-for-youtube
|
||||
facebook-container
|
||||
flagfox
|
||||
istilldontcareaboutcookies
|
||||
privacy-badger
|
||||
return-youtube-dislikes
|
||||
search-by-image
|
||||
sponsorblock
|
||||
tab-session-manager
|
||||
tampermonkey
|
||||
ublock-origin
|
||||
];
|
||||
};
|
||||
settings = {
|
||||
"browser.formfill.enable" = false;
|
||||
"browser.ml.chat.enabled" = false;
|
||||
"browser.ml.chat.shortcuts" = false;
|
||||
"browser.ml.chat.sidebar" = false;
|
||||
"browser.newtabpage.activity-stream.feeds.section.topstories" = false;
|
||||
"browser.newtabpage.activity-stream.feeds.snippets" = false;
|
||||
"browser.newtabpage.activity-stream.section.highlights.includeBookmarks" = false;
|
||||
"browser.newtabpage.activity-stream.section.highlights.includeDownloads" = false;
|
||||
"browser.newtabpage.activity-stream.section.highlights.includePocket" = false;
|
||||
"browser.newtabpage.activity-stream.section.highlights.includeVisited" = false;
|
||||
"browser.newtabpage.activity-stream.showSponsored" = false;
|
||||
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
|
||||
"browser.newtabpage.activity-stream.system.showSponsored" = false;
|
||||
"browser.topsites.contile.enabled" = false;
|
||||
"browser.urlbar.unitConversion.enabled" = true;
|
||||
"extensions.formautofill.addresses.enabled" = false;
|
||||
"extensions.formautofill.creditCards.enabled" = false;
|
||||
"extensions.pocket.enabled" = false;
|
||||
"general.autoScroll" = true;
|
||||
"widget.use-xdg-desktop-portal.file-picker" = 1;
|
||||
"signon.rememberSignons" = false;
|
||||
};
|
||||
search = {
|
||||
force = true;
|
||||
default = "SearX";
|
||||
order = ["SearX" "google"];
|
||||
engines = {
|
||||
"Nix Packages" = {
|
||||
urls = [
|
||||
{
|
||||
template = "https://search.nixos.org/packages";
|
||||
params = [
|
||||
{
|
||||
name = "type";
|
||||
value = "packages";
|
||||
}
|
||||
{
|
||||
name = "query";
|
||||
value = "{searchTerms}";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
icon = "''${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||
definedAliases = ["@np"];
|
||||
};
|
||||
"SearX" = {
|
||||
urls = [{template = "https://searx.traphouse.cathoderaytube.net/?q={searchTerms}";}];
|
||||
definedAliases = ["@searx"];
|
||||
};
|
||||
"bing".metaData.hidden = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -191,41 +201,41 @@
|
||||
|
||||
programs.ghostty = {
|
||||
enable = true;
|
||||
enableBashIntegration = true;
|
||||
installBatSyntax = true;
|
||||
installVimSyntax = true;
|
||||
settings = {
|
||||
font-family = "BlexMono Nerd Font";
|
||||
font-size = 11;
|
||||
};
|
||||
enableBashIntegration = true;
|
||||
installBatSyntax = true;
|
||||
installVimSyntax = true;
|
||||
settings = {
|
||||
font-family = "BlexMono Nerd Font";
|
||||
font-size = 11;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "chase";
|
||||
userEmail = "chase@cathoderaytube.net";
|
||||
extraConfig = {
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.git-credential-oauth.enable = true;
|
||||
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
homedir = "${config.xdg.dataHome}/gnupg";
|
||||
homedir = "${config.xdg.dataHome}/gnupg";
|
||||
};
|
||||
|
||||
programs.htop.enable = true;
|
||||
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
config = {
|
||||
profile = "gpu-hq";
|
||||
ytdl-format = "bestvideo+bestaudio";
|
||||
config = {
|
||||
profile = "gpu-hq";
|
||||
ytdl-format = "bestvideo+bestaudio";
|
||||
};
|
||||
scripts = [
|
||||
pkgs.mpvScripts.mpris
|
||||
scripts = [
|
||||
pkgs.mpvScripts.mpris
|
||||
];
|
||||
};
|
||||
|
||||
@@ -256,52 +266,52 @@
|
||||
style = "bold green";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.ranger.enable = true;
|
||||
|
||||
programs.rmpc = {
|
||||
enable = true;
|
||||
config = ''
|
||||
(
|
||||
enable_config_hot_reload: true,
|
||||
)
|
||||
'';
|
||||
config = ''
|
||||
(
|
||||
enable_config_hot_reload: true,
|
||||
)
|
||||
'';
|
||||
};
|
||||
|
||||
programs.texlive.enable = true;
|
||||
|
||||
programs.yazi = {
|
||||
enable = true;
|
||||
enableBashIntegration = true;
|
||||
enableBashIntegration = true;
|
||||
};
|
||||
|
||||
programs.yt-dlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
embed-thumbnail = true;
|
||||
settings = {
|
||||
embed-thumbnail = true;
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
anki-bin
|
||||
audacity
|
||||
ffmpeg
|
||||
fortune
|
||||
gimp
|
||||
ibm-plex
|
||||
imagemagick
|
||||
kdePackages.kdenlive
|
||||
libnotify
|
||||
libreoffice
|
||||
ffmpeg
|
||||
fortune
|
||||
gimp
|
||||
ibm-plex
|
||||
imagemagick
|
||||
kdePackages.kdenlive
|
||||
libnotify
|
||||
libreoffice
|
||||
logiops
|
||||
lolcat
|
||||
nerd-fonts.blex-mono
|
||||
nerd-fonts.blex-mono
|
||||
picard
|
||||
protonmail-bridge
|
||||
thunderbird
|
||||
ueberzugpp
|
||||
vcv-rack
|
||||
protonmail-bridge
|
||||
thunderbird
|
||||
ueberzugpp
|
||||
vcv-rack
|
||||
runelite
|
||||
];
|
||||
|
||||
@@ -322,30 +332,29 @@
|
||||
|
||||
services.mpd = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
audio_output {
|
||||
type "pipewire"
|
||||
name "Pipewire Output"
|
||||
}
|
||||
extraConfig = ''
|
||||
audio_output {
|
||||
type "pipewire"
|
||||
name "Pipewire Output"
|
||||
}
|
||||
'';
|
||||
musicDirectory = "/mnt/share/media/music";
|
||||
musicDirectory = "/mnt/share/media/music";
|
||||
};
|
||||
|
||||
services.mpd-discord-rpc = {
|
||||
enable = true;
|
||||
settings = {
|
||||
hosts = [ "localhost:6600" ];
|
||||
settings = {
|
||||
hosts = ["localhost:6600"];
|
||||
format = {
|
||||
details = "$track - $title [$duration]";
|
||||
state = "$artist / $album ($date)";
|
||||
timestamp = "elapsed";
|
||||
timestamp = "elapsed";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.mpd-mpris = {
|
||||
enable = true;
|
||||
mpd.useLocal = true;
|
||||
mpd.useLocal = true;
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user