restructure home as submodule of each system
This commit is contained in:
parent
ed8de34c0f
commit
88ad3517bf
26 changed files with 6 additions and 6 deletions
6
modules/system/home/art/default.nix
Normal file
6
modules/system/home/art/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
calibre
|
||||
krita
|
||||
];
|
||||
}
|
114
modules/system/home/browser/default.nix
Normal file
114
modules/system/home/browser/default.nix
Normal file
|
@ -0,0 +1,114 @@
|
|||
{ pkgs, ... }: {
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
profiles = {
|
||||
"default" = {
|
||||
id = 0;
|
||||
|
||||
search.default = "DuckDuckGoo";
|
||||
search.privateDefault = "DuckDuckGoo";
|
||||
search.engines = {
|
||||
"DuckDuckGo".metaData.hidden = true;
|
||||
"Google".metaData.hidden = true;
|
||||
"Amazon.com".metaData.hidden = true;
|
||||
"Bing".metaData.hidden = true;
|
||||
"Wikipedia (en)".metaData.hidden = true;
|
||||
"Startpage" = {
|
||||
urls = [{
|
||||
template = "https://startpage.com/do/search";
|
||||
params = [
|
||||
{ name = "query"; value = "{searchTerms}"; }
|
||||
];
|
||||
}];
|
||||
definedAliases = [ "@sp" ];
|
||||
};
|
||||
"DuckDuckGoo" = {
|
||||
urls = [{
|
||||
template = "https://duckduckgo.com/";
|
||||
params = [
|
||||
{ name = "q"; value = "{searchTerms}"; }
|
||||
];
|
||||
}];
|
||||
definedAliases = [ "@ddg" ];
|
||||
};
|
||||
"Googlee" = {
|
||||
urls = [{
|
||||
template = "https://google.com/search";
|
||||
params = [
|
||||
{ name = "q"; value = "{searchTerms}"; }
|
||||
];
|
||||
}];
|
||||
definedAliases = [ "@g" ];
|
||||
};
|
||||
"Wikipedia" = {
|
||||
urls = [{
|
||||
template = "https://en.wikipedia.org/wiki/Special:Search";
|
||||
params = [
|
||||
{ name = "search"; value = "{searchTerms}"; }
|
||||
];
|
||||
}];
|
||||
definedAliases = [ "@wiki" ];
|
||||
};
|
||||
"YouTube" = {
|
||||
urls = [{
|
||||
template = "https://youtube.com/results";
|
||||
params = [
|
||||
{ name = "search_query"; value = "{searchTerms}"; }
|
||||
];
|
||||
}];
|
||||
definedAliases = [ "@yt" ];
|
||||
};
|
||||
"Nix Packages" = {
|
||||
urls = [{
|
||||
template = "https://search.nixos.org/packages";
|
||||
params = [
|
||||
{ name = "type"; value = "packages"; }
|
||||
{ name = "query"; value = "{searchTerms}"; }
|
||||
];
|
||||
}];
|
||||
definedAliases = [ "@np" ];
|
||||
};
|
||||
};
|
||||
search.force = true;
|
||||
search.order = [
|
||||
"Startpage"
|
||||
"DuckDuckGoo"
|
||||
"Googlee"
|
||||
"Wikipedia"
|
||||
"YouTube"
|
||||
"Nix Packages"
|
||||
];
|
||||
|
||||
bookmarks = { };
|
||||
|
||||
settings = {
|
||||
"browser.startup.blankWindow" = true;
|
||||
"browser.startup.page" = 3;
|
||||
"extensions.pocket.enabled" = false;
|
||||
"identity.fxaccounts.enabled" = false;
|
||||
"browser.tabs.closeWindowWithLastTab" = false;
|
||||
"browser.bookmarks.addedImportButton" = false;
|
||||
"dom.security.https_only_mode" = true;
|
||||
"browser.newtabpage.enabled" = false;
|
||||
"browser.shell.checkDefaultBrowser" = false;
|
||||
"signon.rememberSignons" = false;
|
||||
"browser.preferences.moreFromMozilla" = false;
|
||||
"browser.toolbars.bookmarks.visibility" = "never";
|
||||
"media.videocontrols.picture-in-picture.enabled" = false;
|
||||
"browser.translation.enable" = false;
|
||||
"media.cache_readhead_limit" = 9999;
|
||||
"media.cache_resume_threshold" = 9999;
|
||||
};
|
||||
|
||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
bitwarden
|
||||
sponsorblock
|
||||
ublock-origin
|
||||
consent-o-matic
|
||||
pronoundb
|
||||
web-scrobbler
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
6
modules/system/home/chat/default.nix
Normal file
6
modules/system/home/chat/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
signal-desktop
|
||||
fractal
|
||||
];
|
||||
}
|
15
modules/system/home/cursor/default.nix
Normal file
15
modules/system/home/cursor/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ pkgs, ... }: {
|
||||
home.pointerCursor = let getFrom = url: hash: name: {
|
||||
gtk.enable = true;
|
||||
x11.enable = true;
|
||||
name = name;
|
||||
size = 24;
|
||||
package = pkgs.runCommand "moveUp" {} ''
|
||||
mkdir -p $out/share/icons
|
||||
ln -s ${pkgs.fetchzip{
|
||||
url = url;
|
||||
hash = hash;
|
||||
}} $out/share/icons/${name}
|
||||
'';
|
||||
}; in getFrom "https://github.com/rose-pine/cursor/releases/download/v1.1.0/BreezeX-RosePine-Linux.tar.xz" "sha256-t5xwAPGhuQUfGThedLsmtZEEp1Ljjo3Udhd5Ql3O67c=" "BreezX-RosePine-Linux";
|
||||
}
|
37
modules/system/home/default.nix
Normal file
37
modules/system/home/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ ... }: {
|
||||
imports = [
|
||||
./art
|
||||
./browser
|
||||
./chat
|
||||
./cursor
|
||||
./discord
|
||||
./direnv
|
||||
./editor
|
||||
./email
|
||||
./gdb
|
||||
./git
|
||||
./media
|
||||
./shell
|
||||
./terminal
|
||||
./themes
|
||||
./utils
|
||||
];
|
||||
|
||||
home = {
|
||||
username = "twoneis";
|
||||
homeDirectory = "/home/twoneis";
|
||||
|
||||
stateVersion = "22.11";
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
dconf = {
|
||||
enable = true;
|
||||
settings = {
|
||||
"org/gnome/desktop/interface" = {
|
||||
color-scheme = "prefer-dark";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
9
modules/system/home/direnv/default.nix
Normal file
9
modules/system/home/direnv/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ pkgs, ... }: {
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
enableBashIntegration = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
|
||||
programs.bash.enable = true;
|
||||
}
|
5
modules/system/home/discord/default.nix
Normal file
5
modules/system/home/discord/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
webcord
|
||||
];
|
||||
}
|
9
modules/system/home/editor/default.nix
Normal file
9
modules/system/home/editor/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ pkgs, ... }: {
|
||||
programs.helix = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
extraPackages = with pkgs; [ nil marksman ];
|
||||
settings = import ./helix-config.nix;
|
||||
languages = import ./helix-languages.nix;
|
||||
};
|
||||
}
|
29
modules/system/home/editor/helix-config.nix
Normal file
29
modules/system/home/editor/helix-config.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
theme = "rose_pine";
|
||||
|
||||
editor = {
|
||||
line-number = "relative";
|
||||
cursorline = true;
|
||||
auto-format = true;
|
||||
soft-wrap.enable = true;
|
||||
|
||||
whitespace.render = "all";
|
||||
|
||||
cursor-shape = {
|
||||
insert = "bar";
|
||||
normal = "block";
|
||||
select = "underline";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
keys.normal = {
|
||||
h = "move_char_left";
|
||||
t = "move_line_up";
|
||||
n = "move_line_down";
|
||||
s = "move_char_right";
|
||||
|
||||
C-n = "search_next";
|
||||
C-t = "search_prev";
|
||||
};
|
||||
}
|
17
modules/system/home/editor/helix-languages.nix
Normal file
17
modules/system/home/editor/helix-languages.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
language-server = {
|
||||
asm-lsp = {
|
||||
command = "asm-lsp";
|
||||
};
|
||||
};
|
||||
|
||||
language = [{
|
||||
name = "gas";
|
||||
scope = "source.gas";
|
||||
auto-format = false;
|
||||
language-servers = [ "asm-lsp" ];
|
||||
indent = { tab-width = 8; unit = " "; };
|
||||
roots = [];
|
||||
file-types = ["S"];
|
||||
}];
|
||||
}
|
10
modules/system/home/email/default.nix
Normal file
10
modules/system/home/email/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ ... }: {
|
||||
programs.thunderbird = {
|
||||
enable = true;
|
||||
profiles = {
|
||||
"default" = {
|
||||
isDefault = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
12
modules/system/home/gdb/default.nix
Normal file
12
modules/system/home/gdb/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ ... }: {
|
||||
home.file = {
|
||||
".gef.rc" = {
|
||||
# source = ./gef-for-c;
|
||||
source = ./gef-for-asm;
|
||||
};
|
||||
".gdbinit" = {
|
||||
# source = ./gdb-for-c;
|
||||
source = ./gdb-for-asm;
|
||||
};
|
||||
};
|
||||
}
|
4
modules/system/home/gdb/gdb-for-asm
Normal file
4
modules/system/home/gdb/gdb-for-asm
Normal file
|
@ -0,0 +1,4 @@
|
|||
source /usr/share/gef/gef.py
|
||||
set debuginfod enabled off
|
||||
set disassembly-flavor att
|
||||
|
5
modules/system/home/gdb/gdb-for-c
Normal file
5
modules/system/home/gdb/gdb-for-c
Normal file
|
@ -0,0 +1,5 @@
|
|||
source /usr/share/gef/gef.py
|
||||
set debuginfod enabled off
|
||||
set disassembly-flavor intel
|
||||
set detach-on-fork off
|
||||
set follow-fork-mode child
|
126
modules/system/home/gdb/gef-for-asm
Normal file
126
modules/system/home/gdb/gef-for-asm
Normal file
|
@ -0,0 +1,126 @@
|
|||
[context]
|
||||
clear_screen = True
|
||||
enable = True
|
||||
grow_stack_down = True
|
||||
ignore_registers =
|
||||
layout = source regs stack
|
||||
libc_args = False
|
||||
libc_args_path =
|
||||
nb_lines_backtrace = 10
|
||||
nb_lines_backtrace_before = 2
|
||||
nb_lines_code = 6
|
||||
nb_lines_code_prev = 3
|
||||
nb_lines_stack = 10
|
||||
nb_lines_threads = -1
|
||||
peek_calls = True
|
||||
peek_ret = True
|
||||
redirect =
|
||||
show_opcodes_size = 0
|
||||
show_registers_raw = False
|
||||
show_source_code_variable_values = True
|
||||
show_stack_raw = False
|
||||
|
||||
[dereference]
|
||||
max_recursion = 7
|
||||
|
||||
[entry-break]
|
||||
entrypoint_symbols = main _main __libc_start_main __uClibc_main start _start
|
||||
|
||||
[gef]
|
||||
autosave_breakpoints_file =
|
||||
debug = False
|
||||
disable_color = False
|
||||
extra_plugins_dir =
|
||||
follow_child = True
|
||||
readline_compat = False
|
||||
show_deprecation_warnings = True
|
||||
tempdir = /tmp/gef
|
||||
|
||||
[got]
|
||||
function_not_resolved = yellow
|
||||
function_resolved = green
|
||||
|
||||
[heap-analysis-helper]
|
||||
check_double_free = True
|
||||
check_free_null = False
|
||||
check_heap_overlap = True
|
||||
check_uaf = True
|
||||
check_weird_free = True
|
||||
|
||||
[heap-chunks]
|
||||
peek_nb_byte = 16
|
||||
|
||||
[hexdump]
|
||||
always_show_ascii = False
|
||||
|
||||
[highlight]
|
||||
regex = False
|
||||
|
||||
[pattern]
|
||||
length = 1024
|
||||
|
||||
[pcustom]
|
||||
max_depth = 4
|
||||
struct_path = /tmp/gef/structs
|
||||
structure_name = bold blue
|
||||
structure_size = green
|
||||
structure_type = bold red
|
||||
|
||||
[process-search]
|
||||
ps_command = /usr/bin/ps auxww
|
||||
|
||||
[syscall-args]
|
||||
path = /tmp/gef/syscall-tables
|
||||
|
||||
[theme]
|
||||
address_code = red
|
||||
address_heap = green
|
||||
address_stack = pink
|
||||
context_title_line = gray
|
||||
context_title_message = cyan
|
||||
default_title_line = gray
|
||||
default_title_message = cyan
|
||||
dereference_base_address = cyan
|
||||
dereference_code = gray
|
||||
dereference_register_value = bold blue
|
||||
dereference_string = yellow
|
||||
disassemble_current_instruction = green
|
||||
old_context = gray
|
||||
registers_register_name = blue
|
||||
registers_value_changed = bold red
|
||||
source_current_line = green
|
||||
table_heading = blue
|
||||
|
||||
[trace-run]
|
||||
max_tracing_recursion = 1
|
||||
tracefile_prefix = ./gef-trace-
|
||||
|
||||
[aliases]
|
||||
ctx = context
|
||||
telescope = dereference
|
||||
flags = edit-flags
|
||||
start = entry-break
|
||||
fmtstr-helper = format-string-helper
|
||||
hl = highlight
|
||||
highlight set = highlight add
|
||||
hla = highlight add
|
||||
hlc = highlight clear
|
||||
highlight ls = highlight list
|
||||
hll = highlight list
|
||||
highlight delete = highlight remove
|
||||
highlight del = highlight remove
|
||||
highlight unset = highlight remove
|
||||
highlight rm = highlight remove
|
||||
hlr = highlight remove
|
||||
nb = name-break
|
||||
pattern offset = pattern search
|
||||
pf = print-format
|
||||
ps = process-search
|
||||
status = process-status
|
||||
lookup = scan
|
||||
grep = search-pattern
|
||||
xref = search-pattern
|
||||
sc-get = shellcode get
|
||||
sc-search = shellcode search
|
||||
screen-setup = tmux-setup
|
||||
|
126
modules/system/home/gdb/gef-for-c
Normal file
126
modules/system/home/gdb/gef-for-c
Normal file
|
@ -0,0 +1,126 @@
|
|||
[context]
|
||||
clear_screen = True
|
||||
enable = True
|
||||
grow_stack_down = False
|
||||
ignore_registers =
|
||||
layout = source args memory extra
|
||||
libc_args = False
|
||||
libc_args_path =
|
||||
nb_lines_backtrace = 10
|
||||
nb_lines_backtrace_before = 2
|
||||
nb_lines_code = 6
|
||||
nb_lines_code_prev = 3
|
||||
nb_lines_stack = 10
|
||||
nb_lines_threads = -1
|
||||
peek_calls = True
|
||||
peek_ret = True
|
||||
redirect =
|
||||
show_opcodes_size = 0
|
||||
show_registers_raw = False
|
||||
show_source_code_variable_values = True
|
||||
show_stack_raw = False
|
||||
|
||||
[dereference]
|
||||
max_recursion = 7
|
||||
|
||||
[entry-break]
|
||||
entrypoint_symbols = main _main __libc_start_main __uClibc_main start _start
|
||||
|
||||
[gef]
|
||||
autosave_breakpoints_file =
|
||||
debug = False
|
||||
disable_color = False
|
||||
extra_plugins_dir =
|
||||
follow_child = True
|
||||
readline_compat = False
|
||||
show_deprecation_warnings = True
|
||||
tempdir = /tmp/gef
|
||||
|
||||
[got]
|
||||
function_not_resolved = yellow
|
||||
function_resolved = green
|
||||
|
||||
[heap-analysis-helper]
|
||||
check_double_free = True
|
||||
check_free_null = False
|
||||
check_heap_overlap = True
|
||||
check_uaf = True
|
||||
check_weird_free = True
|
||||
|
||||
[heap-chunks]
|
||||
peek_nb_byte = 16
|
||||
|
||||
[hexdump]
|
||||
always_show_ascii = False
|
||||
|
||||
[highlight]
|
||||
regex = False
|
||||
|
||||
[pattern]
|
||||
length = 1024
|
||||
|
||||
[pcustom]
|
||||
max_depth = 4
|
||||
struct_path = /tmp/gef/structs
|
||||
structure_name = bold blue
|
||||
structure_size = green
|
||||
structure_type = bold red
|
||||
|
||||
[process-search]
|
||||
ps_command = /usr/bin/ps auxww
|
||||
|
||||
[syscall-args]
|
||||
path = /tmp/gef/syscall-tables
|
||||
|
||||
[theme]
|
||||
address_code = red
|
||||
address_heap = green
|
||||
address_stack = pink
|
||||
context_title_line = gray
|
||||
context_title_message = cyan
|
||||
default_title_line = gray
|
||||
default_title_message = cyan
|
||||
dereference_base_address = cyan
|
||||
dereference_code = gray
|
||||
dereference_register_value = bold blue
|
||||
dereference_string = yellow
|
||||
disassemble_current_instruction = green
|
||||
old_context = gray
|
||||
registers_register_name = blue
|
||||
registers_value_changed = bold red
|
||||
source_current_line = green
|
||||
table_heading = blue
|
||||
|
||||
[trace-run]
|
||||
max_tracing_recursion = 1
|
||||
tracefile_prefix = ./gef-trace-
|
||||
|
||||
[aliases]
|
||||
ctx = context
|
||||
telescope = dereference
|
||||
flags = edit-flags
|
||||
start = entry-break
|
||||
fmtstr-helper = format-string-helper
|
||||
hl = highlight
|
||||
highlight set = highlight add
|
||||
hla = highlight add
|
||||
hlc = highlight clear
|
||||
highlight ls = highlight list
|
||||
hll = highlight list
|
||||
highlight delete = highlight remove
|
||||
highlight del = highlight remove
|
||||
highlight unset = highlight remove
|
||||
highlight rm = highlight remove
|
||||
hlr = highlight remove
|
||||
nb = name-break
|
||||
pattern offset = pattern search
|
||||
pf = print-format
|
||||
ps = process-search
|
||||
status = process-status
|
||||
lookup = scan
|
||||
grep = search-pattern
|
||||
xref = search-pattern
|
||||
sc-get = shellcode get
|
||||
sc-search = shellcode search
|
||||
screen-setup = tmux-setup
|
||||
|
16
modules/system/home/git/default.nix
Normal file
16
modules/system/home/git/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ pkgs, ... }: {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "twoneis";
|
||||
userEmail = "sanjay29@sapura.de";
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
push.autoSetupRemote = true;
|
||||
};
|
||||
};
|
||||
|
||||
programs.gh = {
|
||||
enable = true;
|
||||
gitCredentialHelper.enable = true;
|
||||
};
|
||||
}
|
21
modules/system/home/media/default.nix
Normal file
21
modules/system/home/media/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
spotify
|
||||
image-roll
|
||||
mopidy-muse
|
||||
];
|
||||
|
||||
services.mopidy = {
|
||||
enable = true;
|
||||
extensionPackages = with pkgs; [
|
||||
mopidy-local
|
||||
mopidy-tidal
|
||||
mopidy-spotify
|
||||
mopidy-tidal
|
||||
];
|
||||
};
|
||||
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
39
modules/system/home/shell/default.nix
Normal file
39
modules/system/home/shell/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
thefuck
|
||||
git
|
||||
];
|
||||
|
||||
home.shellAliases = {
|
||||
ga = "git add";
|
||||
gc = "git commit -m ";
|
||||
gca = "git add -A && git commit -am ";
|
||||
gs = "git stash";
|
||||
gsp = "git stash pop";
|
||||
gp = "git push";
|
||||
gpl = "git pull --recurse-submodules";
|
||||
gst = "git status";
|
||||
|
||||
nrb = "sudo nixos-rebuild switch --flake . --cores 0";
|
||||
nd = "nix develop";
|
||||
|
||||
neofetch = "hyfetch";
|
||||
};
|
||||
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableAutosuggestions = true;
|
||||
enableVteIntegration = true;
|
||||
history.ignoreAllDups = true;
|
||||
historySubstringSearch.enable = true;
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [ "git" "thefuck" ];
|
||||
theme = "bira";
|
||||
};
|
||||
};
|
||||
}
|
217
modules/system/home/terminal/alacritty-config.nix
Normal file
217
modules/system/home/terminal/alacritty-config.nix
Normal file
|
@ -0,0 +1,217 @@
|
|||
{
|
||||
# Rose Pine
|
||||
colors = {
|
||||
primary = {
|
||||
foreground = "#e0def4";
|
||||
background = "#191724";
|
||||
dim_foreground = "#908caa";
|
||||
bright_foreground = "#e0def4";
|
||||
};
|
||||
cursor = {
|
||||
text = "#e0def4";
|
||||
cursor = "#524f67";
|
||||
};
|
||||
vi_mode_cursor = {
|
||||
text = "#e0def4";
|
||||
cursor = "#524f67";
|
||||
};
|
||||
search = {
|
||||
matches = {
|
||||
foreground = "#908caa";
|
||||
background = "#26233a";
|
||||
};
|
||||
focused_match = {
|
||||
foreground = "#191724";
|
||||
background = "#ebbcba";
|
||||
};
|
||||
};
|
||||
hints = {
|
||||
start = {
|
||||
foreground = "#908caa";
|
||||
background = "#1f1d2e";
|
||||
};
|
||||
end = {
|
||||
foreground = "#6e6a86";
|
||||
background = "#1f1d2e";
|
||||
};
|
||||
};
|
||||
line_indicator = {
|
||||
foreground = "None";
|
||||
background = "None";
|
||||
};
|
||||
footer_bar = {
|
||||
foreground = "#e0def4";
|
||||
background = "#1f1d2e";
|
||||
};
|
||||
selection = {
|
||||
text = "#e0def4";
|
||||
background = "#1f1d2e";
|
||||
};
|
||||
normal = {
|
||||
black = "#26233a";
|
||||
red = "#eb6f92";
|
||||
green = "#31748f";
|
||||
yellow = "#f6c177";
|
||||
blue = "#9ccfd8";
|
||||
magenta = "#c4a7e7";
|
||||
cyan = "#ebbcba";
|
||||
white = "#e0def4";
|
||||
};
|
||||
bright = {
|
||||
black = "#6e6a86";
|
||||
red = "#eb6f92";
|
||||
green = "#31748f";
|
||||
yellow = "#f6c177";
|
||||
blue = "#9ccfd8";
|
||||
magenta = "#c4a7e7";
|
||||
cyan = "#ebbcba";
|
||||
white = "#e0def4";
|
||||
};
|
||||
dim = {
|
||||
black = "#6e6a86";
|
||||
red = "#eb6f92";
|
||||
green = "#31748f";
|
||||
yellow = "#f6c177";
|
||||
blue = "#9ccfd8";
|
||||
magenta = "#c4a7e7";
|
||||
cyan = "#ebbcba";
|
||||
white = "#e0def4";
|
||||
};
|
||||
};
|
||||
|
||||
# Rose Pine (old)
|
||||
# colors = {
|
||||
# primary = {
|
||||
# background = "0x191724";
|
||||
# foreground = "0xe0def4";
|
||||
# };
|
||||
# cursor = {
|
||||
# text = "0xe0def4";
|
||||
# cursor = "0x524f67";
|
||||
# };
|
||||
# vi_mode_cursor = {
|
||||
# text = "0xe0def4";
|
||||
# cursor = "0x524f67";
|
||||
# };
|
||||
# line_indicator = {
|
||||
# foreground = "None";
|
||||
# background = "None";
|
||||
# };
|
||||
# selection = {
|
||||
# text = "0xe0def4";
|
||||
# background = "0x403d52";
|
||||
# };
|
||||
# normal = {
|
||||
# black = "0x26233a";
|
||||
# red = "0xeb6f92";
|
||||
# green = "0x31748f";
|
||||
# yellow = "0xf6c177";
|
||||
# blue = "0x9ccfd8";
|
||||
# magenta = "0xc4a7e7";
|
||||
# cyan = "0xebbcba";
|
||||
# white = "0xe0def4";
|
||||
# };
|
||||
# bright = {
|
||||
# black = "0x6e6a86";
|
||||
# red = "0xeb6f92";
|
||||
# green = "0x31748f";
|
||||
# yellow = "0xf6c177";
|
||||
# blue = "0x9ccfd8";
|
||||
# magenta = "0xc4a7e7";
|
||||
# cyan = "0xebbcba";
|
||||
# white = "0xe0def4";
|
||||
# };
|
||||
# hints = {
|
||||
# start = {
|
||||
# foreground = "#908caa";
|
||||
# background = "#1f1d2e";
|
||||
# };
|
||||
# end = {
|
||||
# foreground = "#6e6a86";
|
||||
# background = "#1f1d2e";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
|
||||
# # Rose Pine Dawn
|
||||
# colors = {
|
||||
# primary = {
|
||||
# foreground = "#575279";
|
||||
# background = "#faf4ed";
|
||||
# dim_foreground = "#797593";
|
||||
# bright_foreground = "#575279";
|
||||
# };
|
||||
# cursor = {
|
||||
# text = "#575279";
|
||||
# cursor = "#cecacd";
|
||||
# };
|
||||
# vi_mode_cursor = {
|
||||
# text = "#575279";
|
||||
# cursor = "#cecacd";
|
||||
# };
|
||||
# search = {
|
||||
# matches = {
|
||||
# foreground = "#797593";
|
||||
# background = "#f2e9e1";
|
||||
# };
|
||||
# focused_match = {
|
||||
# foreground = "#faf4ed";
|
||||
# background = "#d7827e";
|
||||
# };
|
||||
# };
|
||||
# hints = {
|
||||
# start = {
|
||||
# foreground = "#797593";
|
||||
# background = "#fffaf3";
|
||||
# };
|
||||
# end = {
|
||||
# foreground = "#9893a5";
|
||||
# background = "#fffaf3";
|
||||
# };
|
||||
# };
|
||||
# line_indicator = {
|
||||
# foreground = "None";
|
||||
# background = "None";
|
||||
# };
|
||||
# footer_bar = {
|
||||
# foreground = "#575279";
|
||||
# background = "#fffaf3";
|
||||
# };
|
||||
# selection = {
|
||||
# text = "#575279";
|
||||
# background = "#dfdad9";
|
||||
# };
|
||||
# normal = {
|
||||
# black = "#f2e9e1";
|
||||
# red = "#b4637a";
|
||||
# green = "#286983";
|
||||
# yellow = "#ea9d34";
|
||||
# blue = "#56949f";
|
||||
# magenta = "#907aa9";
|
||||
# cyan = "#d7827e";
|
||||
# white = "#575279";
|
||||
# };
|
||||
# bright = {
|
||||
# black = "#9893a5";
|
||||
# red = "#b4637a";
|
||||
# green = "#286983";
|
||||
# yellow = "#ea9d34";
|
||||
# blue = "#56949f";
|
||||
# magenta = "#907aa9";
|
||||
# cyan = "#d7827e";
|
||||
# white = "#575279";
|
||||
# };
|
||||
# dim = {
|
||||
# black = "#9893a5";
|
||||
# red = "#b4637a";
|
||||
# green = "#286983";
|
||||
# yellow = "#ea9d34";
|
||||
# blue = "#56949f";
|
||||
# magenta = "#907aa9";
|
||||
# cyan = "#d7827e";
|
||||
# white = "#575279";
|
||||
# };
|
||||
# };
|
||||
|
||||
window.decorations = "None";
|
||||
}
|
11
modules/system/home/terminal/default.nix
Normal file
11
modules/system/home/terminal/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
man-pages
|
||||
man-pages-posix
|
||||
];
|
||||
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = import ./alacritty-config.nix;
|
||||
};
|
||||
}
|
12
modules/system/home/themes/default.nix
Normal file
12
modules/system/home/themes/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ ... }: {
|
||||
qt = {
|
||||
enable = true;
|
||||
platformTheme = "gtk3";
|
||||
style.name = "adwaita-dark";
|
||||
};
|
||||
|
||||
gtk = {
|
||||
enable = true;
|
||||
theme.name = "Adwaita Dark";
|
||||
};
|
||||
}
|
45
modules/system/home/utils/default.nix
Normal file
45
modules/system/home/utils/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
man-pages
|
||||
man-pages-posix
|
||||
gnome.nautilus
|
||||
baobab
|
||||
tree
|
||||
zip
|
||||
unzip
|
||||
xorg.xeyes
|
||||
];
|
||||
|
||||
programs.man = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
programs.bottom = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
programs.lsd = {
|
||||
enable = true;
|
||||
enableAliases = true;
|
||||
};
|
||||
|
||||
programs.hyfetch = {
|
||||
enable = true;
|
||||
settings = {
|
||||
preset = "transgender";
|
||||
mode = "rgb";
|
||||
light_dark = "dark";
|
||||
lightness = 0.65;
|
||||
color_align = {
|
||||
mode = "horizontal";
|
||||
custom_colors = [];
|
||||
fore_back = null;
|
||||
};
|
||||
backend = "neofetch";
|
||||
args = null;
|
||||
distro = "nixos_old";
|
||||
pride_month_shown = [];
|
||||
pride_month_disable = false;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue