1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-04-03 18:14:15 +00:00
This commit is contained in:
Rae 5e 2025-03-15 15:29:27 -04:00
parent 4a5e1f4c40
commit 1f4a53d646
Signed by: rae
GPG key ID: 5B1A0FAB9BAB81EE
5 changed files with 234 additions and 195 deletions

View file

@ -1,147 +1,182 @@
{ pkgs, inputs, ... }: { { pkgs, inputs, ... }: {
nixpkgs.overlays = import ../overlays.nix inputs; nixpkgs.overlays = import ../overlays.nix inputs;
home = { home = {
stateVersion = "24.11"; stateVersion = "24.11";
username = "rae"; username = "rae";
homeDirectory = "/home/rae"; homeDirectory = "/home/rae";
sessionVariables = { sessionVariables = {
BROWSER = "firefox"; BROWSER = "firefox";
TERM = "kitty"; TERM = "kitty";
}; };
file = { file = {
".twmrc".source = ../../configs/twm; ".twmrc".source = ../../configs/twm;
".local/share/themes".source = ../../configs/openbox/themes; ".local/share/themes".source = ../../configs/openbox/themes;
#! dumb (see todo) #! dumb (see todo)
".local/share/PrismLauncher" = { ".local/share/PrismLauncher" = {
source = ../../assets/minecraft; source = ../../assets/minecraft;
recursive = true; recursive = true;
}; };
}; };
}; };
xdg.configFile = { xdg.configFile = {
"openbox".source = ../../configs/openbox; "openbox".source = ../../configs/openbox;
"rmpc".source = ../../configs/rmpc; "rmpc".source = ../../configs/rmpc;
}; };
accounts.email = { accounts.email = {
maildirBasePath = "mail"; maildirBasePath = "mail";
accounts.rae = rec { accounts.rae = rec {
primary = true; primary = true;
address = "rae@roxwize.xyz"; address = "rae@roxwize.xyz";
realName = "Rae 5e"; realName = "Rae 5e";
userName = address; userName = address;
passwordCommand = "pass show mail/rae"; passwordCommand = "pass show mail/rae";
signature = { signature = {
showSignature = "append"; showSignature = "append";
text = "rae <roxwize.xyz>"; text = "rae <roxwize.xyz>";
delimiter = "~~~~"; delimiter = "~~~~";
}; };
gpg = { gpg = {
key = "6F92AED338D339DE14E7491C5B1A0FAB9BAB81EE"; key = "6F92AED338D339DE14E7491C5B1A0FAB9BAB81EE";
signByDefault = true; signByDefault = true;
}; };
imap = { imap = {
host = "mail.privateemail.com"; host = "mail.privateemail.com";
port = 993; port = 993;
}; };
smtp = { smtp = {
host = imap.host; host = imap.host;
port = 465; port = 465;
}; };
thunderbird.enable = true; thunderbird.enable = true;
}; };
}; };
programs = { programs = {
fish = { fish = {
enable = true; enable = true;
shellInit = '' shellInit = ''
set -g fish_greeting set -g fish_greeting
''; '';
plugins = [ plugins = [
{ {
name = "fishline"; name = "fishline";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "0rax"; owner = "0rax";
repo = "fishline"; repo = "fishline";
rev = "v3.3.0"; rev = "v3.3.0";
sha256 = "0j14nvhbz80pfkyzmwmj8x5b4pbngg9z4w04c6qrx3fip8fv70im"; sha256 = "0j14nvhbz80pfkyzmwmj8x5b4pbngg9z4w04c6qrx3fip8fv70im";
}; };
} }
]; ];
}; };
git = { git = {
enable = true; enable = true;
userName = "roxwize"; userName = "roxwize";
userEmail = "rae@roxwize.xyz"; userEmail = "rae@roxwize.xyz";
extraConfig = { extraConfig = {
core = { core = {
editor = "nvim"; editor = "nvim";
}; };
}; };
}; };
kitty = { kitty = {
enable = true; enable = true;
font = { font = {
name = "GohuFont"; name = "GohuFont";
size = 10.5; size = 10.5;
}; };
themeFile = "mayukai"; themeFile = "mayukai";
}; };
password-store = { password-store = {
enable = true; enable = true;
settings = { settings = {
PASSWORD_STORE_DIR = "/home/rae/.dotfiles/secrets"; PASSWORD_STORE_DIR = "/home/rae/.dotfiles/secrets";
PASSWORD_STORE_KEY = "6F92AED338D339DE14E7491C5B1A0FAB9BAB81EE"; PASSWORD_STORE_KEY = "6F92AED338D339DE14E7491C5B1A0FAB9BAB81EE";
}; };
}; };
rofi = { rofi = {
enable = true; enable = true;
font = "Fira Code Light 11"; font = "Fira Code Light 11";
terminal = "kitty"; terminal = "kitty";
pass = { pass = {
enable = true; enable = true;
stores = [ "/home/rae/.dotfiles/secrets" ]; stores = [ "/home/rae/.dotfiles/secrets" ];
}; };
}; };
}; tiny = {
enable = true;
settings = {
defaults = {
nicks = [ "roxwize" ];
notify = "mentions";
realname = "rae 5e";
};
key_map = {
ctrl_alt_left = "tab_prev";
ctrl_alt_right = "tab_next";
};
layout = "aligned";
log_dir = "/tmp/tinylog";
servers = [
{
addr = "irc.libera.chat";
join = [
"#wikipedia-en"
"#wikipedia-abstract"
"#libera"
];
nicks = [ "roxwize" ];
port = 6697;
realname = "rae 5e";
sasl = {
username = "roxwize";
password.command = "pass show libera_chat";
};
tls = true;
}
];
scrollback = 65535;
};
};
};
services = { services = {
flameshot = { flameshot = {
enable = true; enable = true;
settings = { settings = {
General = { General = {
disabledTrayIcon = true; disabledTrayIcon = true;
showStartupLaunchMessage = false; showStartupLaunchMessage = false;
}; };
}; };
}; };
mpd = { mpd = {
enable = true; enable = true;
musicDirectory = "/mnt/world/music"; musicDirectory = "/mnt/world/music";
extraConfig = '' extraConfig = ''
audio_output { audio_output {
type "pipewire" type "pipewire"
name "main" name "main"
} }
log_file "/tmp/mpd.log" log_file "/tmp/mpd.log"
''; '';
}; };
mpdris2 = { mpdris2 = {
enable = true; enable = true;
mpd.musicDirectory = "/mnt/world/music"; mpd.musicDirectory = "/mnt/world/music";
multimediaKeys = true; multimediaKeys = true;
notifications = true; notifications = true;
}; };
mpris-proxy.enable = true; mpris-proxy.enable = true;
}; };
gtk = { gtk = {
enable = true; enable = true;
cursorTheme.name = "Posy's Cursor"; cursorTheme.name = "Posy's Cursor";
theme.name = "io.elementary.stylesheet.blueberry"; theme.name = "io.elementary.stylesheet.blueberry";
}; };
} }

