Compare commits
6 Commits
th3r00t-pa
...
working_br
| Author | SHA1 | Date | |
|---|---|---|---|
| ac5652f1ca | |||
| 7aa0e7334b | |||
| b566e93b18 | |||
| a906bcce3d | |||
| 16b1ad9724 | |||
| 8e9b4c3a66 |
@@ -13,6 +13,7 @@
|
|||||||
./modules/sops.nix
|
./modules/sops.nix
|
||||||
];
|
];
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
networking.hostName = "Titan"; # Define your hostname.
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot = {
|
boot = {
|
||||||
kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
@@ -120,8 +121,8 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
networking.firewall.allowedTCPPorts = [ 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 ];
|
networking.firewall.allowedUDPPorts = [ 21 22 80 443 5900 8080 8384];
|
||||||
# Or disable the firewall altogether.
|
# Or disable the firewall altogether.
|
||||||
# networking.firewall.enable = false;
|
# networking.firewall.enable = false;
|
||||||
|
|
||||||
|
|||||||
41
flake.lock
generated
41
flake.lock
generated
@@ -1,5 +1,23 @@
|
|||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
|
"disko": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1755519972,
|
||||||
|
"narHash": "sha256-bU4nqi3IpsUZJeyS8Jk85ytlX61i4b0KCxXX9YcOgVc=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "disko",
|
||||||
|
"rev": "4073ff2f481f9ef3501678ff479ed81402caae6d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "disko",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"flake-compat": {
|
"flake-compat": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
@@ -169,7 +187,7 @@
|
|||||||
"git-hooks": "git-hooks",
|
"git-hooks": "git-hooks",
|
||||||
"hercules-ci-effects": "hercules-ci-effects",
|
"hercules-ci-effects": "hercules-ci-effects",
|
||||||
"neovim-src": "neovim-src",
|
"neovim-src": "neovim-src",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"treefmt-nix": "treefmt-nix"
|
"treefmt-nix": "treefmt-nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
@@ -223,6 +241,22 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1752596105,
|
||||||
|
"narHash": "sha256-lFNVsu/mHLq3q11MuGkMhUUoSXEdQjCHvpReaGP1S2k=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "dab3a6e781554f965bde3def0aa2fda4eb8f1708",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixpkgs-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1755113249,
|
"lastModified": 1755113249,
|
||||||
"narHash": "sha256-/bIVS2iP5mixEQWsaiiJ7EGLtk5Id9OehWbmTbzN6kE=",
|
"narHash": "sha256-/bIVS2iP5mixEQWsaiiJ7EGLtk5Id9OehWbmTbzN6kE=",
|
||||||
@@ -238,7 +272,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1755078291,
|
"lastModified": 1755078291,
|
||||||
"narHash": "sha256-Hu/gTDoi4uy6TAKISPHQusSMy8U6xUbLSDjKBYdhDIY=",
|
"narHash": "sha256-Hu/gTDoi4uy6TAKISPHQusSMy8U6xUbLSDjKBYdhDIY=",
|
||||||
@@ -256,10 +290,11 @@
|
|||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"disko": "disko",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"neovim-nightly-overlay": "neovim-nightly-overlay",
|
"neovim-nightly-overlay": "neovim-nightly-overlay",
|
||||||
"nix-index-database": "nix-index-database",
|
"nix-index-database": "nix-index-database",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_3",
|
||||||
"sops-nix": "sops-nix"
|
"sops-nix": "sops-nix"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
nixosConfigurations.server = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.Titan = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = { inherit overlays; };
|
specialArgs = { inherit overlays; };
|
||||||
modules = [
|
modules = [
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ ];
|
boot.kernelModules = [ ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
networking.hostName = "Titan"; # Define your hostname.
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# 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
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
|||||||
@@ -38,67 +38,6 @@
|
|||||||
PLATFORMTHEME = "kde";
|
PLATFORMTHEME = "kde";
|
||||||
};
|
};
|
||||||
home.packages = with pkgs; [
|
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";
|
home.stateVersion = "25.05";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -53,85 +53,23 @@
|
|||||||
PLATFORMTHEME = "kde";
|
PLATFORMTHEME = "kde";
|
||||||
};
|
};
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
autossh
|
|
||||||
mesa-demos
|
mesa-demos
|
||||||
bluez
|
bluez
|
||||||
bluez-tools
|
bluez-tools
|
||||||
bluez-alsa
|
bluez-alsa
|
||||||
fastfetch
|
|
||||||
ranger
|
|
||||||
kdePackages.dolphin
|
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
|
gimp
|
||||||
lua-language-server
|
|
||||||
go
|
|
||||||
nodejs
|
|
||||||
uv
|
|
||||||
readline
|
|
||||||
cachix
|
|
||||||
sqlite
|
|
||||||
rofi
|
rofi
|
||||||
qutebrowser
|
qutebrowser
|
||||||
foot
|
foot
|
||||||
vifm-full
|
|
||||||
ranger
|
|
||||||
zoxide
|
|
||||||
hyprsysteminfo
|
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
|
dosbox-x
|
||||||
lazygit
|
|
||||||
wofi
|
wofi
|
||||||
qutebrowser
|
qutebrowser
|
||||||
waybar
|
waybar
|
||||||
uwsm
|
uwsm
|
||||||
gopls
|
|
||||||
pyright
|
|
||||||
ncurses
|
|
||||||
rustup
|
|
||||||
wayvnc
|
|
||||||
power-profiles-daemon
|
power-profiles-daemon
|
||||||
wpa_supplicant_gui
|
wpa_supplicant_gui
|
||||||
gvfs
|
|
||||||
];
|
];
|
||||||
programs.wofi = {
|
programs.wofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -3,6 +3,71 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
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 = [
|
programs.neovim.plugins = [
|
||||||
pkgs.vimPlugins.nvim-treesitter.withAllGrammars
|
pkgs.vimPlugins.nvim-treesitter.withAllGrammars
|
||||||
@@ -12,6 +77,7 @@
|
|||||||
};
|
};
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
guiAddress = "0.0.0.0:8384";
|
||||||
};
|
};
|
||||||
programs.ranger = {
|
programs.ranger = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -90,24 +156,26 @@
|
|||||||
tmuxPlugins.vim-tmux-navigator
|
tmuxPlugins.vim-tmux-navigator
|
||||||
tmuxPlugins.vim-tmux-focus-events
|
tmuxPlugins.vim-tmux-focus-events
|
||||||
tmuxPlugins.urlview
|
tmuxPlugins.urlview
|
||||||
|
tmuxPlugins.tmux-fzf
|
||||||
{
|
{
|
||||||
plugin = tmuxPlugins.tokyo-night-tmux;
|
plugin = tmuxPlugins.tokyo-night-tmux;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
set -g @tokyo-night-tmux_window_id_style digital
|
set -g @tokyo-night-tmux_window_id_style digital
|
||||||
set -g @tokyo-night-tmux_pane_id_style hsquare
|
set -g @tokyo-night-tmux_pane_id_style hsquare
|
||||||
set -g @tokyo-night-tmux_zoom_id_style dsquare
|
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_show_path 1
|
||||||
set -g @tokyo-night-tmux_path_format relative # 'relative' or 'full'
|
set -g @tokyo-night-tmux_path_format relative # 'relative' or 'full'
|
||||||
set -g @tokyo-night-tmux_show_battery_widget 1
|
if-shell "[[ $(hostname) = 'xps13' ]]" {
|
||||||
set -g @tokyo-night-tmux_battery_name "BAT0" # some linux distro have 'BAT0'
|
set -g @tokyo-night-tmux_show_netspeed 1
|
||||||
set -g @tokyo-night-tmux_battery_low_threshold 21 # default
|
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;
|
# plugin = tmuxPlugins.tilish;
|
||||||
# extraConfig = ''
|
# extraConfig = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user