Compare commits
8 Commits
9ac155a7e2
...
2e2d7f679b
| Author | SHA1 | Date | |
|---|---|---|---|
| 2e2d7f679b | |||
| e31d00c7bf | |||
| ac5652f1ca | |||
| 7aa0e7334b | |||
| b566e93b18 | |||
| a906bcce3d | |||
| 16b1ad9724 | |||
| 8e9b4c3a66 |
@@ -12,6 +12,8 @@
|
||||
./modules/configuration-common.nix
|
||||
];
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
nix.settings.trusted-users = [ "root" "th3r00t" ];
|
||||
networking.hostName = "Titan"; # Define your hostname.
|
||||
# Bootloader.
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
@@ -119,8 +121,8 @@
|
||||
];
|
||||
|
||||
# Open ports in the firewall.
|
||||
networking.firewall.allowedTCPPorts = [ 21 22 80 443 5900 8080 ];
|
||||
networking.firewall.allowedUDPPorts = [ 21 22 80 443 5900 8080 ];
|
||||
networking.firewall.allowedTCPPorts = [ 21 22 80 443 5900 8080 8384];
|
||||
networking.firewall.allowedUDPPorts = [ 21 22 80 443 5900 8080 8384];
|
||||
# Or disable the firewall altogether.
|
||||
# networking.firewall.enable = false;
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
}
|
||||
];
|
||||
};
|
||||
nixosConfigurations.server = nixpkgs.lib.nixosSystem {
|
||||
nixosConfigurations.Titan = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit overlays; };
|
||||
modules = [
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ ];
|
||||
boot.extraModulePackages = [ ];
|
||||
networking.hostName = "Titan"; # Define your hostname.
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
|
||||
@@ -38,67 +38,6 @@
|
||||
PLATFORMTHEME = "kde";
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
autossh
|
||||
fastfetch
|
||||
ranger
|
||||
zip
|
||||
unzip
|
||||
xz
|
||||
p7zip
|
||||
ripgrep
|
||||
jq
|
||||
ripgrep
|
||||
eza
|
||||
fzf
|
||||
tmux
|
||||
cowsay
|
||||
lolcat
|
||||
fortune
|
||||
gnused
|
||||
gnutar
|
||||
gnupg
|
||||
hugo
|
||||
bat
|
||||
which
|
||||
nix-output-monitor
|
||||
devenv
|
||||
irssi
|
||||
luarocks
|
||||
lua5_1
|
||||
lua-language-server
|
||||
go
|
||||
nodejs
|
||||
uv
|
||||
readline
|
||||
cachix
|
||||
sqlite
|
||||
vifm-full
|
||||
ranger
|
||||
zoxide
|
||||
(
|
||||
python313.withPackages (
|
||||
python-pkgs:
|
||||
[
|
||||
python-pkgs.prompt_toolkit
|
||||
python-pkgs.pygments
|
||||
python-pkgs.pynvim
|
||||
python-pkgs.pudb
|
||||
python-pkgs.ptpython
|
||||
python-pkgs.ipython
|
||||
]
|
||||
)
|
||||
)
|
||||
neovim
|
||||
zig
|
||||
syncthing
|
||||
lazygit
|
||||
wofi
|
||||
gopls
|
||||
pyright
|
||||
ncurses
|
||||
rustup
|
||||
wayvnc
|
||||
gvfs
|
||||
];
|
||||
home.stateVersion = "25.05";
|
||||
}
|
||||
|
||||
@@ -53,82 +53,21 @@
|
||||
PLATFORMTHEME = "kde";
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
autossh
|
||||
mesa-demos
|
||||
bluez
|
||||
bluez-tools
|
||||
bluez-alsa
|
||||
fastfetch
|
||||
ranger
|
||||
kdePackages.dolphin
|
||||
zip
|
||||
unzip
|
||||
xz
|
||||
p7zip
|
||||
ripgrep
|
||||
jq
|
||||
ripgrep
|
||||
eza
|
||||
fzf
|
||||
tmux
|
||||
cowsay
|
||||
lolcat
|
||||
fortune
|
||||
gnused
|
||||
gnutar
|
||||
gnupg
|
||||
hugo
|
||||
bat
|
||||
which
|
||||
nix-output-monitor
|
||||
devenv
|
||||
irssi
|
||||
luarocks
|
||||
lua5_1
|
||||
gimp
|
||||
lua-language-server
|
||||
go
|
||||
nodejs
|
||||
uv
|
||||
readline
|
||||
cachix
|
||||
sqlite
|
||||
rofi
|
||||
qutebrowser
|
||||
foot
|
||||
vifm-full
|
||||
ranger
|
||||
zoxide
|
||||
hyprsysteminfo
|
||||
(
|
||||
python313.withPackages (
|
||||
python-pkgs:
|
||||
[
|
||||
python-pkgs.prompt_toolkit
|
||||
python-pkgs.pygments
|
||||
python-pkgs.pynvim
|
||||
python-pkgs.pudb
|
||||
python-pkgs.ptpython
|
||||
python-pkgs.ipython
|
||||
]
|
||||
)
|
||||
)
|
||||
neovim
|
||||
zig
|
||||
nodejs
|
||||
go
|
||||
syncthing
|
||||
dosbox-x
|
||||
lazygit
|
||||
wofi
|
||||
qutebrowser
|
||||
waybar
|
||||
uwsm
|
||||
gopls
|
||||
pyright
|
||||
ncurses
|
||||
rustup
|
||||
wayvnc
|
||||
power-profiles-daemon
|
||||
wpa_supplicant_gui
|
||||
gvfs
|
||||
|
||||
Binary file not shown.
@@ -3,6 +3,72 @@
|
||||
{
|
||||
imports = [
|
||||
];
|
||||
home.packages = with pkgs; [
|
||||
autossh
|
||||
fastfetch
|
||||
ranger
|
||||
zip
|
||||
unzip
|
||||
xz
|
||||
p7zip
|
||||
ripgrep
|
||||
jq
|
||||
ripgrep
|
||||
eza
|
||||
fzf
|
||||
tmux
|
||||
cowsay
|
||||
lolcat
|
||||
fortune
|
||||
gnused
|
||||
gnutar
|
||||
gnupg
|
||||
hugo
|
||||
bat
|
||||
which
|
||||
nix-output-monitor
|
||||
devenv
|
||||
direnv
|
||||
irssi
|
||||
luarocks
|
||||
lua5_1
|
||||
lua-language-server
|
||||
go
|
||||
nodejs
|
||||
uv
|
||||
readline
|
||||
cachix
|
||||
sqlite
|
||||
vifm-full
|
||||
ranger
|
||||
zoxide
|
||||
(
|
||||
python313.withPackages (
|
||||
python-pkgs:
|
||||
[
|
||||
python-pkgs.prompt_toolkit
|
||||
python-pkgs.pygments
|
||||
python-pkgs.pynvim
|
||||
python-pkgs.pudb
|
||||
python-pkgs.ptpython
|
||||
python-pkgs.ipython
|
||||
]
|
||||
)
|
||||
)
|
||||
pyenv
|
||||
neovim
|
||||
zig
|
||||
nodejs
|
||||
go
|
||||
syncthing
|
||||
lazygit
|
||||
gopls
|
||||
pyright
|
||||
ncurses
|
||||
rustup
|
||||
wayvnc
|
||||
gvfs
|
||||
];
|
||||
|
||||
programs.neovim.plugins = [
|
||||
pkgs.vimPlugins.nvim-treesitter.withAllGrammars
|
||||
@@ -12,6 +78,7 @@
|
||||
};
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
guiAddress = "0.0.0.0:8384";
|
||||
};
|
||||
programs.ranger = {
|
||||
enable = true;
|
||||
@@ -90,24 +157,26 @@
|
||||
tmuxPlugins.vim-tmux-navigator
|
||||
tmuxPlugins.vim-tmux-focus-events
|
||||
tmuxPlugins.urlview
|
||||
tmuxPlugins.tmux-fzf
|
||||
{
|
||||
plugin = tmuxPlugins.tokyo-night-tmux;
|
||||
extraConfig = ''
|
||||
set -g @tokyo-night-tmux_window_id_style digital
|
||||
set -g @tokyo-night-tmux_pane_id_style hsquare
|
||||
set -g @tokyo-night-tmux_zoom_id_style dsquare
|
||||
set -g @tokyo-night-tmux_show_netspeed 1
|
||||
set -g @tokyo-night-tmux_netspeed_iface "wlp2s0" # Detected via default route
|
||||
set -g @tokyo-night-tmux_netspeed_showip 1 # Display IPv4 address (default 0)
|
||||
set -g @tokyo-night-tmux_netspeed_refresh 1 # Update interval in seconds (default 1)
|
||||
set -g @tokyo-night-tmux_show_path 1
|
||||
set -g @tokyo-night-tmux_path_format relative # 'relative' or 'full'
|
||||
set -g @tokyo-night-tmux_show_battery_widget 1
|
||||
set -g @tokyo-night-tmux_battery_name "BAT0" # some linux distro have 'BAT0'
|
||||
set -g @tokyo-night-tmux_battery_low_threshold 21 # default
|
||||
if-shell "[[ $(hostname) = 'xps13' ]]" {
|
||||
set -g @tokyo-night-tmux_show_netspeed 1
|
||||
set -g @tokyo-night-tmux_netspeed_iface 'wlp2s0'
|
||||
set -g @tokyo-night-tmux_netspeed_showip 1
|
||||
set -g @tokyo-night-tmux_netspeed_refresh 1
|
||||
set -g @tokyo-night-tmux_show_battery_widget 1
|
||||
set -g @tokyo-night-tmux_battery_name "BAT0"
|
||||
set -g @tokyo-night-tmux_battery_low_threshold 21
|
||||
}
|
||||
'';
|
||||
}
|
||||
tmuxPlugins.tmux-fzf
|
||||
# {
|
||||
# plugin = tmuxPlugins.tilish;
|
||||
# extraConfig = ''
|
||||
@@ -125,11 +194,18 @@
|
||||
# terminal = "xterm-kitty:RGB";
|
||||
tmuxinator.enable = true;
|
||||
extraConfig = ''
|
||||
if-shell "[[ $(hostname) = 'xps13' ]]" {
|
||||
set-option -as terminal-features 'foot:RGB'
|
||||
}
|
||||
if-shell "[[ $(hostname) = 'Titan' ]]" {
|
||||
set-option -as terminal-features 'xterm-256color:RGB'
|
||||
set -g default-terminal "tmux-256color"
|
||||
set -g terminal-overrides ",xterm-256color:RGB"
|
||||
}
|
||||
set-option -g update-environment "DISPLAY XAUTHORITY WAYLAND_DISPLAY XDG_RUNTIME_DIR HYPRLAND_INSTANCE_SIGNATURE"
|
||||
set -g focus-events on
|
||||
set -g escape-time 3
|
||||
set-option -g status-position top
|
||||
set-option -as terminal-features 'foot:RGB'
|
||||
set -g default-terminal 'tmux-256color'
|
||||
bind-key b choose-tree -Z "run-shell 'tmux swap-pane -s %%'"
|
||||
# bind C-p display-popup -E -w 60% -h 70% 'tmuxsessions.sh'
|
||||
@@ -139,6 +215,7 @@
|
||||
# bind C-c display-popup -E -w 50% -h 50% 'nvim +":cd ~/org" ~/org/refile.norg'
|
||||
# bind C-c display-popup -E -w 50% -h 50% 'nvim +"VimwikiIndex"
|
||||
bind C-c display-popup -E -w 60% -h 60% "pytui -n"
|
||||
bind C-m display-popup -E -w 60% -h 60% "pytui -m"
|
||||
# bind C-w display-popup -E -w 40% -h 60% "pytui -D"
|
||||
|
||||
bind C-o display-popup -E -w 50% -h 50% 'igrep ~/wiki/notes'
|
||||
|
||||
Reference in New Issue
Block a user