3 Commits

Author SHA1 Message Date
18702a675b revert be99293472
revert Added configuration-common.nix
2025-08-21 12:17:40 -04:00
be99293472 Added configuration-common.nix 2025-08-21 11:34:23 -04:00
f63f0f897a Added server partitoning layout 2025-08-21 11:09:41 -04:00
7 changed files with 135 additions and 82 deletions

View File

@@ -13,7 +13,6 @@
./modules/sops.nix
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
networking.hostName = "Titan"; # Define your hostname.
# Bootloader.
boot = {
kernelPackages = pkgs.linuxPackages_latest;
@@ -121,8 +120,8 @@
];
# Open ports in the firewall.
networking.firewall.allowedTCPPorts = [ 21 22 80 443 5900 8080 8384];
networking.firewall.allowedUDPPorts = [ 21 22 80 443 5900 8080 8384];
networking.firewall.allowedTCPPorts = [ 21 22 80 443 5900 8080 ];
networking.firewall.allowedUDPPorts = [ 21 22 80 443 5900 8080 ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;

View File

@@ -51,7 +51,7 @@
}
];
};
nixosConfigurations.Titan = nixpkgs.lib.nixosSystem {
nixosConfigurations.server = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit overlays; };
modules = [

View File

@@ -12,7 +12,6 @@
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

View File

@@ -38,6 +38,67 @@
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";
}

View File

@@ -53,23 +53,85 @@
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
];
programs.wofi = {
enable = true;

View File

@@ -3,71 +3,6 @@
{
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
]
)
)
neovim
zig
nodejs
go
syncthing
lazygit
gopls
pyright
ncurses
rustup
wayvnc
gvfs
];
programs.neovim.plugins = [
pkgs.vimPlugins.nvim-treesitter.withAllGrammars
@@ -77,7 +12,6 @@
};
services.syncthing = {
enable = true;
guiAddress = "0.0.0.0:8384";
};
programs.ranger = {
enable = true;
@@ -156,26 +90,24 @@
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'
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
}
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
'';
}
tmuxPlugins.tmux-fzf
# {
# plugin = tmuxPlugins.tilish;
# extraConfig = ''

View File

@@ -3,7 +3,7 @@
disk = {
main = {
type = "disk";
device = "/dev/disk/by-diskseq/1";
device = "/dev/sda";
content = {
type = "gpt";
partitions = {