Compare commits
No commits in common. "755ec04d04bdc9b47a6c7c7a73111b7d125efe69" and "3a1bfec41b7f0a4dcb564f41cf6235033f561d33" have entirely different histories.
755ec04d04
...
3a1bfec41b
2 changed files with 4 additions and 28 deletions
|
|
@ -6,8 +6,7 @@
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.systemd-boot.configurationLimit = 3;
|
boot.loader.systemd-boot.configurationLimit = 3;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
boot.loader.timeout = 1;
|
boot.loader.timeout = 0;
|
||||||
boot.loader.systemd-boot.consoleMode = "max";
|
|
||||||
|
|
||||||
networking.hostName = "framework";
|
networking.hostName = "framework";
|
||||||
|
|
||||||
|
|
@ -143,10 +142,8 @@
|
||||||
|
|
||||||
# Enable periodic TRIM for NVMe/SSD health
|
# Enable periodic TRIM for NVMe/SSD health
|
||||||
services.fstrim.enable = true;
|
services.fstrim.enable = true;
|
||||||
services.irqbalance.enable = true;
|
|
||||||
services.earlyoom.enable = true;
|
|
||||||
|
|
||||||
# Keep only last 3 generations, GC everything else (daily)
|
# Keep only last 10 generations, GC everything else (daily)
|
||||||
systemd.services.nix-cleanup = {
|
systemd.services.nix-cleanup = {
|
||||||
description = "Nix generation cleanup and garbage collection";
|
description = "Nix generation cleanup and garbage collection";
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
|
|
@ -207,9 +204,6 @@
|
||||||
"vm.vfs_cache_pressure" = 50; # Keep more filesystem cache in RAM
|
"vm.vfs_cache_pressure" = 50; # Keep more filesystem cache in RAM
|
||||||
"vm.dirty_ratio" = 15; # Write to disk when 15% of RAM is dirty
|
"vm.dirty_ratio" = 15; # Write to disk when 15% of RAM is dirty
|
||||||
"vm.dirty_background_ratio" = 5; # Start writing when 5% dirty
|
"vm.dirty_background_ratio" = 5; # Start writing when 5% dirty
|
||||||
"kernel.nmi_watchdog" = 0;
|
|
||||||
"net.core.default_qdisc" = "fq";
|
|
||||||
"net.ipv4.tcp_congestion_control" = "bbr";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Use RAM disk (tmpfs) for temporary files - much faster than disk
|
# Use RAM disk (tmpfs) for temporary files - much faster than disk
|
||||||
|
|
|
||||||
22
home.nix
22
home.nix
|
|
@ -66,18 +66,13 @@
|
||||||
# CLI
|
# CLI
|
||||||
bat
|
bat
|
||||||
claude-code
|
claude-code
|
||||||
fd
|
|
||||||
btop
|
|
||||||
fastfetch
|
fastfetch
|
||||||
gh
|
gh
|
||||||
hyfetch
|
hyfetch
|
||||||
jq
|
|
||||||
mkp224o
|
mkp224o
|
||||||
nixfmt
|
nixfmt
|
||||||
difftastic
|
|
||||||
ripgrep
|
ripgrep
|
||||||
tea
|
tea
|
||||||
trash-cli
|
|
||||||
tree
|
tree
|
||||||
unzip
|
unzip
|
||||||
|
|
||||||
|
|
@ -150,11 +145,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.starship = {
|
|
||||||
enable = true;
|
|
||||||
enableBashIntegration = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.zellij = {
|
programs.zellij = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
|
|
@ -187,11 +177,6 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.fzf = {
|
|
||||||
enable = true;
|
|
||||||
enableBashIntegration = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.zoxide = {
|
programs.zoxide = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
|
|
@ -205,7 +190,6 @@
|
||||||
|
|
||||||
programs.bash = {
|
programs.bash = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableCompletion = true;
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
"dr" = "direnv reload";
|
"dr" = "direnv reload";
|
||||||
"da" = "direnv allow";
|
"da" = "direnv allow";
|
||||||
|
|
@ -228,7 +212,6 @@
|
||||||
jdiff = "jj diff";
|
jdiff = "jj diff";
|
||||||
jsq = "jj squash";
|
jsq = "jj squash";
|
||||||
h = "hx";
|
h = "hx";
|
||||||
t = "trash";
|
|
||||||
vanity = "mkp224o-amd64-64-24k -d noisebridgevanitytor noisebridge{2..7}";
|
vanity = "mkp224o-amd64-64-24k -d noisebridgevanitytor noisebridge{2..7}";
|
||||||
};
|
};
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
|
|
@ -267,8 +250,8 @@
|
||||||
settings = {
|
settings = {
|
||||||
remotes.origin.auto-track-bookmarks = "glob:*";
|
remotes.origin.auto-track-bookmarks = "glob:*";
|
||||||
user = {
|
user = {
|
||||||
email = "jet@extremist.software";
|
email = "jetthomaspham@gmail.com";
|
||||||
name = "Jet";
|
name = "Jet Pham";
|
||||||
};
|
};
|
||||||
|
|
||||||
signing = {
|
signing = {
|
||||||
|
|
@ -285,7 +268,6 @@
|
||||||
editor = "hx";
|
editor = "hx";
|
||||||
pager = "bat --style=plain";
|
pager = "bat --style=plain";
|
||||||
};
|
};
|
||||||
diff.tool = [ "difft" "--color=always" "$left" "$right" ];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue