This commit is contained in:
Sojus07
2025-02-09 17:23:00 +01:00
parent 711422a98d
commit 842389873e
45 changed files with 3 additions and 321 deletions

View File

@ -24,7 +24,7 @@
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.fabian = import ./hosts/computer/modules/home/home.nix;
users.fabian = import ./hosts/default/home/home.nix;
};
}
];
@ -40,7 +40,7 @@
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.fabian = import ./hosts/laptop/modules/home/home.nix;
users.fabian = import ./hosts/default/home/home.nix;
};
}
];

View File

@ -1,49 +0,0 @@
{ config, pkgs, ... }:
{
programs.alacritty = {
enable = true;
settings = {
window.dimensions = {
lines = 4;
columns = 200;
};
font = {
size = 17;
normal = {
family = "TerminessNerdFont";
style = "Regular";
};
};
terminal = {
shell = "tmux";
};
colors = {
primary = {
foreground = "#f2f4f8";
background = "#121212";
};
normal = {
black = "#121212";
red = "#ee5396";
green = "#25be6a";
yellow = "#08bdba";
blue = "#78a9ff";
magenta = "#be95ff";
cyan = "#33b1ff";
white = "#dfdfe0";
};
bright = {
black = "#525252";
red = "#ff7eb6";
green = "#42be65";
yellow = "#3ddbd9";
blue = "#82cfff";
magenta = "#df99ff";
cyan = "#6ea6ff";
white = "#ffffff";
};
};
};
};
}

View File

@ -1,11 +0,0 @@
{ config, pkgs, ... }:
{
imports = [
../../../../default/windowManager/sway/default.nix
./alacritty.nix
./shell.nix
./git.nix
./tmux.nix
./mpd.nix
];
}

View File

@ -1,103 +0,0 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [
grc
];
programs = {
fish = {
enable = true;
generateCompletions = true;
interactiveShellInit = ''
set -gx DEVKITPRO "/opt/devkitpro";
set -gx DEVKITPPC "/opt/devkitpro/devkitPPC";
set -gx DEVKITA64 "/opt/devkitpro/devkitA64";
set -gx DEVKITARM "/opt/devkitpro/devkitARM";
set -gx PATH "/opt/devkitpro/tools/bin:$PATH";
'';
shellAliases = {
g = "git";
gc = "git commit";
ga = "git add -A";
http = "python3 -m http.server";
ls = "${pkgs.eza}/bin/eza -l --icons";
tree = "${pkgs.eza}/bin/eza --tree --icons";
cp = "cp -rv";
mv = "mv -v";
mkdir = "mkdir -pv";
update = "sudo nixos-rebuild switch --flake /etc/nixos#poggers --impure";
};
plugins = [
{
name = "z";
src = pkgs.fishPlugins.z.src;
}
{
name = "pisces";
src = pkgs.fishPlugins.pisces.src;
}
{
name = "fzf-fish";
src = pkgs.fishPlugins.fzf-fish.src;
}
{
name = "hydro";
src = pkgs.fishPlugins.hydro.src;
}
{
name = "grc";
src = pkgs.fishPlugins.grc.src;
}
{
name = "git-abbr";
src = pkgs.fishPlugins.git-abbr.src;
}
{
name = "forgit";
src = pkgs.fishPlugins.forgit.src;
}
{
name = "colored-man-pages";
src = pkgs.fishPlugins.colored-man-pages.src;
}
{
name = "bobthefisher";
src = pkgs.fishPlugins.bobthefisher.src;
}
];
};
bash = {
enable = false;
enableCompletion = true;
sessionVariables = {
DEVKITPRO = "/opt/devkitpro";
DEVKITPPC = "/opt/devkitpro/devkitPPC";
DEVKITA64 = "/opt/devkitpro/devkitA64";
DEVKITARM = "/opt/devkitpro/devkitARM";
PATH = "/opt/devkitpro/tools/bin:$PATH";
};
shellAliases = {
http = "python3 -m http.server";
rm = "rm $@ -v -I";
ls = "${pkgs.eza}/bin/eza -l --icons";
cp = "cp -rv";
mv = "mv -v";
mkdir = "mkdir -pv";
update = "doas nixos-rebuild switch";
};
shellOptions = [
"histappend"
"checkwinsize"
"extglob"
"globstar"
"checkjobs"
];
initExtra = ''
PS1="(\u) % "
eval "$(fzf --bash)"
complete -cf doas
'';
};
};
}

View File