View file

@ -1,58 +1,59 @@
{ pkgs, ... }: { { pkgs, ... }: {
programs.vscode = { programs.vscode = {
enable = true; enable = true;
package = pkgs.vscodium; package = pkgs.vscodium;
enableUpdateCheck = false; enableUpdateCheck = false;
enableExtensionUpdateCheck = false; enableExtensionUpdateCheck = false;
extensions = with pkgs.vscode-extensions; [ extensions = with pkgs.vscode-extensions; [
catppuccin.catppuccin-vsc catppuccin.catppuccin-vsc
catppuccin.catppuccin-vsc-icons catppuccin.catppuccin-vsc-icons
editorconfig.editorconfig editorconfig.editorconfig
esbenp.prettier-vscode esbenp.prettier-vscode
jnoortheen.nix-ide jnoortheen.nix-ide
llvm-vs-code-extensions.vscode-clangd llvm-vs-code-extensions.vscode-clangd
mesonbuild.mesonbuild mesonbuild.mesonbuild
ms-vscode.live-server ms-vscode.live-server
rust-lang.rust-analyzer rust-lang.rust-analyzer
skellock.just skellock.just
vadimcn.vscode-lldb vadimcn.vscode-lldb
wakatime.vscode-wakatime wakatime.vscode-wakatime
]; ];
userSettings = userSettings =
let let
df = lang: formatter: { df = lang: formatter: {
name = "[" + lang + "]"; name = "[" + lang + "]";
value = { value = {
"editor.defaultFormatter" = formatter; "editor.defaultFormatter" = formatter;
}; };
}; };
in { in {
"editor.detectIndentation" = false; "editor.detectIndentation" = false;
"editor.fontFamily" = "'Fira Code Light', monospace"; "editor.fontFamily" = "'Fira Code Light', monospace";
# "editor.fontLigatures" = true; # "editor.fontLigatures" = true;
"editor.formatOnSave" = false; "editor.formatOnSave" = false;
"editor.indentSize" = 4; "editor.indentSize" = 4;
"editor.insertSpaces" = false; "editor.insertSpaces" = false;
"editor.tabSize" = 4; "editor.tabSize" = 4;
"explorer.confirmDelete" = false; "explorer.confirmDelete" = false;
"explorer.confirmDragAndDrop" = false; "explorer.confirmDragAndDrop" = false;
"mesonbuild.buildFolder" = "build"; "mesonbuild.buildFolder" = "build";
"prettier.tabWidth" = 4; "prettier.tabWidth" = 4;
"prettier.trailingComma" = "none"; "prettier.trailingComma" = "none";
"prettier.singleAttributePerLine" = false; "prettier.singleAttributePerLine" = false;
"prettier.useEditorConfig" = true; "prettier.useEditorConfig" = true;
"prettier.useTabs" = true; "prettier.useTabs" = true;
"svelte.enable-ts-plugin" = true; "svelte.enable-ts-plugin" = true;
"telemetry.telemetryLevel" = "off"; "telemetry.telemetryLevel" = "off";
"workbench.activityBar.iconClickBehavior" = "toggle"; "workbench.activityBar.iconClickBehavior" = "toggle";
"workbench.activityBar.location" = "bottom"; "workbench.activityBar.location" = "bottom";
"workbench.colorTheme" = "Catppuccin Frappé"; "workbench.colorTheme" = "Catppuccin Frappé";
"workbench.iconTheme" = "catppuccin-frappe"; "workbench.iconTheme" = "catppuccin-frappe";
} // builtins.listToAttrs [ "workbench.startupEditor" = "none";
(df "css" "esbenp.prettier-vscode") } // builtins.listToAttrs [
(df "html" "esbenp.prettier-vscode") (df "css" "esbenp.prettier-vscode")
(df "typescript" "esbenp.prettier-vscode") (df "html" "esbenp.prettier-vscode")
(df "javascript" "esbenp.prettier-vscode") (df "typescript" "esbenp.prettier-vscode")
]; (df "javascript" "esbenp.prettier-vscode")
}; ];
};
} }