@ -1,7 +1,7 @@
{ config, pkgs, ... }:
{
imports = [
../../../../default/windowManager/sway/default.nix
../../windowManager/sway/default.nix
./alacritty.nix
./shell.nix
./git.nix

View File

Before

Width:  |  Height:  |  Size: 534 KiB

After

Width:  |  Height:  |  Size: 534 KiB

View File

Before

Width:  |  Height:  |  Size: 12 MiB

After

Width:  |  Height:  |  Size: 12 MiB

View File

Before

Width:  |  Height:  |  Size: 2.3 MiB

After

Width:  |  Height:  |  Size: 2.3 MiB

View File

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

Before

Width:  |  Height:  |  Size: 181 KiB

After

Width:  |  Height:  |  Size: 181 KiB

View File

Before

Width:  |  Height:  |  Size: 754 KiB

After

Width:  |  Height:  |  Size: 754 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

View File

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

Before

Width:  |  Height:  |  Size: 164 KiB

After

Width:  |  Height:  |  Size: 164 KiB

View File

Before

Width:  |  Height:  |  Size: 964 KiB

After

Width:  |  Height:  |  Size: 964 KiB

View File

Before

Width:  |  Height:  |  Size: 6.2 MiB

After

Width:  |  Height:  |  Size: 6.2 MiB

View File

Before

Width:  |  Height:  |  Size: 19 MiB

After

Width:  |  Height:  |  Size: 19 MiB

View File

Before

Width:  |  Height:  |  Size: 410 KiB

After

Width:  |  Height:  |  Size: 410 KiB

View File

Before

Width:  |  Height:  |  Size: 759 KiB

After

Width:  |  Height:  |  Size: 759 KiB

View File

Before

Width:  |  Height:  |  Size: 486 KiB

After

Width:  |  Height:  |  Size: 486 KiB

View File

@ -1,30 +0,0 @@
{
config,
pkgs,
...
}: {
imports = [
./nix
];
home = {
enableNixpkgsReleaseCheck = false;
stateVersion = "24.11";
file = {
".wp/temple.png".source = ./raw/wp/temple.png;
".wp/skull_purple.png".source = ./raw/wp/skull_purple.png;
".wp/gruvbox-dark-blue.png".source = ./raw/wp/gruvbox-dark-blue.png;
".wp/anime_blue.png".source = ./raw/wp/anime_blue.png;
".wp/fuji.png".source = ./raw/wp/fuji.png;
".wp/orbit.png".source = ./raw/wp/orbit.png;
".wp/hollow_knight.png".source = ./raw/wp/hollow_knight.png;
".wp/ios.png".source = ./raw/wp/ios.png;
".wp/manga.png".source = ./raw/wp/manga.png;
".wp/bg.png".source = ./raw/wp/bg.png;
".wp/wolf.png".source = ./raw/wp/wolf.png;
".wp/nixos_dark.png".source = ./raw/wp/nixos_dark.png;
".wp/GABE_Windows.png".source = ./raw/wp/GABE_Windows.png;
".wp/skulls.png".source = ./raw/wp/skulls.png;
".wp/soyuz.png".source = ./raw/wp/soyuz.png;
};
};
}

View File

@ -1,10 +0,0 @@
{ config, pkgs, ... }:
{
programs = {
git = {
enable = true;
userName = "Sojus07";
userEmail = "Sojus07";
};
};
}

View File

@ -1,61 +0,0 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [
mpc
mpd-discord-rpc
mpv
];
services = {
mpd = {
enable = true;
musicDirectory = "/home/fabian/.music";
extraConfig = ''
audio_output {
type "pipewire"
name "Pipewire Output"
}
audio_output {
type "fifo"
name "Visualizer feed"
path "/tmp/mpd.fifo"
format "44100:16:2"
}
'';
};
};
programs = {
ncmpcpp = {
enable = true;
mpdMusicDir = "/home/fabian/.music";
bindings = [
];
settings = {
ncmpcpp_directory = "~/.ncmpcpp";
mpd_host = "localhost";
mpd_port = 6600;
header_window_color = "cyan";
progressbar_look = "";
visualizer_color = "cyan";
visualizer_look = "";
now_playing_prefix = "󰮯 ";
visualizer_type = "wave";
song_status_format = " $2%a $4$3 $8%t $4$3 $5%b ";
autocenter_mode = "yes";
centered_cursor = "yes";
display_bitrate = "no";
enable_window_title = "no";
follow_now_playing_lyrics = "yes";
ignore_leading_the = "yes";
empty_tag_marker = "";
visualizer_data_source = "/tmp/mpd.fifo";
visualizer_output_name = "my_fifo";
header_visibility = false;
statusbar_visibility = true;
titles_visibility = true;
};
};
};
}

View File

@ -1,54 +0,0 @@
{ config, pkgs, ... }:
{
programs = {
tmux = {
enable = true;
plugins = with pkgs; [
tmuxPlugins.net-speed
tmuxPlugins.cpu
tmuxPlugins.battery
tmuxPlugins.gruvbox
];
disableConfirmationPrompt = true;
mouse = true;
keyMode = "vi";
extraConfig = ''
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
bind \\ split-window -h
bind - split-window -v
unbind '"'
unbind %
bind t new-window
bind -n M-w previous-window
bind -n M-e next-window
bind r source-file ~/.config/tmux/tmux.conf
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
#setw -g window-status-current-format "[ #W ]"
#setw -g window-status-format "#W"
set-option -s status-interval 1
set -g status-right-length 100
set -g @net_speed_interfaces "wg0-mullvad"
set -g @download_speed_format "%1s"
set -g @upload_speed_format "%1s"
set -g @net_speed_format "D:%1s U:%1s"
set -g status-right '#{battery_icon} #{battery_percentage} [󰈀 #{net_speed}] [ #{cpu_percentage}] [ %H:%M] '
run-shell ${pkgs.tmuxPlugins.net-speed}/share/tmux-plugins/net-speed/net_speed.tmux
run-shell ${pkgs.tmuxPlugins.cpu}/share/tmux-plugins/cpu/cpu.tmux
run-shell ${pkgs.tmuxPlugins.battery}/share/tmux-plugins/battery/battery.tmux
set -g status-position top
#set-option -g status-style bg=default
'';
};
};
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 534 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 181 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 754 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 964 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 410 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 759 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 486 KiB