View file

@ -67,6 +67,7 @@
playit-agent # The playit program playit-agent # The playit program
qbittorrent # Featureful free software BitTorrent client qbittorrent # Featureful free software BitTorrent client
slack # Desktop client for Slack slack # Desktop client for Slack
tiny # Console IRC client
vesktop # Alternate client for Discord with Vencord built-in vesktop # Alternate client for Discord with Vencord built-in
yt-dlp # Command-line tool to download videos from YouTube.com and other sites (youtube-dl fork) yt-dlp # Command-line tool to download videos from YouTube.com and other sites (youtube-dl fork)
# system tools # system tools

View file

@ -13,10 +13,12 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
# output vasm6502, vasmm68k, and vasmz80
cmakeFlags = [ "-DVASM_CPU=m68k" "-DVASM_SYNTAX=psi-x" ]; cmakeFlags = [ "-DVASM_CPU=m68k" "-DVASM_SYNTAX=psi-x" ];
meta = with lib; { meta = with lib; {
description = "Portable and retargetable assembler (Motorola 68000)"; description = "Portable and retargetable assembler";
homepage = "https://github.com/NaotoNTP/vasm-psi-x"; homepage = "https://github.com/NaotoNTP/vasm-psi-x";
license = licenses.free; license = licenses.free;
}; };

BIN
secrets/libera_chat.gpg Normal file

Binary file not shown.